39,402 Topics
![]() | |
Hello, I found this site while working on backlinks for my own site, and I must say I am impressed. Like it and might surely stay for a while. I am a webdevelloper working mainly with php and mysql, but I can do a lot more thankfully. I am building … | |
Hi Everyone I'm fairly new to PHP and struggling a bit. I'm trying to delete some records from MySQL via php and checkboxes my code is below if anyone can help me. Thanks in advance [PHP] <?php include("config.php"); include("contentdb.php"); $id= $_POST["id"]; $question= $_POST["question"]; $opt1= $_POST["opt1"]; $opt2= $_POST["opt2"]; $opt3= $_POST["opt3"]; $answer= … | |
Hi has anyone used the Gpix Pixel site ? if so does any one know which files i edit to change the header banner ? | |
hi, i'm trying to execute some c++ code from the php script in my webpage, but its not working. the best i could find was the php code below. [code=php] $output = shell_exec('ls -lart program.exe'); echo "<pre>$output</pre>"; [/code] here is the code of program.exe (codewarrior created program.exe from this code) … | |
Hello First sorry if there is to much code in this example. I am new to working with multi page forms. I have a search form that gets preloaded info from the database. There are 3 scripts (a html page, a preload script and a process script). There is a … | |
I have recently become addicted by the many text based games build with PHP and am looking to make one myself. I know HTML, JavaScript, CSS, and basic PHP, but need help in how i would go about making a server from my computer, and then creating a game that … | |
Hello, I brought a cgi script to start one of my website but don't know how to install that. I uploaded the script to the cgi-bin folder and tgen tried to execute but it was not working. U can have a look at solutionshall (dot) com So anyone help me … | |
hello All I am pretty stuck and would like any help or assiatance I am creating a web page with 2 fields First field would be a username Second field would be a user_id I want the user to be able to enter their username So for example "stephen" I … ![]() | |
PHP Parse error: parse error, unexpected $end in C:\test\kelly.php on line 118 <?php function AddItem($itemId, $qty){ $db=new mysqli('localhost','root','','test'); $db->select_db('test'); $query="select count(*) from cart where cookieId = '" . GetCartId() . "' and itemId = $itemId"; $result=$db->query($query); $row =$result->fetch_assoc(); $numRows = $row[0]; if($numRows == 0) { // This item doesn't exist … | |
Hi every body.. i have some problem,, problem is that i want to make a prepaid customer pages.. like that a customer enter an activation code & access code, mysql verify it(if data exists in database).That the code are matched and then go to next page named as registration page … | |
hi, In my new project i have to deal with php,xml and flash. here r the details. 1.i have to store a flash movie in the database. 2.on a mouseclick over a certain photo the flash movie should start playing.(these datas r stored in the database) 3.requirement is that xml … | |
hai, i am new to php.i want to use the mailing date of sender as the reference. for example if any one send amail on 24/12/2006 then in the reply mail to him ishoul add a reference line as follows. ref:this is in response to your mail dated 24/12/2006....... how … | |
1)Error display in cart.php page: PHP Notice: Undefined offset: 0 in C:\test\kelly.php on line 16 PHP Notice: Undefined variable: totalCost in C:\test\kelly.php on line 61 2)Error show when i try to remove item form cart: PHP Notice: Undefined variable: db in C:\test\kelly.php on line 43 PHP Fatal error: Call to … | |
I need a way to setup my websites so that my clients can edit content easily without knowing any programming languages. Basically I need setup the page with some programming code that will access another file such as a text file and still keep the same formatting style. For example … | |
I've installed wamp and everything runs good. However, when I try to edit one of the .php files and debug it, I get a parse error of unexpected T_STRING. I am so completely lost trying to do this. Please help a gamer out! Lets see, WAMP Windows 2000 Pro sp4 | |
Hi I'm trying to configure apache for PHP. Can somebody tell me where I can find the http.conf file of the default Apache 1.3 webserver which comes with OsX? I can't find this entire Apache directory. The server is running allright (I checked it in my browser at [url]http://localhost[/url]) And … | |
Hi Iam new with php & making searching module for client.for searching i select two values from DROP DOWN list i.e: Category & City, Third value is the search string entered by the user like Hussain & co. Now wht i want is that , it giv me results by … | |
hi friends Now I am assigned new task. But i dont know Its possible or not.Please advise When user saw the Product using webcam the prodect details (name ,make model etc....)are displaying inthe screen.Is the possible to develope the project using php Please advise. __________________ Thanks Vssp | |
I have a page with many links on it but all the links are saved into my ,mysql database.These links are displayed on my site.I wanted to know if google robots sees those links there.if the admin of this forum will allow me to post my links page so that … | |
Table Structure: Table article articlecategory author category The category table lists the main categories while the articlecategory table is a join that lists the category id and the article id. On my main page I have all articles listed. However, I would like other pages to contain only stories from … | |
As a learning exercise I'm looking to use CGI to password protect my web pages. Once I ahve got a user to logon properly I'm wondering how I should go about authenticating them for each page they visit? That is to say does each possible web page they can go … | |
Hi all I'm writing a code to search image on google and parse the urls to a flash aplication. More and more I don't get the image but a picture that tells me not to hotlink. I want to detect this so I can look for another image. I've written … | |
Title: Problem in session using php5 Good day, I use php5+mySQL4+IIS5.x Previuosly i use php4 and no error occur, after i uninstall php4 and install php5, error happen. -------------------------------- error message: 24lmnsndeh7pkibp65mttcajo7PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload\sess_24lmnsndeh7pkibp65mttcajo7, O_RDWR) failed: No … | |
The URL of the page this is on in my site is [URL="http://poppa-pimps-wallpapers.com//ImageResizer.php"][COLOR=#000020]http://poppa-pimps-wallpapers.com//ImageResizer.php[/COLOR][/URL] You can click on browse and get image,but when you upload image it will go to another page and says (([B]unable to create emp directory[/B])) Here is a site to be able to see script work [URL="http://tech.tailoredweb.com/image-editor-52/"][COLOR=#000020]http://tech.tailoredweb.com/image-editor-52/[/COLOR][/URL] … | |
Pleeease help! I am hosting several sites with GoDaddy which use their own php mail forms. GoDaddy has their server set to sort variables in alphabetical order by deafault. This is a nightmare for me and I cannot figure out how to set custom sort orders. Can someone please tell … | |
hi, can any one tell me a good GUI editor for php on fedora core 5 32 bit linux? i am looking for a development tool something like dreamweaver which is easy to use with menus, buttons etc. thanks. | |
please guide me how to acess database for mysql thr' php, i tried a lot but getting error like cannot open the page or c:/program files/ apache/htdocs/dbconnect.php Could not connect to database why these error, i am using mysql 5.2.0, php 5.2.0 and apache 2.2.3, are there any setting needed?? … | |
Hi fellow americans and non americans. umm . i need help on this one site. i get an error code Parse error: parse error, unexpected T_STRING in /hsphere/local/home/lupahkha/lppros.com/membership/add.php on line 41 and on line 41 this is the code VALUES ('".$_POST['username']."', '".$_POST['pass']."')"; and this is the whole code <?php // … | |
Hi, please can somebody tell me how to make a shout box, like the one invision powerboard and PC Nuke scripts have? I know a bit of php, but not much, so I'm stuck. Thanks Chris | |
I want serval pages from 1 to n.how to let the new contennent always on page 1? | |
ok, I have a site that's using a signup form for people to enter a bunch of information, then I'm storing it in session variables until the final submission, when I then insert it all into the database in 1 shot. The point of this is to keep from cluttering … | |
[B]hi all this is steve burrus and I seem to have a problem with my copy of apache 2.2, integrated into PHP, being able to have its' port bind well enough for it the apache server to start up. :sad: Can someone plz help me with this? [/B] | |
Hi I tried to use getenv('HTTP_REFERER') to get the referring url ie find out where my user came from... but on localhost i keep getting a blank... I checked phpinfo() and the referrer was in fact blank... Is this normal behaviour? That Aussie Bloke PS it is spelt HTTP_REFERER and … | |
Hi - I have had a message today from my hosting company to tell me that one of the sites on my hosting account is having it's php code abused. Apparently someone is manipulating the php code from the contact form to allow them to add Bcc addresses. Any ideas … | |
Hi I thought I had resolved this problem but I am intermittently the receving the warnings below. This code consist of a 1) HTML form, 2) a display function on the HTML form and 3) a process to manage the form input. Can you show me what I am doing … | |
Below is the code I'm using to try and simply display the contents of a table...however, I'm getting the following errors: `Warning: mysql_query(): Can't connect to MySQL server on 'localhost' (10061) in d:\Customers\user######\www\dbtest.php on line 18` `Warning: mysql_query(): A link to the server could not be established in d:\Customers\user######\www\dbtest.php on … | |
Hi I need to allow the form user to fill out the form using alpha numeric characters only. After reading what I could find this my first attempt to use preg_replace. This works but I need to make sure I am validating the user form input. Have I missed any … | |
I am looking for a contact form with a Captcha image useful to stop spam. The problem is that my server doesn't allow scripts. Is anybody out there to help me? Thank you! | |
I have been looking though php.net and done a few small Google search to try and find a funtion that will highlight html like how the funtion highligh_string() works on PHP. Does anyone know of a function that does this or will I have to create my own? Thanks in … | |
Hello I am working on a search page. When you type the person's name insted of displaying a listing I want to be redirectd to the user information. I am getting a warninig: Warning: cannot modify header information - headers already sent( at start of D:\search.php: 108) in d:\search_play.php on … | |
Hi, need sum help... [IMG]http://www.phpfreaks.com/forums/Smileys/default/huh.gif[/IMG] I've created a php file which writes an xml file, and a web page which accepts user input into html buttons' values. What I want to do now is take that information from the html buttons and use the values stored in the html buttons, … | |
This is a simple script I copied from a book to create a form, then mail it to an address. I cant get it too wok and wonder if its the script or my server. I even copied the source form the publishers website and it still wont work. Basically … | |
I usually have no trouble with sites, but i need some help making a PHP chat room for a website. Nitto1320(the game), [url]www.kirbynos.tk[/url] thats the site so far and the other is [url="http://www.gotglitch.com"]www.gotglitch.com[/url] I know downloading all the PhP stuff is required but it seems on the confusing side for … | |
i'm currently learning php. i'm making a file for a friend instead of using the page that comes up when theres no index file in a folder. i want the directories to come up first and then the files. heres the essence of the code: [code] //$entry is the filename … | |
Ok, so I am a total PHP n00b so I will explain my problem then say how I would personally logically solve it. I am creating a website using a php include at the top of the page (same for every page on the site) and one for the bottom … | |
Hello all and thanks in advance, I am attempting to add an image in an email that is generated from php. Here is the php code [code=php] $ttext = " Hello, $_POST[name], whose email address is $_POST[email] thought you may be interested in this event. $_POST[refurl] $_POST[name] Has left you … | |
i don't see anything wrong with it... what's the deal? this is the results page that displays the results of a search query. [b]Parse error: parse error in ../../../../merchandise/testreg/results.php on line 21[/b] [code=php] @ $db = mysql_connect("localhost", "apache", "R3GP@SS!"); if(!$db) { echo "Error: Could not connect to the database. Please … | |
i have designed an employee details webpage. there is an option of generating pay slip. to do so all the information related to the employee and his/her salary has to be entered. the employee details are already stored in the database. i want to design a form that will have … | |
Hi, I am a relative newbie to PHP no doubt I will run into no end of problems, speaking of which :sad: I have implemented a vb board and need to add another admin. Apparently it mentions that the ID of the person be added after the superadmins line which … | |
hello all, i'm building a CMS and i'm have some trouble with a certain page i've been working on. I have information stored in my database that the admin user can edit and update and change, obviously. on this edit page i have HTML input fields that have been pre-populated … |
The End.