Search found 14 matches

by redhead
Tue Jun 08, 2004 6:56 pm
Forum: PHP coding => Mail
Topic: File Attachement via Email Script
Replies: 1
Views: 1257

File Attachement via Email Script

Hi There I have a form, and a php mailing script that works great. What i'm hoping to do is allow the user to attach a file with it. this is what i have in my form. <input type="file" name="file"> this is my php mailing script: <?php $youremail="cathoms@sympatico.ca"; $...
by redhead
Fri May 14, 2004 7:30 am
Forum: PHP coding => General
Topic: Text Box Valadiaton
Replies: 1
Views: 504

Text Box Valadiaton

Hi There I'm new to php, actualy i'm new to everything right know. I have a page where i have the following on it. <input type="text" id="password"> <input type="button" onclick="if(document.getElementById('password').value=='42323'){window.loc...
by redhead
Mon Mar 08, 2004 1:03 pm
Forum: PHP Installation
Topic: Cookies
Replies: 3
Views: 1916

Got that error that's :-D

Thanks So much for your sugestions.. I'm going to put them into effect asap.. :D
by redhead
Mon Mar 08, 2004 12:02 pm
Forum: PHP Installation
Topic: Cookies
Replies: 3
Views: 1916

Just incase anyone else is having the same problem check out

http://ca2.php.net/variables.predefined

:-D
by redhead
Mon Mar 08, 2004 10:26 am
Forum: PHP Installation
Topic: Cookies
Replies: 3
Views: 1916

Cookies

Hi There I have several scripts that work amazing with my ISP I have then installed Apache 1.3.29, MySQL, PHP 4, phpMyAdmin So then i tryed to run the files on my local mahcine. Had problems with session. added a dir called sessiondata and added the path to that dir in my php.ini file under session ...
by redhead
Mon Mar 08, 2004 9:55 am
Forum: PHP Installation
Topic: sessions and cookies
Replies: 4
Views: 2417

Re: sessions and cookies

ngfrancisco wrote:I had the same problem before with session under windows. What I did was to create a directory sessiondata and specify it in the PHP.ini file under the session path.


That helped me out so much just want to say thank you :-D
by redhead
Fri Mar 05, 2004 8:39 pm
Forum: PHP General
Topic: Math and PHP
Replies: 3
Views: 977

Ok, that makes alot of since but how would you call the total out after

Code: Select all

   $sql = "SELECT SUM(price) FROM table1;";
   


that's what you mean right
by redhead
Fri Mar 05, 2004 8:34 pm
Forum: MySQL Installation
Topic: New & Really Need Help
Replies: 4
Views: 2933

I often try and will post if is still dont understand...

Not offended, try and do better research.. Its really hard when your first starting out and learning it own your own..

Thanks So much for you help anyway i really appreacted it :D
by redhead
Fri Mar 05, 2004 6:39 pm
Forum: MySQL Installation
Topic: New & Really Need Help
Replies: 4
Views: 2933

Sorry for bugging you with dum questions..

I guess i thought that's what this is for to ask and learn from each other. Anyway i'm sorry about the dum question...
by redhead
Fri Mar 05, 2004 5:43 pm
Forum: PHP General
Topic: Math and PHP
Replies: 3
Views: 977

Math and PHP

Hi there i have a mysql database and what i'm hoping to do is have a script that will add the same field called price in each row of the db together. The idea is to have a number of items selected by the user and at the end add the price filed for them.. If there is only one item in the database the...
by redhead
Fri Mar 05, 2004 1:49 pm
Forum: MySQL Installation
Topic: New & Really Need Help
Replies: 4
Views: 2933

New & Really Need Help

I just finished install MySql, then i opend the MySQLAdmin and it asked me for a user name and password so i gave it one it even shows up in the my.ini file but if i open the comand promt and type mysql -u user -p and hit enter it asks for the password so i type it in ***** then i get ERROR 1045: Ac...
by redhead
Fri Mar 05, 2004 11:58 am
Forum: MySQL Installation
Topic: newbie here..Urgently need help
Replies: 2
Views: 3197

I'm having the same problem

I just dont under stand the section on CODE

do we type this in the windows comand prompt

under c:\mysql\bin

or who do we created or edit the default user with a password

or should we just create a new user to use..
by redhead
Thu Mar 04, 2004 6:28 pm
Forum: PHP General
Topic: Sessions
Replies: 3
Views: 962

Hi Got your PM

and have replyed with the other pages of code

I hope you get them let me know if you do not..
by redhead
Thu Mar 04, 2004 11:28 am
Forum: PHP General
Topic: Sessions
Replies: 3
Views: 962

Sessions

Hi There I'm working with sessions to pass along inforamtion from forms on 3 pages. on the forth page it will show all the variables and insert it into a database.. The problem i'm having is that on each of the 3 pages there is list box. And the value of the list box is generated by the user.. This ...