[PHP] Numbers with leading zero...
Hi. I've got this script that needs to take for examle 02 and increase that to 03. but when i run the script $Num++; it changes 03 to 3; is there not a function that adds leading zeros onto a string ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Numbers with leading zero... :: THANK YOU!!
Thanks so much for the help you guys. problem sorted out... :D Vins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi. I've got this script that needs to take for examle 02 and increase that to 03. but when i run the script $Num++; it changes 03 to 3; is there not a function that adds leading zeros onto a string ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Truncate ::: DAM!!!!!
LOL.. So after my last post about updating files i sat and thought about all the replies i got... and then a slap on the head solved the DUH problem ereg_replace(\r\n, \n, $DBfile); I mean. i am a dork as the best of times.. but now there is another problem the file length is 10 charactes but the new file length is 15 I need to overright everything in the old file and somehow push the file length to 15 it truncates.what now ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Truncate ::: DAM!!!!!
you know what forget this whole thing I just need to know how do i clear the file contents set it 0 length I cannot delete the file no permission Vins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... LOL.. So after my last post about updating files i sat and thought about all the replies i got... and then a slap on the head solved the DUH problem ereg_replace(\r\n, \n, $DBfile); I mean. i am a dork as the best of times.. but now there is another problem the file length is 10 charactes but the new file length is 15 I need to overright everything in the old file and somehow push the file length to 15 it truncates.what now ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Truncate ::: DAM!!!!!
nerver mind... i'm a moron i sorted it out sorry for bugging next time i'll test much more before posting really am sorry Vins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... LOL.. So after my last post about updating files i sat and thought about all the replies i got... and then a slap on the head solved the DUH problem ereg_replace(\r\n, \n, $DBfile); I mean. i am a dork as the best of times.. but now there is another problem the file length is 10 charactes but the new file length is 15 I need to overright everything in the old file and somehow push the file length to 15 it truncates.what now ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Binary Files :: They Keep Adding Blocks
Hi I've just made this script to update a binary file for my BIND 9 DNS server. === $WorkFile = domains/db.nom.za; $buffer = file($WorkFile); $DBfile = implode($buffer, ); $DBfile = ereg_replace($domain.nom.za. IN NS $fqdnold[0]., $domain.nom.za. IN NS $fqdnnew[0]., $DBfile); $DBfile = ereg_replace($domain.nom.za. IN NS $fqdnold[1]., $domain.nom.za. IN NS $fqdnnew[1]., $DBfile); $DBfile = trim($DBfile).\n; $fp = fopen($WorkFile, 'w'); fwrite($fp, $DBfile); fclose($fp); === Basicall I want to find dub.domain.com IN NS dns.example.com and replace it with dub.domain.com IN NS dns1.expample.com. Note the '1' and still maintain the format of the file... My script keeps adding and extra line to every line even when I told it to trim. Any please help Kindest Regards Vins :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Binary Files :: They Keep Adding Blocks
How do i debug. Thats why i asked Vins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I've just made this script to update a binary file for my BIND 9 DNS server. === $WorkFile = domains/db.nom.za; $buffer = file($WorkFile); $DBfile = implode($buffer, ); $DBfile = ereg_replace($domain.nom.za. IN NS $fqdnold[0]., $domain.nom.za. IN NS $fqdnnew[0]., $DBfile); $DBfile = ereg_replace($domain.nom.za. IN NS $fqdnold[1]., $domain.nom.za. IN NS $fqdnnew[1]., $DBfile); $DBfile = trim($DBfile).\n; $fp = fopen($WorkFile, 'w'); fwrite($fp, $DBfile); fclose($fp); === Basicall I want to find dub.domain.com IN NS dns.example.com and replace it with dub.domain.com IN NS dns1.expample.com. Note the '1' and still maintain the format of the file... My script keeps adding and extra line to every line even when I told it to trim. Any please help Kindest Regards Vins :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: New 2 PHP
OK For one you don't have an index.php file. I can't see the others coz you have pwd protected everything. What exactly is the error ??? George Ewing [EMAIL PROTECTED] wrote in message 000c01c22a64$b3c14840$6401a8c0@pavilion">news:000c01c22a64$b3c14840$6401a8c0@pavilion... Hi Everyone. Yup.. another dummy who can't suss out php. I'm running win2000 server and have installed php (by the book), also have mysql running. Can seem to get php recognised though? Check out http://www.geeing.com/source/chapter01/ Says can't find page.. but is defo there. I can run this page on my redhat 7.3 server but not windows? Anyone help? Thanks in advance George. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MAIL FROM NO ONE
Hi... I've just checked out a script from hotscripts.com that send email from and smtp server... I've managed to say the email has come from a server that doesn't exist but the email can still be traced... is there know way to build a php smtp server ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: (OT) No Punishment for Erik Hegreberg, Yet...
Read the message from the admins from online.no carefully Don't worry i'll quote and if he has the original headers so that we can track down the users. What a crock of shit We all sent his full name and his email address plus the copies of 78 to be exact spams that he sent to the php mailinglist. Those admins sound like South African's that work in our Telecoms business. Well, if we didn't receive the fax, then you didn't pay your bill If the fools from my telecoms company only check their dam fax machine Buncha fools... .and i though south africa was full of lazy ass admins LOL Wait Eriks time will come and he will get a tast of his own medicine. Jason Soza [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, my attempts at getting discipline for Erik Hegreberg will have to go unfinished for now. I guess a list admin would have to retrieve the original headers from Erik's original posts -before- they hit the mailing list software and got new headers and distributed. Any list admins out there want to help with that? Seems kind of silly - if they keep e-mail transaction logs and they know the e-mail account of Mr. Hegreberg, they should be able to correlate my complaint. Oh well, 'twas a valiant effort! Thanks everyone yesterday for sending me those headers. In any case, here's the response from [EMAIL PROTECTED] (apparently the same as [EMAIL PROTECTED]): Dear mr. Soza, At 11:27 10.07.2002 -0800, you wrote: It appears that you do have the full headers of the message in question, as they appeared on my machine. Since Mr. Hegreberg was sending these messages to a mailing list, the headers mostly show the mailing list information. The headers you sent did not contain the necessary information. It seems the mailing-list strips away the important part of the headers, so that none of the headers you've received are sufficient. We recommend that you contact the list administrator and ask if he/she can fix the problems with headers being removed, and if he has the original headers so that we can track down the users. -- Consultant-ID 23 Abuse Response Team, Telenor Business Solutions Email: [EMAIL PROTECTED]Fax: +47 22 77 19 98 http://www.online.no/abuse (Norwegian only) Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: (OT) Our Spam Friend
Good GOod Good but hey isn't going to get off that easy. one day it's going to say sorry that mailbox doesn't exist. or even better sorry this person doesn't own a computer anymore after his last spam crusade LOL Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just thought this was worth sharing. :-) - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - RECIPIENTS MAILBOX IS FULL 554 [EMAIL PROTECTED]... Service unavailable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: banner rotation and advertisement
Try phpadsnews. Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello everybody: sorry for this kind of off topic question. I hope that someone might point me into the right direction. I am operating a web portal and think about advertisement. Unfortunatelly I do not have any idea how to start this. First off all how does the client know how many banner views happend? I mean there must be a system which is proving how often. And second off all how to find the right sponsors fitting to the site. Maybe someone knows a third party company which does this for a fee. Has anybody a good hint? Thank you in advance. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Submitting form in new window!
This is JavaScript you need. one example. FORM NAME=Information INPUT TYPE=text NAME=TextField VALUE=Nothing Here INPUT TYPE=submit NAME=go VALUE= Go! onSubmit=FormSubmit()' /FORM SCRIPT LANGUAGE=JavaScript TYPE=JavaScript/Text function FormSubmit() { var textfield = Information.TextField.value; var url = ./processForm.php?textfield= + textfield; window.open(url); } /SCRIPT OR just add this to your form tag. TARGET=_blank Thomas Edison Jr. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Glory, Attach a javascript event to the submit button Something like : input type=submit name=go onSubmit=wow(); Wherein wow() defines a the window.open function? and also attach the form values to the url. How do i do this? Because the 3 or 4 form fields i have, which are Hidden Fields, contain values coming in from $myrow[stuff], that is, coming in from a Database Table. How do i define these values up in the Javascript function in the head of the file? Thanks, T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Storing values in Session
Try pushing the variables into an array before sending to the session. I never have problems with arrays in sessions. Sachin Keshavan [EMAIL PROTECTED] wrote in message B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00">news:B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00... Hello, I want to add a set of values to the session variable $BOOKS. This is the code which I used. if($BOOKS==) { #this seems to be the first book which the user has selected $BOOKS = $bookid; #this param comes from the URL } else { $BOOKS = $BOOKS+,+$bookid; } Here the 'if..' part gets executed, and because of that I cannot add details of another book. I have initialised the session and added the registered the value BOOKS in the previous page. Thanks in advance, Sachin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Storing values in Session
Oh an for the if statement. My PHP gets confused, maybe it's just me but give it a try if(empty($BOOKS)) Sachin Keshavan [EMAIL PROTECTED] wrote in message B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00">news:B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00... Hello, I want to add a set of values to the session variable $BOOKS. This is the code which I used. if($BOOKS==) { #this seems to be the first book which the user has selected $BOOKS = $bookid; #this param comes from the URL } else { $BOOKS = $BOOKS+,+$bookid; } Here the 'if..' part gets executed, and because of that I cannot add details of another book. I have initialised the session and added the registered the value BOOKS in the previous page. Thanks in advance, Sachin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] (OT) Our Spam Friend
Sign up for a free server somewhere and create a page that just sends the request to the server. ?php while($x != $count) { mail(The Creap, $x) $x++; } ? Note there isn't a count variable then the only person that can stop it is the system op on the free server. Brian McGarvie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... we should make a script that constantly emails him single characters and all of us run it in a back ground process ;) -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 12:03 AM To: PHP Subject: [PHP] (OT) Our Spam Friend I just thought this was worth sharing. :-) - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - RECIPIENTS MAILBOX IS FULL 554 [EMAIL PROTECTED]... Service unavailable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] (OT) Our Spam Friend
What just a slap together of how we could make him crazy... but now that someone has pointed out to us that his mailbox is now full to he can't even unsubscribe from the list LOL WOOPS... We need to find out how to breakup the mailserver calls into 1000 emails sent every second and pause the server request... then the server is sure not to timeout. Brian McGarvie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... we should make a script that constantly emails him single characters and all of us run it in a back ground process ;) -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 12:03 AM To: PHP Subject: [PHP] (OT) Our Spam Friend I just thought this was worth sharing. :-) - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - RECIPIENTS MAILBOX IS FULL 554 [EMAIL PROTECTED]... Service unavailable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: cookie ( still not working )
My experience with cookies is really unhappy. I've once developed a website that needed to store information. I though hey cookies are the quicker option to hell with sessions. Now today after all of my problems with the cookies environment i've turned back to sessions. Sessions can store a much higher amount of data... and that doesn't have to rely on the client browser either. I mean if i visit a site that needs to have cookies enabled... i'm pretty stuffed I can't see nothing but if the site uses sessions dam i'm organized If you feel you have too many problems with cookies refer back to sessions it's the best option... well that i've come down to. Richard Mail [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... my cookie problem is still not solved :( my browser settings are correct, and the script has worked. but sins i now installed php 4.2.1 with apache 1.3.24 it doesn't work :( does any one have an solution ?? thnx in advance, Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Wildcard
Shit. Doesn't really make sense Sorry... I probably don't understand do you have an online example. César aracena [EMAIL PROTECTED] wrote in message 000101c227fb$74eed940$68ed0dd1@gateway">news:000101c227fb$74eed940$68ed0dd1@gateway... Hi all. I'm trying to figure out how to do a search trough a MySQL db using LIKE or = but the thing is that I have 3 select boxes from where to choose the search terms. Can I use something like a wildcard instead of making several IF statements like this? SELECT * FROM table_name WHERE col1 = value1 AND col2 = value2 AND col3 = % % goes for an unselected select box (default value = %) in case the user doesn't want to make an *advanced* search, so it fetches all rows which does contains values 1 2. Thanks, mailto:[EMAIL PROTECTED] Cesar Aracena CE / MCSE+I Neuquen, Argentina +54.299.6356688 +54.299.4466621 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ONLY ON VOTE......
Lets get this out the best reader out there. Vincent Kruger [EMAIL PROTECTED] wrote in message 004601c227fb$a9c9e290$017f@localhost">news:004601c227fb$a9c9e290$017f@localhost... 2nd attempt LOL Rejected first request coz this message is (ot) What is the best news reader that there is out there on the I-net??? Please submit your votes then we can all seee. I'm sick of outlook express handling this news on php and all the other lists i'm subscribed to... Please Please Please Cheerz Vins ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Is it so fuckin diffuicult...
So sorry about that Didn't mean to affend anyone other than the SPAMMER CREEP Really do appologize. Kindest Regards Vins [EMAIL PROTECTED] Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Wow the vulgarities... Anywayz, I guess that's how you gotta address people like Erik Hegreberg... Ashley M. Kirchner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... vins wrote: Is it so fucking difficult to do the fucking unsubscribing yourself. Stop being a fucking baby and click your fucking mouse to the php website and unsubscribe... This fucking spamming business is going to get you into big shit there are a ton of hackers out there on this mailing list so stop being a fucking jerk. Ya, and your 'fucking' e-mail certainly helps him a lot better, eh? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: (OT) News Reading
OK.. I've checked out the following TIN Xnews Free Agent They seem to be very popular but don't look good and you have to used them for a while to get to know them. Don't get me wrong I've stuck with outlook just for the look... I mean comon i use windows xp... look is everything on this system atm. LOL Thanx for the posts. Vincent Kruger [EMAIL PROTECTED] wrote in message 004601c227fb$a9c9e290$017f@localhost">news:004601c227fb$a9c9e290$017f@localhost... 2nd attempt LOL Rejected first request coz this message is (ot) What is the best news reader that there is out there on the I-net??? Please submit your votes then we can all seee. I'm sick of outlook express handling this news on php and all the other lists i'm subscribed to... Please Please Please Cheerz Vins ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Now a Question for all you ARRAY Junkies
I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it first -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Now a Question for all you ARRAY Junkies
oh ok... thanx Martin Clifford [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Since it's not an associative array, you can just use sort($Lang); and that should work just fine. Martin vins [EMAIL PROTECTED] 07/10/02 08:36AM I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it first -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Now a Question for all you ARRAY Junkies
i ONLY ask when i can't get summing to work... i saw when someone reported the sort() function that i had sord() My bad... But thanx anyways Danny Shepherd [EMAIL PROTECTED] wrote in message 081601c2280f$1c552dc0$0200a8c0@DANNYS">news:081601c2280f$1c552dc0$0200a8c0@DANNYS... just sort($Lang); A question: wouldn't it have been quicker to knock out a couple of test files to see which is the right way? HTH Danny. - Original Message - From: vins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 1:36 PM Subject: [PHP] Now a Question for all you ARRAY Junkies I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it first -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Dos Paths
Whats the difference I'm lost ? Bb [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've got an application that requires dos folder names (8.3 standard) as input. I also have PHP, which quite happily can cope with both. Can someone help me write a function to translate full paths to dos paths Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: cookies
Nope thats not they way If you don't specify a expire date it will live for ever or until you delete it. The only way is to set it with an expiry date and then it will delete it'self when the browser closes. Check this by running a file on the same domain with phpinfo(); Alexander Ross [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I set a cookie which expires when the borwser is closed?? How can I delete a cookie via PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] if syntax
OK... This is another easy question that everyone has an answer for. Here's mine :D the if statement has many ways of being formed. 1 line code: (Echo or exit command) if(empty($Variable)) exit; else echo Variable exists Multiple line code: if(empty($Variable)) { header(Location: Here.com); exit; } else { echo Valid variable; eixt; } Combined: if(empty($Variable)) echo Variable empty; else { Header(Location: Here.com); exit; } or the other alternative (empty($Variable)) ? echo Empty : echo Contains Something; [EMAIL PROTECTED] wrote in message news:OFF48BDDD0.BCC82414-ON87256BF2.004F65C2-87256BF2.004F6811@blackhillscor p.com... This will only work if you have a single line of code after the else and if. At least that is my understanding of all languages :) J Alexander Ross [EMAIL PROTECTED] 07/10/2002 08:25 AM To: [EMAIL PROTECTED] cc: Subject:[PHP] if syntax I know this is correct: if ($something) { ... } else { ... } But I recently saw someone use this instead: if($something): ... else: ... Is that also correct?? No brackets needed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: session error ... I think
did you echo anything or place this session cache command after any html ?? coz if you did it means you can't change any header information once you've displayed something kinda like this you can change the header information on an email you just sent Alexander Ross [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... what does this mean: Warning: Cannot send session cache limiter - headers already sent (output started at /home/.edy/alexross/bleen.net/forum/discussion_fns.php:88) in /home/.edy/alexross/bleen.net/forum/index.php on line 5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Crash Course on PHP WORKS :: Registering Globals
OK if you are running php on apache and your form variables don't pass through fire up your editor and edit php.ini and turn Register Globals ON Cheerz Until Next time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Qmail and PHP
You know really anoying mailing lists that send you e-mail you don't want Wait... thats called spam... well... to unsubscribe all you have to do is send an email back [EMAIL PROTECTED] with the subject REMOVE PHP === Can this wonder process things like that Kindest Regards vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What A Wet Wanker
Don't ban this guy... double his subscription setup a bigfoot email account and forward mail to him... 10 other ppl do the same and then subscribe the php maillist... then see how to really spam someone... What a moron... Cheerz ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Is it so fuckin diffuicult to delete me from that list I am out of plesaes long time ago!!!!!!!!!!!!!!!!!!!!!
Is it so fucking difficult to do the fucking unsubscribing yourself. Stop being a fucking baby and click your fucking mouse to the php website and unsubscribe... This fucking spamming business is going to get you into big shit there are a ton of hackers out there on this mailing list so stop being a fucking jerk. Erik Hegreberg [EMAIL PROTECTED] wrote in message 001901c22785$5688ba50$01000a0a@mi6">news:001901c22785$5688ba50$01000a0a@mi6... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] So moderator Delete me from the list and you will have your list in peace!!!!!!!!!!
Don't waiste preciouse typed messages to this baby... you've told him one before. Jay Blanchard [EMAIL PROTECTED] wrote in message 000501c22785$eb678980$8102a8c0@niigziuo4ohhdt">news:000501c22785$eb678980$8102a8c0@niigziuo4ohhdt... To unsubscribe, visit: http://www.php.net/unsub.php -Original Message- From: Erik Hegreberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: [PHP] So moderator Delete me from the list and you will have your list in peace!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: dumb
I we can all do that But what about the fact that this moron is out there.. he subscribed to the mailinglist and can't read to save his life... He must be stopped... online.no is receiving an email plus a zipped copy of all the spams he has sent. Sorry for all the bad words and stuff said Cheerz ;) Brendan P. Caulfield [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... this is dumb. can we just ignore this and move. we are all smart enough to block his posts. let's just do it and quit wasting all of our time and get back to doing what we do here. respectfully, -brendan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: dumb
OK... Now that i've mailed online.no I've unsubscribed the creep from the list so that we don't get no more crap and get back to work :D Brendan P. Caulfield [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... this is dumb. can we just ignore this and move. we are all smart enough to block his posts. let's just do it and quit wasting all of our time and get back to doing what we do here. respectfully, -brendan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Mail() function
I don't really think there is... I've been trying this for a while now... César aracena [EMAIL PROTECTED] wrote in message 012501c2278c$afdebcb0$81c405c8@gateway">news:012501c2278c$afdebcb0$81c405c8@gateway... Hi all. I wonder if there's a way to *HIDE* some parts from the Heading of the emails sent with PHP. I'm trying to create an anonymous mail sender but in the header of the message appears: Received: (from httpd@localhost) by www.whateverdomain.com (8.10.2/8.10.2) id g69MEA527130; Tue, 9 Jul 2002 18:14:10 -0400 Date: Tue, 9 Jul 2002 18:14:10 -0400 Message-Id: 200207092214.g69MEA527130@www. mailto:200207092214.g69MEA527130@www.%20whateverdomain.com whateverdomain.com I want to hide the *whateverdomain.com* (because is my hosting provider. Just learning some useful things. please look at www.icaam.com.ar/mass-mailer.php I just got bored of receiving mass email from this list. fooling around ;-) mailto:[EMAIL PROTECTED] Cesar Aracena CE / MCSE+I Neuquen, Argentina +54.299.6356688 +54.299.4466621 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Mail() function
once that request is sent you can't really stop it... even if you close the window it will still process the full request... php does funny things sometimes. especially with email César aracena [EMAIL PROTECTED] wrote in message 012d01c2278e$22214440$81c405c8@gateway">news:012d01c2278e$22214440$81c405c8@gateway... Goto www.icaam.com.ar/mass-mailer.php and have some fun... Just don't send 10 millions of e-mails (which I did) 'couse it will take a wile to end the loop... ;-) -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 6:08 PM To: PHP General List Subject: [PHP] Mail() function Hi all. I wonder if there's a way to *HIDE* some parts from the Heading of the emails sent with PHP. I'm trying to create an anonymous mail sender but in the header of the message appears: Received: (from httpd@localhost) by www.whateverdomain.com (8.10.2/8.10.2) id g69MEA527130; Tue, 9 Jul 2002 18:14:10 -0400 Date: Tue, 9 Jul 2002 18:14:10 -0400 Message-Id: 200207092214.g69MEA527130@www. mailto:200207092214.g69MEA527130@www.%20whateverdomain.com whateverdomain.com I want to hide the *whateverdomain.com* (because is my hosting provider. Just learning some useful things. please look at www.icaam.com.ar/mass-mailer.php I just got bored of receiving mass email from this list. fooling around ;-) mailto:[EMAIL PROTECTED] Cesar Aracena CE / MCSE+I Neuquen, Argentina +54.299.6356688 +54.299.4466621 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php loopholes
10 out of 10 for that.. the only loopholes that everexist in development software come from microsoft themselves. oh yeah that reminds me I should run my windows update again LOL Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 9 Jul 2002, Chris Taylor wrote: Hi every1, i am currently undertaking some research into PHP security and its flaws / loopholes etc. What i am looking for is information on any aspects of PHP that can be hacked or cracked and how developers have got around these problems. If there were any holes in PHP itself, they'd get fixed quickly and a security updated would be released, rendering your research obsolete. This isn't Microsoft we're talking about. If you mean common programming errors that PHP developers tend to make, well, I'd say search the web - there are many, many sites about this topic. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset
that seem always to be the prob with any php coding now days globals on or off Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... register_globals on or off? On Tue, 9 Jul 2002, Preston Wade wrote: Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: isset
It's kinda like microsoft nothing really works unless you have Internet Explorer and the internet LOL Preston Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: isset
i think what you're trying to do is ?php if($REQUEST_METHOD == POST) { echo Form has been submitted.; exit; } else { echo Display the form that has to be submitted.': exit; } ? Preston Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: isset
oh ok. that is easy to forge then try the script that i wrong earliers... it's must safer. Preston Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Actually here is what I am trying to do. ?php if (isset($submit)) { echo Submitted!; } ? form action=?=$PHP_SELF ? method=post blah, blah input type=submit name=submit value=Submit /form -Original Message- From: vins [EMAIL PROTECTED]@INTERNET@HHC Sent: Tuesday, July 09, 2002 5:35 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: isset i think what you're trying to do is ?php if($REQUEST_METHOD == POST) { echo Form has been submitted.; exit; } else { echo Display the form that has to be submitted.': exit; } ? Preston Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset
i agree to that Kevin Stone [EMAIL PROTECTED] wrote in message 05e601c22799$657262f0$6501a8c0@kevin">news:05e601c22799$657262f0$6501a8c0@kevin... Look at that we get an easy question and 50 people reply. Today has just been our day for spam. *LOL* :) -Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Preston Wade [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 09, 2002 4:37 PM Subject: Re: [PHP] isset form method=post input type=submit name=submit /form if (isset($_POST['submit'])){} // or // if (isset($HTTP_POST_VARS['submit'])) If register globals is ON you can access the variable directly.. if (isset($submit)) {} Otherwise you can extract the post array before testing the variable.. extract($_POST); if (isset($submit)) {} Hope this gets you started. Read up on the manual. http://www.php.net. :) -Kevin - Original Message - From: Preston Wade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 09, 2002 4:20 PM Subject: [PHP] isset Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE: ############
i was just about to flip when i saw # for the subject line LOL I agree to that. we would all be blind right now... LOL I've already sent a zip file and the details of Erik to the abuse ppl at online.no to let them know about Erik David H [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... An eye for an eye makes the world go blind. Mahatma Gandhi I think we should just kick him out of the list. Notify his ISP and black list him on the web. David --- Steve Bradwell [EMAIL PROTECTED] wrote: agreed. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: [PHP] RE: lets all spam Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Moderator where are you, delete me...
ppl ppl ppl relax... I unsubscribed the guy already you guys are late LOL Cheerz ;) Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Someone should sign this guy up for a hotmail account and check every box for spam there is. PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Oh look, there's how I unsubscribe. PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Oh look, there it is again. And what do you want to bet it will be at the bottom of this message, too? *mutter* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PLZ HELP -- - GET POST form problem
Globals Globals Globals.. PHP Needs that without globals it's like a man without balls LOL Cheerz Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Server Apache / PHP v.4.1.2 At the moment the parametere register_globals is still set to on; I'm triyng to use $_POST and $_FILES between different pages, but variables are always empty !!! Is 'track_vars' turned *ON* in php.ini? That's the one that fills in all those variables. If your version of PHP is too old you'll need $HTTP_POST_VARS instead of $_POST and similar. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Time to Calculate Time
Hey there ppl.. One dam thing i've been trying to figure out for about 2 weeks now it how the hell to calculate time. i have variables $Start, $End each with a timestamp 2 hours apart (2002070714, 2002070716) respectively How do i calculate those to timestamps to get the answer 2? I've tried working them into unix timestamps and then calculating but no luck... any one got any ideas ?? Thanx Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Time to Calculate Time
That looks great. But why do you have to carage the line after 3 in the function ? Danny Shepherd [EMAIL PROTECTED] wrote in message 022001c22696$087e4cc0$0200a8c0@DANNYS">news:022001c22696$087e4cc0$0200a8c0@DANNYS... You just knew there was a regexp version on the way, didn't you :) Danny. ?php function unixTime($time) { $time=preg_replace('/(.{4})(.{2})(.{2})(.{2})(.{2})(.{2})/','\\1/\\2/\\3 \\4:\\5:\\6',$time); return strtotime($time); } $time1='2002070714'; $time2='2002070716'; $timeDiff=unixTime($time2)-unixTime($time1); echo The two times are $timeDiff seconds apart; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Time to Calculate Time
Never mind that just needs a space Thanx for all the help... have a surf to http://forum.ywait.co.za/ register and then i'll make you a MOD for the php scripting forum board. for the future. if you want Cheerz Danny Shepherd [EMAIL PROTECTED] wrote in message 022001c22696$087e4cc0$0200a8c0@DANNYS">news:022001c22696$087e4cc0$0200a8c0@DANNYS... You just knew there was a regexp version on the way, didn't you :) Danny. ?php function unixTime($time) { $time=preg_replace('/(.{4})(.{2})(.{2})(.{2})(.{2})(.{2})/','\\1/\\2/\\3 \\4:\\5:\\6',$time); return strtotime($time); } $time1='2002070714'; $time2='2002070716'; $timeDiff=unixTime($time2)-unixTime($time1); echo The two times are $timeDiff seconds apart; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] I feel so stupid asking this question....LOL
How do i alternate the row color again. You get so used to dreamweaver doing everything for you and now when dreamweaver doesn't want to work back to notepage. But to remember how to alternate row colors... I'm lost. PLZ PLZ PLZ PLZ LOL :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problme with PHPMyAdmin.
My phpMyAdmin keeps caching it'self. How do i disable it. I'm using apache 2 and php4.2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ::::: PHPMYADMIN ERRORS-REFRESH. PHP4 or Apache 2?? :::::::
My phpmyadmin scripts doesn't want to refresh. what could be the problem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Apache-2.0.35 + 4.2.0RC4: not seeing index.php
I'm guessing that you've set the default directory index in the conf file for apache2 as follows. Directory Index index.html index.php ??? If I'm right, then change that to Directory Index index.html Directory Index inde.php Every new index add a new directive on a new line. Works for me. Cheerz David Jackson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm trying to trouble shoot a problem with a site hosted on a local ISP. They're running Slackware-8.0,apache-2.0.35 and PHP4.2.0RC4 and virtual hosting? The problem is the site not seeing index.php as default directory index? The SA assured me that both the DirectoryIndex and AddType are setup up correct? My question is what do they need todo to correct this, and how can I recreate this error? I'm running Slackware-8.0, Apache-2.0.35 and PHP4.2.0? Also I beleive there maybe some secruity issues with their PHP configure, phpinfo() returns the following for Configure Command (NO --enable-track-vars or --enable-force-cgi-redirect): './configure' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--prefix=/usr/local/php4' Thanks in advance, David Jackson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: How do I Install PHP on Apache 2, on win32
It doesn't look like it works. move back to 1.3.24 there are no probs there Philip Newman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... How do I Install PHP on Apache 2, on win32? I would like to install the ISAPI module? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] » PHP Installation Problems «
I have installed php4 with apache 1.3.24. Downgraded apache again. LOL When I wan't to submit a form from say form.php to from2.php with the following fields : input field name=stuff input stuff contains Hello World when i submit form.php form2.php displays nothing. I've set form2.php to echo $stuff; My php4 installation doesn't seem to be sending my variables. but the funny thing is that phpmyadmin works 100% fine. what could be the problem ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP4.2.0 + Apache2.0.34 on Win32 Concluded.
Hi There. All is sorted out now. Installation of PHP4 and Apache2 on win32 has been a difficult task. To load the sapi flavour (module) into apache2 try the following. Add these lines into your configuration file for Apache2. LoadModule php4_module c:/PHP/experimental/apache2filter.dll AddType application/x-httpd-php .php Forget the AddModule directive it's fallen away. To complete your installation Turn Register Globals on and then restart your Apache2 Server. All good. Thanks to all win32php gurus. :) Kindest Regards Vincent Kruger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] »» Headers Question ««
I have already asked this question. had everything sorted out. Monday night, hdd crashed. Thank heavens, compliments of yahoo briefcase, i got all my websites up and running again. but i lost this one piece of code. I've check the phpdigest online and nothing. All i remember from the code is: filename=foo.txt LOL A lady helped me with this code. it was pretty acurate and worked well. I need to place a header, to let me download the file without actually saving the file to disc. For example, PHPMyAdmin, when you save your database structure they let you specify where to save the file. I need that header code. Please Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hey PHP PPL - Great Question !!!
Session Data. What is the best. to save in database, or to save as file ??? let me know. Cheerz Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Hey PHP PPL - Great Question !!!
For example: one form... - First name - last name - address - country - phone - email - mobile number After you click submit on the first page, it sends you to a preview data page where you can check all the data. instead of inserting tons of hidden input form fields and waist download time, use a session. after the button on the preview page is clicked, submit to a save page, where data will be entered into a db but all values my be called from the session. now would it be wise, faster and more safer to use a database or a file to save the sessions ? Vins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Session Data. What is the best. to save in database, or to save as file ??? let me know. Cheerz Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Append a line to a text file
That is a dam good question LOL I would also love to know how2 append text to the END of a file. Vins Rodrigo [EMAIL PROTECTED] wrote in message 000f01c1ef08$debba1e0$6e48bbac@rodirgo">news:000f01c1ef08$debba1e0$6e48bbac@rodirgo... I need to add a email to the text file that is already written, but I get the file writen over , so I always get only the last email send by the form. What I need is a form that get the e-mail and it writes the email at the end of a text file. Thanx, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] Re: Header question
in order to add a new line to a mail header you need not use '\n' you MUST use '\r\n' otherwise no headers will be sent. Dean Ouellette [EMAIL PROTECTED] wrote in message 001901c1ef06$697b3910$0200a8c0@yoda">news:001901c1ef06$697b3910$0200a8c0@yoda... Not sure what is happening. Still getting same error. As soon as I remove \nX-Mailer: PHP/.phpversion() I get the error message ___- May be you just made incorrect modification... Correct php code: ?php $Subject = Look at this, I think you will like it; //The Emails subject $Message = Your message here; $Email[] = [EMAIL PROTECTED]; reset ($Email); while (list(, $To) = each ($Email)) { @mail ($To,$Subject,$Message,From: $EmailSender\nReply-To: $EmailSender); } ? Best regards, Yuri. www.AceHoster.com - your one stop web hosting shop Original Message From: Dean Ouellette [EMAIL PROTECTED] To: 'Yuri Petro' [EMAIL PROTECTED] Subject: [PHP] Re: Header question Now I get an error says Parse error: parse error in /usr/local/psa/home/vhosts/sitename.com/httpdocs/involved/friendsubmit.p hp on line 165 Line 165 is a /tr -Original Message- From: Yuri Petro [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 28, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Header question Just replace the last line with: @mail ($To,$Subject,$Message,From: $EmailSender\nReply-To: $EmailSender); -- Kind regards, Yuri. www.AceHoster.com Quality web hosting Dean Ouellette [EMAIL PROTECTED] ???/ ? ?: 000e01c1eef4$07cbeb40$0200a8c0@yoda">news:000e01c1eef4$07cbeb40$0200a8c0@yoda... I have a tell a friend script and got the php script from a friend to make it work. I am a newbie so still do not fully udners stand it. Here is the problem, it puts the following at the top of each e-mail: X-Mailer: PHP/4.1.2 Here is the script: ?php $Subject = Look at this, I think you will like it; //The Emails subject $Email[] = [EMAIL PROTECTED]; reset ($Email); while (list(, $To) = each ($Email)) { @mail ($To,$Subject,$Message,From: $EmailSender\nReply-To: $EmailSender\nX-Mailer: PHP/.phpversion()); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] I've Got It :: Windows PHP Users Read This
if you get errors trying to include files cannot find include file in c:/php4/pear/ open up your php.ini and find the windows include path directive. paste this there include_path = ./ will sort out that error have fun Vins :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: new guy
check my new post I've Got IT :: Windows Users Read This will sort your prob out Cheerz Vins Don Tait [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Running Apache 1.3 , XP Pro, and PHP 4.2 but get this: Can't find this ref: in apache conf nor php.ini Warning: Failed opening '/inetpub/wwwroot/test.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] help needed with headers
I would like to create a text file that doesn't save to disk but askes me to save the file. like when i click on a zip file from a website, ie asks me to save the file to somewhere. how do i create the file and then tell my browser to ask the user to save the file somewhere ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] I have a real stumper!!
I run php4.1.2 on a windows xp professional system compiled with apache. when i call config.php it returns an erorr. can't find include file in c:/php/pear now i've played around and figured out that in my config.php file i include another file called mysql.ini i include it like this ... includeincludes/mysql.ini; thats when it gives the error. buy if i say ... include./includes/mysql.ini; the error doesn't show and the script runs perfectly. there is an error in my php.ini file somewhere i can't seem to find it. any suggestions ?? Please help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Translation Request--Altavista Babelfish can't do it
if(!ereg(^#(.)*$, $buffer[$i])) { echo ok; } what does this mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: include() and require() problem
I'm also having a problem with including file into and include file. my script reads. ( (strpos($PHP_SELF,admin/)) ? include('../includes/mysql.inc.php') : include('includes/mysql.inc.php') ); mysql_pconnect($mysqlDBhost,$mysqlDBuser,$mysqlDBpass) or die (Database access error. Please contact the site webmaster at $webmasterEmail.); mysql_select_db($mysqlDBdatabase) or die (Couldn't Select Database. Please contact the site webmaster at $webmasterEmail.); my server is running php4.1.2 and there is not problem i am also running php4.1.2 but reads back a problem. this one Warning: Failed opening 'includes/mysql.inc.php' for inclusion (include_path='c:\php4\pear') in D:\Apache\htdocs\auction4sale\includes\config.inc.php on line 47 Database access error. Please contact the site webmaster at . any suggestions ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP MySQL Hosting services
you get unlimited traffic. here it is very cheep. so they can offer a great service. www.wthosting.cjb.net and they also don't pay for a domain. so that means even more cheeper prices. LOL they crazy. I know they guy, his way of thinking is free is better for the client and for them client gets cheeper prices. they get more moeny. works, you should see what he drives The_radix [EMAIL PROTECTED] wrote in message 002801c1e481$34c849e0$3300a8c0@oracle">news:002801c1e481$34c849e0$3300a8c0@oracle... What's the URL of host.. Ahh za. I have seen them.. They also run a free php hosting service.. Yes ok but how much downloads/transfer off server do you get?? ::: Julien Bonastre [The-Spectrum.org CEO] A.K.A. The_RadiX [EMAIL PROTECTED] ABN: 64 235 749 494 Mobile: 0407 122 268 QUT Student #: 04475739 ::: - Original Message - From: Vins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 15, 2002 7:12 AM Subject: [PHP] Re: PHP MySQL Hosting services Hey. I have the best hosting you can get. for only $46 p/m ALL THIS... 400 MB web space Execution of Custom CGI scripts Support for PERL Support for C and C++ Support for SSI Support for GCC Support for GD Support for 5 independent MySQL Databases Own URL in the format Extensive Support Forum 99,9% Uptime 24/7/365 Network Monitoring Power Back-up Generator Daily Back-ups Web Site Control Panel FTP User Login 25 POP3 Accessible Mailbox(es) Unlimited E-mail Aliases Online Mail Administration Tool Online Web Mailbox Advanced E-mail Forwarding E-mail Auto Responder Form to e-mail CGI script (cgiemail and formmail.pl) Access to CGI Counter and Counter Configurations Tool Daily Log Files Graphic Statistics Report Disk Usage Monitor Full range of MIME types Execution of PHP scripts (PHP4) Telnet Access (activated on request) SSH Access (activated on request) Microsoft Frontpage 2000 Extensions (activated on request) 5 Databases with MySQL CGI Shopping Cart Custom CGI Support for SSI Perl C, C++ GCC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP MySQL Hosting services
Hey. I have the best hosting you can get. for only $46 p/m ALL THIS... a.. 400 MB web space a.. Execution of Custom CGI scripts a.. Support for PERL a.. Support for C and C++ a.. Support for SSI a.. Support for GCC a.. Support for GD a.. Support for 5 independent MySQL Databases Own URL in the format www.your-name.co.za Choice of local / int. server 30-Day Moneyback Guarantee Extensive Support Forum 99,9% Uptime 24/7/365 Network Monitoring Power Back-up Generator Daily Back-ups Web Site Control Panel FTP User Login POP3 Accessible Mailbox(es) 25 Unlimited E-mail Aliases Online Mail Administration Tool Online Web Mailbox Advanced E-mail Forwarding E-mail Auto Responder Form to e-mail CGI script (cgiemail and formmail.pl) Access to CGI Counter and Counter Configurations Tool Daily Log Files Graphic Statistics Report Disk Usage Monitor Full range of MIME types Execution of PHP scripts (PHP4) Telnet Access (activated on request) SSH Access (activated on request) Microsoft Frontpage 2000 Extensions (activated on request) Databases with MySQL 5 CGI Shopping Cart Custom CGI Support for SSI Perl C, C++ GCC begin 666 clip_image001.gif M1TE.#EA`*`*(``+^_OQ\?'S,S,V9F9@```/___P```'Y! `` M+ `*``H`0 ,A6+JL,$,L *Y.#B!B:#%T%W#\D33(HYE88U:`7#8U]P) `#L` ` end -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP MySQL Hosting services
Hey. I have the best hosting you can get. for only $46 p/m ALL THIS... 400 MB web space Execution of Custom CGI scripts Support for PERL Support for C and C++ Support for SSI Support for GCC Support for GD Support for 5 independent MySQL Databases Own URL in the format Extensive Support Forum 99,9% Uptime 24/7/365 Network Monitoring Power Back-up Generator Daily Back-ups Web Site Control Panel FTP User Login 25 POP3 Accessible Mailbox(es) Unlimited E-mail Aliases Online Mail Administration Tool Online Web Mailbox Advanced E-mail Forwarding E-mail Auto Responder Form to e-mail CGI script (cgiemail and formmail.pl) Access to CGI Counter and Counter Configurations Tool Daily Log Files Graphic Statistics Report Disk Usage Monitor Full range of MIME types Execution of PHP scripts (PHP4) Telnet Access (activated on request) SSH Access (activated on request) Microsoft Frontpage 2000 Extensions (activated on request) 5 Databases with MySQL CGI Shopping Cart Custom CGI Support for SSI Perl C, C++ GCC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] IMAGING WITH PHP
How would I find out the image size ratio so that I could resize and image without the image pixelating ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IMAGING WITH PHP
There is nothing in there about image ratios but let me double check again. maybe it was my error and if so... forgive me I'm from South Africa LOL Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Sunday 14 April 2002 02:08, Vins wrote: How would I find out the image size ratio so that I could resize and image without the image pixelating ? Manual Image functions -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* QOTD: If you're looking for trouble, I can offer you a wide selection. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] IMAGING WITH PHP
nope i'm not wrong. no functin to determine the image ratio Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Sunday 14 April 2002 02:08, Vins wrote: How would I find out the image size ratio so that I could resize and image without the image pixelating ? Manual Image functions -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* QOTD: If you're looking for trouble, I can offer you a wide selection. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP 4.1.2 - does not work. !
I've had the same problem Apache no work ! IIS5 No work ! Septic Flesh [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Anyone manage to recompile php4.1.2 and use successfully ? I use slack8, apache 1.3.24. When I install php 4.1.1 it works fine. When I install php4.1.2 Apache doesnt work. error: apache cannot start. . could not load libphp4.so , not defined compress. The libphp4.so is there . . but only the one from version 4.1.1 works.. any idea ? cheers. -- Sapilas@/dev/pinkeye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi to you anti-spammers HAHA
Happy Happy Easter. and to all you peeps out there who don't celebrate this day. Hope you enjoyed your day. And just too keep the cool How do i run that script that give all the information about php ? Someone told me the you type PHPINFO(); but it sometimes doesn't work Cheerz Spammer Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] .::. THIS IS WHAT YOU'VE ALL BEEN WAITING FOR .::.
1 Dollar = 10 South African Rands for the best prices in the world www.auction4sale.co.za CHECK IT. Stand a chance to win a new cell phone when you register and sell something. Once you've added your auction, tell all your friend about it. You are also added to the competition when you bid on an item. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] www.auction4sale.co.za
www.auction4sale.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Qmail Question
I have qmail on my server. I've set up and email address to send all incoming mail to a php script. How would I break down the message and read the to field and the from field etc. where can i find information on that ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SPAM
Lets define that Large quantities of email sent to large ammounts of email address at one time. I posted 2 messages. You people take everything too seriously. I'm sure you've also doen it once in you life before. And a message for bvr and caspe kennerdale. You are obviousely Americans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SPAM
oh dam and American that can actually speak some Traditional Afrikaans that makes absolutely no sense. listen check the south african afrikaans gramma website before trying to message me with shit like that Bvr [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Yeah, pretty obvious .. you must have figured that from the .NL extension to my e-mail address.. Lemme guess, .ZA that's Japan nie waar nie ?? You are obviously not an expert so don't make us filthen this list with (anti-)SPAM messages and stupid off-topic definitions. THANKS! bvr. Vins wrote: Lets define that Large quantities of email sent to large ammounts of email address at one time. I posted 2 messages. You people take everything too seriously. I'm sure you've also doen it once in you life before. And a message for bvr and caspe kennerdale. You are obviousely Americans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SPAM
well, lets just clasify that as a dis to your name Caspar Kennerdale [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... And a message for bvr and caspe kennerdale. You are obviousely Americans setting the record straight- this is a huge assumption- and I'm not american, and you didnt even spell my name correctly! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Qmail Question
well. just a small translation... i will climb through my monitor and out yours and beat the living shit out of you Bvr [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm west-european, and I don't want to fuck with you and I don't know what it's like.. THANKS AGAIN. bvr. Vins wrote: Listen here. I'm south african. You wouldn't want to fuck with. I'm sure you know what we all are like. Watch what you say - Original Message - From: bvr [EMAIL PROTECTED] To: Vins [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, March 30, 2002 2:24 PM Subject: Re: [PHP] Qmail Question -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] banner ads
phpadsnew is good. well developed program and it's making me tons of cash Boaz Yahav [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What about phpAdsNew? http://www.phpadsnew.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: tom hilton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 11:11 PM To: [EMAIL PROTECTED] Subject: [PHP] banner ads Hi, does anyone know of a simple banner ad rotation script that can rotate animated gifs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SPAM SPAM SPAM
SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM love it. cheerz all -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] GOOD, now that we've all stopped our pettiness including me, back to qmail
I need help with qmail could anyone help me? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php