[PHP] PhP Javascript Mixed Repost Fields
Here is a problem :-) A php post form fooa.php Submit all form fields to a page foob.php Page foob.php do some mysql db check and in one condition I want to Return to fooa.php without losing any field value... I made this from foob.php with header:(location:fooa.php?field1=$field1field2=$field2.etc) But this is more complex esspecially when in fooa.php there are radio buttons + checkboxes. I thing that if I could with Javascript in foob.php create an (invisble) form and take all posted fields from Fooa.php And resubmit it with form.submit method to fooa.php I will have best results But I dont know how to do this since I am a begginer.. Anyone can help please send me an email Thanks in advnace for your time help and excuse me if is off topic Best Regads simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Weather Scripts
Hi People, I have been looking around the web lately and have noted a number of sites are running what appears to be php scripts that parse their local weather information and display it on their wesite. Well, I want to do the same, however I have been searching and found nothing that does what I want it to do. The only ones that I can find are either the output style of weather.com (ie all or nothing) or use their own graphics etc to display the data. All I want to be able to do is give the current conditions (ie partly cloudy) and the current temperature. I haven't decided if I then want to use this info to create an image or if I will display it as straight text. I want to do the same thing and I wonder if there are sites which can give me weather info for European cities (in xml format) for free... Thanks in advance for your help Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Create Mysql Records From a Comma separated Values String
Hi to everyone i have the following problem i have a string $foo which contains (n variable) comma separated values (example 1,17,23,45) and i want to insert these values in a mysql table . The destination field is int type and i need to insert one record per value Do you know which php function(s) should i use in order to (loop -extract the values from string) and do that ?? Thanks in advance for your help regars simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and listbox multiple selections
Hello to everyone Problem : A php form contains a listbox (named foolist) with n Items which can be multiple selected and form posted to results.php how can results.php determine which items were selected in order to add all the items in a Mysql table ??? thanks in advance for any suggestion and excuse my bad english knowledge :-)) kind rgds to all simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] passing textarea content from one page to another
Hi to everyone I try to pass a varaible ($text) which contains text from texarea (with Headerlocation:foo2.php?text=$text) from one page foo1.php to foo2.php and display it to another textarea object in foo2.php the problem is that i lose all the contents since the first tab or CR prsseed in the source textarea any suggestions thanks in advance simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Display a mesagge and redirect (newbie)
Hi to everyone I want to do the following and i dont know if its possible with php code a) run a mysql query b) display a simpe message c) delay few seconds d)auto redirect to a page can I do this with php i know how to do a) and b) and I can't do c) and d) note that if i try d) with function header (location URL') got an error for headers already send :-( Thanks in advance for your help and time Best regards simos
[PHP] header(Location: question
Hello everybody This works header(Location: http://www.foo.com/data/register.php?exist=1;); How can I pass exist value as parameter ??? Tia SImos
RE: [PHP] Help !! Mail Function Problem (Newbie)
mail([EMAIL PROTECTED], Subject, Line 1\nLine 2\nLine 3); -- Thanks jim I still have the same problem even with mail([EMAIL PROTECTED], Subject, Line 1\nLine 2\nLine 3); and it has to do with permstions ... Wright now I notice that in /var/log/mail/errors exist a line Jan 16 20:20:34 thewall sendmail[4670]: g0H1KYP04670: SYSERR(apache): Cannot create ./dfg0H1KYP04670: Permission denied so it has to do with permitions and only root mail user can send mail from the server.. The problem is that i dont know how to fix it anyway thanks again for your help :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] [SOLVED] RE: Help !! Mail Function Problem (Newbie)
ok i found it.. chmod o+w /var/spool/msqueue many thanks to all regards simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] relative Drop Down Menus
Hello to everyone In a submit form two relative drop down menus (dCountry and dCity) with data from two diferrent mysql tables. The form contains also some other fields ex name,surname etc. I want each time a user changes dCountry value to reload the same form without lose data from other fields and dCity has the relative cities from selected dCountry. I believe that this can be done with Javascript + php source combination. if anyone can help please send me an e-mail Many Thanks in advcance Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] open a New Window
Hi to everybody I wonder if is posiblle to open a new predefined size window (new html page) with php code. Thanks in advance for your time. Best Regards Simos
[PHP] passing parameters from one page to another
Hello everybody I want from a Form page to pass a couple of values (fooa, foob, fooc) which are not form fields when submit button pressed to the submited page... thanks in advance for your help simos
RE: [PHP] Can php make a authentication to Apache?
perhaps this link helps you http://www.phpsecurepages.f2s.com/ -Original Message- From: Alex Elderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 2:23 PM To: [EMAIL PROTECTED] Subject: [PHP] Can php make a authentication to Apache? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Send an e-mail witdh php
-Original Message- From: Henk [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 3:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Send an e-mail witdh php That doesn't work. He is gives the error: Failed to Connect Henk check your /etc/php.ini conf file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] !!! URGENT [PHP] php mail() function Problem
Hi to everyone i have problem with php4 mail() function. Os:mandrake 7.2 Mailprog:Sendmail the following php code ?php mail("[EMAIL PROTECTED]","subject","body","From:[EMAIL PROTECTED]"); ? does not send e-mail my /var/log/mail/info files log the following thewall sendmail[8313]: f9HAE9I08313: from=apache, size=0, class=0, nrcpts=0, relay=apache@localhost my php.ini sendmail path is /usr/sbin/sendmail -t Ive try to make apache sendmail trusted user + change my php.ini path to is /usr/sbin/sendmail -t -f root@localhost but nothing :-) any ideas thanks in advance for any help :-) Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]