39,316 Topics

Member Avatar for
Member Avatar for Hummdis

I've been writing PHP for about two years now, nothing complex, mostly just HTML form processing scripts. My latest project for a customer has over 40 items in the form. It's a dynamic form using some JavaScript and PHP that displays certain parts of the form based on other options …

Member Avatar for Hummdis
0
176
Member Avatar for whitestream6

This is the echo code from my site: [CODE] <?php $url1 = "http://www.canadiandriver.com"; $url2 = "http://www.chevrolet.com.br"; $autoguide = "Autoweekly"; $autoguide1 = /"<b>"<a href=\"$url1\buyers-guide/2010/volkswagen/passat.php"\>New car of the day</a>"/</b>"; ?> [/CODE] Yet it produces a T_STRING error, and I can't work out how to fix it. The other variables work fine, $autoguide1 …

Member Avatar for SKANK!!!!!
0
229
Member Avatar for phouse512

Hello, I'm a pretty basic php user, and I'm wondering how someone would go about implementing a message system into a website with different users. It doesn't have to be anything specific, I'm just wondering about the basic design of it. Thanks

Member Avatar for SKANK!!!!!
-1
135
Member Avatar for ezb

I am currently building an online system, it has come to the point to think about securing peoples passwords. How ever, for admin reasons I was wondering if it was possible to decode the encoded password, I believe this is not possible with md5 but hoping there is another method? …

Member Avatar for digital-ether
0
747
Member Avatar for lcyew

Hi all. I have two date input fields. Is there any way to restrict date input from only date picker (users are not allowed to input date through keyboard). The reason I want it this way is to prevent users from entering invalid dates. Any help provided is greatly appreciated. …

Member Avatar for venkat0904
0
81
Member Avatar for f3dor4core

how to refresh page one time only? if i using <meta http-equiv=refresh content=\"0;URL=\".... it keep on refresh every according as what in the content was set. wat i want is.. it only refresh one time only before the page was loaded. can anybody help me? thanks :?:

Member Avatar for monstruo
0
10K
Member Avatar for wayz1229

i'm having problem with survey script and voting function. can anyone please help me out.. the script only accept the last question's answer and update the database = acount+1. script to dislay survey: [CODE] <?php echo "<form action='vote.php' method=post> <table width='300' border='0' cellspacing='0' cellpadding='0' align='center'>"; $query1 = "SELECT * FROM …

0
87
Member Avatar for infernojmd

