38,020 Topics

Member Avatar for
Member Avatar for jsamson

Working on a User Registration System and when I am testing my page on the browser (I'm developing using mac) - but its giving me a Parse error on line 27. please help, what am I doing wrong here? 1<?php require_once('Connections/db_d4f2005.php'); ?> 2 <?php 3 function sendMail($to, $hash) { 4 …

Member Avatar for fambi
0
109
Member Avatar for iwonder

Hi You must have seen those Signature of people which show us the IP address .. here`s how you do it . :cool: : 1. First save a blank .txt file named counter.txt 2. then open notepad (or any PHP-editor u use) and paste this code : [PHP] <?php $TextFile …

Member Avatar for mikeSQL
0
154
Member Avatar for paradox814

i didn't see any html forums so I'm posting this here... what should we use in place of the align tag since it has been deprecated? i know it has been replaced with css, so how would i convert the following two tags? <p align="center"> </p> <td align="center"> </td>

Member Avatar for steveneven
0
120
Member Avatar for Mighty_Squid

This is a simple thing but I havn't found it by searching so I will just ask. I am not sure if this is a php code but since my CMS (e107) is written in it I felt I should ask here. So the little icon you get in the …

Member Avatar for paradox814
0
149
Member Avatar for weexpectedthis

Does anyone know how one would go about precaching some images for a page I'm creating? The trick is, I only know which pictures to precache at the very top of the script, so the list can't be stored in a .js file like normal. Since there are different pictures …

Member Avatar for paradox814
0
168
Member Avatar for Cup of Squirrel

I have recently installed php nuke into my web host by extracting all contents of "html" folder into my main directory. I went to "http://www.myhost.com/admin.php" to find this error message: [code] Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/killtpfn/public_html/mainfile.php on line 183 Warning: main(): Failed …

Member Avatar for PoA
0
106
Member Avatar for scoobie

Hi, i was wondering if anyone can help me. i have an a form that has two options A and B in it. when the user choses an option and clicks submit a php script is executed. what i want to do is if the user selects option A then …

Member Avatar for YoungCoder
0
82
Member Avatar for scoobie

hi, i was wondering if anyone could help me. i'm new to php and i'm having problems setting up a session. i have a login page (page1) where the user inputs their username and password and when they click the submit button they are brought to another page (page2) where …

Member Avatar for scoobie
0
88
Member Avatar for EPierre

Morning all, I don't know how to solve this problem Here it is: $price_unit = "20.45" $qty = 'qty'; $net = 'net'; $net = $qty * $price_unit ; as: 0<$qty<10 to parse in a textbox. I do that : if ($qty =0) { $net =0; } elseif ($qty =1) { …

Member Avatar for zippee
0
84
Member Avatar for frustratedkim

Somehow my code keeps getting extra spaces at the end after the last ?> No matter what I use, or what I do, I keep getting it and it is causing function errors. Any suggestions?? Thanks!

Member Avatar for zippee
0
179
Member Avatar for DiscJockey

Hello peeps i need some help for a template system. i want to make a script so when a user submits a article/tut it automaically sends me a email with a link in it + plus the submited article/tutorial when i click the link it automatically puts the tutorial into …

Member Avatar for zippee
0
121
Member Avatar for joey101

Ive created this awesome CMS, you see, but one problem... It reades every thing from the catch! NOT GOOD! Like that I have to refresh the page every time I wan't to see changes in it! Is there a way to make is so that the website doesn't read from …

Member Avatar for joey101
0
414
Member Avatar for seand10

I have a website that requires users to register. When they register their details (name, dob etc) go into an sql database. The form it goes into is called User_dtls. I want the users to be able to edit their own details through the website but im not sure how …

Member Avatar for paradox814
0
78
Member Avatar for ep2002

Help ! Can someone help me quickly LOL I'm trying to switch over to a new server & all of the PHP & Javascript stuff is missing :( See, current server... [url]http://www.exoticpublishing.com[/url] New server... [url]http://216.82.123.216/[/url] The left nav is missing, the right newscroller is missing & the last date & …

Member Avatar for joey101
0
190
Member Avatar for alee

i'm making a website for a friend with his movies in, he wants users to login before being able to view these movies, i don't know how to stop them viewing it by typing in the address. Thanks, expect many more help requests as i am a noob ;) - …

Member Avatar for paradox814
0
87
Member Avatar for AMulligan

Hello, ( Sorry I originally posted this on the wrong forum) I am trying to do a simple form (text fields only). The users enter, submit, then there is a confirmation page and information is sent to an email. When 'submit' is clicked there is no information returned from the …

Member Avatar for paradox814
0
86
Member Avatar for viperman224

What program would I use to compile php codes? How would I then use them on my webserver? I have installed php (not sure which version) but how do I use the scripts after I compile them. I am using windows XP Pro and Apache 1.3. Also How do I …

Member Avatar for paradox814
0
86
Member Avatar for voorheese

Hello. Can somebody help me with creating a .php template that querys a MySql DB for a simple report. I need 3 input fields: 1.Name: 2.Date From: 3.Date To: And a button "Submit" that presents the above data in some kind of easy understanding layout. database name is order table …

Member Avatar for paradox814
0
54
Member Avatar for Dani

Which of the following is the proper syntax for the latest version of PHP? [code]echo "My name is $name. How are you?";[/code] [code]echo "My name is " . $name . ". How are you?";[/code]

Member Avatar for knight42
1
4K
Member Avatar for nikez

Hi guys....newbie on the forums here :) I have developed a php form processor for a project i am working on. I am trying to validate the email address, however i want to add 1 more check the the default script. At the moment i have the following: [CODE]function if_email($staff) …

Member Avatar for nikez
0
178
Member Avatar for nikez

The form (form.htm) posts a value from a text box (id='first_name') into a script (test.php) that checks the data entered. The script takes an array of required fields from a config file (config.php) and uses these to validate the data that comes from form.htm. If the required fields ($required) are …

Member Avatar for nikez
0
190
Member Avatar for woodendart

I am so glad I found this forum because I dont have a clue about much .So I hope some one can help me out I have a directory on my website powered by Chipmunk Directory and I would like to add the following code so that the first three …

Member Avatar for knight42
0
122
Member Avatar for Samantha-girl

I want to find out if php can allow me to create whatever.homepage.com using my web address. I want to point the whatever.homepage.com to the folder homepage.com/whatever. Will php allow me to do this? O is there another script that will allow me to do this?

Member Avatar for ReDuX
0
175
Member Avatar for Sim

Ive built a script which allows me to add domains which have a name, expiration date and the date it was registered. However everytime i log into the admin panel i would like it to show me all domains which are about to expire in a supplied time. However im …

Member Avatar for HawkeVIPER
0
84
Member Avatar for Dani

I use Turck mmCache to optimize PHP running on my webserver. Someone informed me tonight that the project has been suspended or stopped or something? I was just wondering if anyone knows anything about this? Thanks :)

Member Avatar for Gary King
0
93
Member Avatar for nikez

Hey, Does anyone know how to pass a php variable into a form field? I want to reproduce what the user typed into a text box in another text box. Is this even possible? Thanks, JameZ ;)

Member Avatar for fpepito
0
513
Member Avatar for nikez

Hi guys, I have been looking at various form processing scripts, bascially to gain some understanding of how they work. I have managed to work through one section apart from one bit. I keep seeing the following: [CODE]$_POST[/CODE] I was just wondering what this was. I am using Dreamweaver MX …

Member Avatar for ReDuX
0
381
Member Avatar for nikez

Have a look at the following code. It is the only thing in the file...the following variables are defined outside the php file: [list] [*]$required [*]$first_name [/list] [CODE]require_once("config.php"); if ($required) { $require = explode(",",$required); for($n=0; $n<count($require); $n++); { $field = $require[$n]; print $first_name; print $_POST[$first_name]; } }[/CODE] When post data …

Member Avatar for nikez
0
155
Member Avatar for paradox814

I am going to lease out some bandwidth to a friend of mine on one of my accounts and I want to know what are typical PHP extensions so that I can disable them with htaccess files (as I dont trust this friend of mine). So far I can only …

Member Avatar for mikeSQL
0
60
Member Avatar for toxicSugar

OK im trying to make a script but I dont know how to do it exactally, what i want to make is a board for buttons where the visitor can come and put the url of their button and therir link and their button will be displayed. and once it …

Member Avatar for mikeSQL
0
119

The End.