Im trying to use session variables to save the puzzle key, and than open a new file that prints it out, but it gives me Notice: Undefined index: puzzleName in C:\Apache2.2\htdocs\users\jmdrenning0\wordfind\wordfindkey2.php on line 13 i have no idea what it means, any help please. wordfind.php [CODE] function printPuzzle(){ //print puzzle …

Member Avatar for infernojmd
0
142
Member Avatar for web3

is there any way that php can show a person's webcam and their voice?

Member Avatar for diafol
0
41
Member Avatar for daryll1

I am writing a PHP registration form but when i view my page i cannot see the form, any ideas all my code is below. i have noticed that if i remove the [CODE]print '<h1> Please Register To Continue </h1>'; print '<style type="text/" media="screen> .error { color: red; } </style>';[/CODE] …

Member Avatar for daryll1
0
157
Member Avatar for web3

I am making a forum and i was wondering how trough PHP make a HTML page off that topic when the user creates it.

Member Avatar for diafol
0
87
Member Avatar for Kparas

Hi All, I am working on a website in which paypal is working very well. But when paypal complete the transaction it sends some "Inavalid or Bad order" Like this type of mail . Means customer is getting such a mail I am showing here: [QUOTE]Subject: [Wed Nov 4 9:27:48 …

Member Avatar for chrishea
0
226
Member Avatar for gptArun

hi there, How to fix this ? i got below message when activating plugin from wp-admin Plugin could not be activated because it triggered a fatal error. Fatal error: Out of memory (allocated 15990784) (tried to allocate 77824 bytes) in …. plugins/wp-e-commerce/wpsc-admin/display-groups.page.php on line 187 I found below code at …

Member Avatar for gptArun
0
129
Member Avatar for muralibobby2015

we have two radio buttons with same name. when we check radiobutton no.of imagefile boxes appear. for example i have two radio buttons. if i check 1 radio button appear 5 image upload fields. now selects another radio button selects then appear only 10 image upload field. anybody help.

Member Avatar for diafol
0
128
Member Avatar for Stefano Mtangoo

Hi all, after thinking for sometimes, I thought it will be grat opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting the progress and I hope you guys will help me. The code below is …

Member Avatar for Stefano Mtangoo
0
423
Member Avatar for pankaj_sengar
Member Avatar for imhunk

Hi every one, i m in a bit trouble as i have bought a new .co.cc domain name ,but not able to upload my files on that .can anyone tell me how to upload file on that and how to use use phpmyadmin.do i require ftp tool.

Member Avatar for Atli
0
106
Member Avatar for ahmksssv

hi frnd... i want to remove/disable ADDRESS BAR from the new pop up window... now i m using this code....its working only for IE6..... [CODE]window.open(url ,'title', 'location=1,menubar=no,resizable=no,scrollbars=no,status=no ,toolbar=no,width=300,height=200')[/CODE] Also i want to remove expand button in browser...plz tell me how can i do it... Thanks in advance...

Member Avatar for Atli
0
986
Member Avatar for ahmksssv

Hi, now i m working for musical website... here my problem is how can i create a playlist and how to pass the selected songs to my player.... i dont have any idea regarding this.. plz give me JAVASCRIPT, php code ... plz give me some suggestions...sorry for asking code..but …

Member Avatar for ahmksssv
0
209
Member Avatar for sanjaypandit

hi friends, again a problem I have a mysql table name tbl_admin fields are below id(int), image1(text), image2 (text) , image3 (text) now i want to show these pics, i use randomly function to display them [code=php] $query=select * from tbl_admin where id=5; $result=mysql_query($query); $row=mysql_fetch_array($result) [/code] now for show i …

Member Avatar for network18
0
552
Member Avatar for Millsy013

[code=php]//create and issue the first query $add_topic_sql = "INSERT INTO forum_topics (topic_title, topic_create_time, topic_owner) VALUES ('$_POST[topic_title]',now(),'$_POST[topic_owner]')"; $add_topic_res = mysql_query($conn, $add_topic_sql) or die(mysql_error($conn)); //get the id of the last query $topic_id = mysql_insert_id($mysql);[/code]

Member Avatar for network18
0
83
Member Avatar for valonesal

Ok so I wrote a little script that allows me to call information from my database. Basicly this. <table> <tr> <td id="seal"><?php include("sql.php"); echo "$websiteaddress"; ?></td></tr> </table> All this does is connects to the sql file echoing the users website address thus I type in mywebsite.com/index.php?name=aname and it returns their …

Member Avatar for Hummdis
0
111
Member Avatar for manishmannan

Hello Friends I am new to PHP can any one help me i am facing one problem whenever i am working on local host my delete command is working without problem but whenever i am uploading this file on internet through FTP the command not deleting any records Every one …

Member Avatar for manishmannan
0
268
Member Avatar for niche1

This script works with require_once and produces warnings for line 6 when I try to use $mysqli = new... (which I've commented out). Please help me with this script: [codebox]<?php require_once "connect_to_mysql.php"; //$mysqli = new mysqli("localhost","user","pw","db"); $result = mysql_query("SELECT * FROM example") or die(mysql_error()); echo "<table border='1'>"; echo "<tr> <th>Name</th> …

Member Avatar for kvprajapati
0
450
Member Avatar for sen1978

<?php session_start(); //Check User Session include ("includes/check_session.php"); include 'includes/config.php'; $current_module = 'MATERIALREQ'; //$related_modules = array('BIDDINGENTRY','PIRRAISING','POLIST','BIDDINGSELECTION','GRV'); include ('includes/check_acl.php'); //include 'includes/config.php'; include 'includes/sqlquery.php'; include 'includes/message.php'; $valid = ''; $current_user_id = $_SESSION['associate_id']; //if the session value is present, set whether the last transaction is stored or not if (isset($_SESSION['mrmsg']) && ($_SESSION['mrmsg']!='')) { $valid …

-1
74
Member Avatar for valonesal

I have images I would like to serve that will need individual information posted on them. Just a word or two. The information will be pulled from our database. The text will depend on the url that is entered. We tried just a simple echo but when you view just …

Member Avatar for valonesal
0
112
Member Avatar for dwdata

I am generating a PHP error with this function but don't know why. Little help... [CODE] function Validate_Page_Nav($LastPage, $ErrorPage) { if($_SESSION['Staff_ID']) { $trimmed = str_replace($staffroot, '', $_SERVER['SCRIPT_NAME']); $resul = $db->query("SELECT * FROM Page_Access WHERE URI = '$trimmed'") or die("failed to get access data"); $page_access = $resul->fetch_assoc(); $URI_access = explode(",", $page_access['User_Level']); …

Member Avatar for darkagn
0
101
Member Avatar for Chosen13

[CODE]<?php if(isset($_POST['register'])) { $username = $_POST["username"]; $password = $_POST["password"]; $email = $_POST["email"]; $conf_pass = $_POST["confirm"]; $error = false; $connect = mysql_connect("localhost", "stickmi1_data", "electricCompany"); $database = mysql_select_db("account", $connect); $usernameCheck = mysql_query("SELECT username FROM users WHERE username = '$username'"); // Registration Form Validation Script if(!$username || !$password || !$email || !$conf_pass) { …

Member Avatar for Will Gresham
-3
87
Member Avatar for rokape

Hi, I have a piece of code below: [code=php] // Check our data if (preg_match('/[^a-zA-Z0-9]/', $new_pagealias)) $error = "Invalid page alias. Use only normal characters."; if (preg_match('/[^a-zA-Z0-9]/', $new_pagekeywords)) $error = "Invalid page keywords. Use only normal characters."; if (!$new_pagealias) $error = "Page alias is missing"; if (!$new_pagename) $error = "Page …

Member Avatar for Will Gresham
0
164
Member Avatar for muralibobby2015

i have to crop images. but i have code to crop images. but .png files are not cropping that code. i have to crop .png image files. plz any one help me.

Member Avatar for venkat0904
-1
140

The End.