[PHP] Who's having a good hosting experience these days?
Hello, My hosting service which WAS cool about 2 years ago has grown into a bloated mess of zero logic. My clients are going nuts, I'm sick of having mistakes and problems created by the hosting service be the only reason I have any problems to deal with at all!!! My clients aren't rich big money folks but I need a PHP capable host for about $11ish or less a month. Traffic is minimal, and like I say the only tech support calls I've had to make this past year were when the hosting service tweeked and freaked something thus messing it all up. Thanks, -Marcus -- ||| Marcus Unlimited http://marcusunlimited.com Multimedia Internet Design and Education ||| -- | Limited Time Offer! | Download the Recordings of Chromaticus | FREE! @ http://ampcast.com/chromaticus | Complete song files and Sci-Fi Loops for | programs like Reason, Flash, Premiere | Logic, Cubase, Recycle, Acid, FruityLoops, | and many, many, more!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Q:Anybody using PHP directly on Mac-OSX???
Hello, I love PHP but I haven't gotten deep into it because of the issue of needed to upload it to my hosts server to test it. I'd love to get REALLY good with PHP, advanced shopping cart stuff, DB etc. but I just know the way my mind works and unless its a simple one click to test it on my desktop, well you know. So, anybody out there have PHP installed on their local home desktop Mac OSX box able to test by a quick "preview in browser" from say an app like BBedit? -Marcus -- ||| Marcus Unlimited http://marcusunlimited.com Multimedia Internet Design and Education ||| -- | Limited Time Offer! | Download the Recordings of Chromaticus | FREE! @ http://ampcast.com/chromaticus | Complete song files and Sci-Fi Loops for | programs like Reason, Flash, Premiere | Logic, Cubase, Recycle, Acid, FruityLoops, | and many, many, more!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Q:Why is my code returning this? Help?
Hello, As mainly a designer w/ HTML and JS php is usually just an end of site add on to process forms and I LOVE php! I've been away from PHP coding for about a month and I can't figure out what I'm forgetting here is partial of the form, the php handler, and the final email I get. If you see some syntax I'm botching let me know please. Title... Mr. Ms. Mrs. *First Name: *Last Name: *Mailing Address: *City, State, Zip: .. THE PHP HANDLER... Your form has been proccessed and sent to ... " ); ?> AND FINALLY THE SENSELESS EMAIL I GET AT THE END... My name is , , , I am looking for a loved one. here is my contact information: , , , , , Phone Number: Fax: The best time to call is My email address is .. What in the world? Did I forget everything PHP taught me? What the heck are those weird commas from and I could swear a form element named "xname" is called in php via $xname ??? Please let me know what you see, -Marcus PS, I just ran phpinfo(); on my server and it looks like all the others that work. -- Marcus James Christian UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://www.mp3.com/chromaticus and http://chromaticus.com -- 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] Re: FIGURED OUTQ:Why is my code returning this? Help?
Before anyone tries to hard to figure this out I looked over my code and fixed this. The answer was that I had more than one form on the same page calling to one php handler page, -Marcus Marcus James Christian wrote: > Hello, > > As mainly a designer w/ HTML and JS php is usually just an end of site > add on to process forms and I LOVE php! > > I've been away from PHP coding for about a month and I can't figure out > what I'm forgetting here is partial of the form, the php handler, and > the final email I get. If you see some syntax I'm botching let me know > please. > > > > Title... > Mr. > Ms. > Mrs. > > > > *First Name: > > *Last Name: > > *Mailing Address: > > > *City, State, Zip: > > .. > > THE PHP HANDLER... > > Your form has been proccessed and sent to ... > > $to = "[EMAIL PROTECTED]" ; > $subject = "A Dale Commons web site visitor is requesting information!"; > > $message_raw = "My name is $fname, $lname > \r$r1a, $r2a, $r3a\r$r1b\rhere is my contact information:\r$title, > $fname, $lname, \r$m_address,\r$city_state_zip,\rPhone Number: > $phone\rFax: $fax\rThe best time to call is $time_to_call\rMy email > address is $e_address"; > > $message_stripped = stripslashes($message_raw); > > mail ($to, $subject, $message_stripped, "From: > <[EMAIL PROTECTED]>" ); > ?> > > AND FINALLY THE SENSELESS EMAIL I GET AT THE END... > > My name is , > > , , > I am looking for a loved one. > here is my contact information: > , , , > , > , > Phone Number: > Fax: > The best time to call is > My email address is > > .. > > What in the world? Did I forget everything PHP taught me? What the heck > are those weird commas from and I could swear a form element named > "xname" is called in php via $xname ??? > > Please let me know what you see, > -Marcus > > PS, I just ran phpinfo(); on my server and it looks like all the others > that work. > > -- > Marcus James Christian UNLIMITED > Multimedia Internet Design > http://mjchristianunlimited.com > > Proudly presents the music of CHROMATICUS > at http://www.mp3.com/chromaticus > and http://chromaticus.com -- 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] Q:Syntax for a space? ...like \n is for new line???
Hello, How do you call for a space in an email put out by mail(); ? Similar to the way we call \n newlines with backslash n?? Thanks, Marcus -- 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] Filtering out \ when a ' is user entered?
Hello, I'm pretty new to PHP but all I've seen of it so far I pretty much love! I've built a web log but when the user enters their data and they use ' or " (and you know they will) php always shows it from the included web log as \' How can I filter out these backslashes so they don't appear on the final public viewable page? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com -- 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] Filtering out \ when a ' is user entered?
To all of your who sent so many great answers I would like to say thank you! THANK YOU! THANK YOU! I ended up using strip slashes and it worked perfectly on only my second attempt of putting it into the code! Thanks, Marcus Marcus James Christian wrote: > Hello, > > I'm pretty new to PHP but all I've seen of it so far I pretty much love! > > I've built a web log but when the user enters their data and they use ' > or " (and you know they will) php always shows it from the included > web log as > > \' How can I filter out these backslashes so they don't appear on the > final public viewable page? > > Thanks, > Marcus > > -- > Marcus James Christian - UNLIMITED - > Multimedia Internet Design > http://mjchristianunlimited.com > > -- > 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] -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Q: Best EZ & Free Mailing List Manager?
Hello, I need to add a Subscribable and Unsubscribable Email mailing list to a site. I'm just not in my usual break out the books and learn 1000 new things vibe this month. So... What do you superpowered pro's recommend as the best, easiest and free Email Mailing list manager, app, or cut and paste etc.? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] MAIL to a Bcc: ???
Hello, How do I change the value of the "TO:" in a mail() function to a value of Bcc: ? Or at least trick the mail to a Bcc:So the recipients emails aren't shown? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Blind Carbon Copies? with mail ()???
Hello, I want to send Blind Carbon Copies or Bcc: to a huge 100-200 person mailing list. But the PHP mail() has a to, subject, body format. How can I get a Bcc: in there? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Blind Carbon Copies? with mail ()???
Man that is awesome! Can the Bcc in the headers somehow be a $variable ? Thanks, Marcus Matthew Loff wrote: > (Have the To: address be yourself, or a mail account that simply dumps > to /dev/null) > > $to = "[EMAIL PROTECTED]"; > $subject = "Subject of Message"; > $message = "blah blah blah..." > $headers = "From: Optional Name of List <[EMAIL PROTECTED]>\nBCC: > [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]"; > > mail($to, $subject, $message, $headers); > > That's how I do it... > > -Original Message- > From: Marcus James Christian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 9:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Blind Carbon Copies? with mail ()??? > > Hello, > > I want to send Blind Carbon Copies or Bcc: to a huge 100-200 person > mailing list. > > But the PHP mail() has a to, subject, body format. > > How can I get a Bcc: in there? > > Thanks, > Marcus > > -- > Marcus James Christian - UNLIMITED - > Multimedia Internet Design > http://mjchristianunlimited.com > > Proudly presents the music of CHROMATICUS > at http://chromaticus.com > and http://artists.mp3s.com/artists/275/chromaticus.html > > -- > 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] -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] MAIL to a Bcc: ???
Sebastian, Thanks and do you know of a place where I can get a printed book of the actual PHP manual, already printed? I hate printing out those huge PDF files and I can't stand reading on screen directions while trying to learn them. Thanks, Marcus Sebastian Wenleder wrote: > At 18:02 Uhr -0700 10.07.2001, Marcus James Christian wrote: > >Hello, > > > >How do I change the value of the "TO:" in a mail() function to a value > >of Bcc: ? > > > >Or at least trick the mail to a Bcc:So the recipients emails aren't > >shown? > > Hi Marcus, > > $headers="Bcc:[EMAIL PROTECTED]\n"; > $headers.="Subject: Your Subject\n"; > $msg="The Message"; > > mail("[EMAIL PROTECTED]","Subject, will be overwritten...",$msg,$headers); > > BTW, You could have found that in the manual... > > best, > > Sebastian -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Mail Bcc to a $variable?
Hello, Ok I've got a script going to a Bcc but can't seem to get it to work when it's like this? \nBCC:$recipients"; include("password.inc"); if($mailusername == $username && $mailpassword == $password); { mail($to, $subject, $bodytext, $headers); }; ?> So how do I get mail to Bcc a variable like $recipients? Recipients being a huge text file of hundreds of email addy's. -Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Mail Bcc to a $variable?
Like this... $headers = "From: Me <[EMAIL PROTECTED]>\nBCC:$recipients\n"; Or somewhere else? Thanks, Marcus Russell Chadwick wrote: > Try a newline at the end of $headers > > -Original Message----- > From: Marcus James Christian [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 10:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Mail Bcc to a $variable? > > Hello, > > Ok I've got a script going to a Bcc but can't seem to get it to work > when it's like this? > > include("mailinglist.inc"); > $recipients = "mailinglist.inc"; > $headers = "From: Me <[EMAIL PROTECTED]>\nBCC:$recipients"; > > include("password.inc"); > if($mailusername == $username && $mailpassword == $password); > { > mail($to, $subject, $bodytext, $headers); > }; > > ?> > > So how do I get mail to Bcc a variable like $recipients? Recipients > being a huge text file of hundreds of email addy's. > > -Marcus > > -- > Marcus James Christian - UNLIMITED - > Multimedia Internet Design > http://mjchristianunlimited.com > > Proudly presents the music of CHROMATICUS > at http://chromaticus.com > and http://artists.mp3s.com/artists/275/chromaticus.html > > -- > 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] -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Q: Hiding Folder Directories from public while still...
Hello, How does one do the trick of hiding a folder's directory listing from a public browser? i.e. Lets say the full address is www.mysite.com/php/magicphppage.php Well I still need some other files to read and write to magicphppage.php I don't want the public to be able to simply type www.mysite.com/php/ and have all of my php files show up on a funky "virtual directory". Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com Proudly presents the music of CHROMATICUS at http://chromaticus.com and http://artists.mp3s.com/artists/275/chromaticus.html -- 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] Q: Hiding Folder Directories from public while still...
Hmm so lets say in my "images" folder for the site if I just put an index somewhere in there it prevents access? Man that would be so cool. I really don't need some big security thing happening with .htaccess etc, that would be way overkill thanks, Marcus Jon Yaggie wrote: > i dont know if this is elagant but ti works. but a fake index.htmlin your > directory for browsers to default to. . .. > > - Original Message - > From: "Marcus James Christian" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 03, 2001 12:30 AM > Subject: [PHP] Q: Hiding Folder Directories from public while still... > > > Hello, > > > > How does one do the trick of hiding a folder's directory listing from a > > public browser? > > > > i.e. Lets say the full address is www.mysite.com/php/magicphppage.php > > > > Well I still need some other files to read and write to > > magicphppage.php I don't want the public to be able to simply type > > www.mysite.com/php/ and have all of my php files show up on a funky > > "virtual directory". > > > > Thanks, > > Marcus > > > > -- > > Marcus James Christian - UNLIMITED - > > Multimedia Internet Design > > http://mjchristianunlimited.com > > > > Proudly presents the music of CHROMATICUS > > at http://chromaticus.com > > and http://artists.mp3s.com/artists/275/chromaticus.html > > > > > > > > -- > > 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] -- Marcus James Christian -- UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com -- 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] Easiest Automated mailing list concept?
Hello, I've been having quite a challenging ordeal making a simple custom mailing list using PHP. The part where automatically added names happen to an external file works but if I put line breaks in it drops them from their hidden Bcc list. Which is a no can do for this. Then when I don't put in line breaks from the string somewhere after many names the machine automatically puts a line break in and leaves this very uncool three or four most recent names sitting in the top part of the emails body!? Help, Marcus -- Marcus James Christian -- UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com -- 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] Easiest Automated mailing list concept?
It's LINUX and I don't own the server I lease it from affordablehost.com Thanks, Marcus Justin French wrote: > What platform is the server? Unix? Win98? > It shouldn't be putting line breaks in. > > Do you have access to MySQL? If so, that may be a solution. > > Justin French > > Marcus James Christian wrote: > > > > Hello, > > > > I've been having quite a challenging ordeal making a simple custom > > mailing list using PHP. > > > > The part where automatically added names happen to an external file > > works but if I put line breaks in it drops them from their hidden Bcc > > list. Which is a no can do for this. > > > > Then when I don't put in line breaks from the string somewhere after > > many names the machine automatically puts a line break in and leaves > > this very uncool three or four most recent names sitting in the top part > > of the emails body!? > > > > Help, > > > > Marcus > > > > -- > > Marcus James Christian -- UNLIMITED > > Multimedia Internet Design > > http://mjchristianunlimited.com > > > > -- > > 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] -- Marcus James Christian -- UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com -- 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] Q: Kill all line brk's and white space on output?
Hello, I've got this cool auto add email mailing list that is simply a .txt file that PHP writes to. So the visitor goes to a form types in their email addy and is automatically added to the .txt file which is then read when the boss wants to send out to the entire list. This thing works perfectly except for one prob. Every time some one adds them self to the list (mainly me testing right now) their addy is added on the next line down yet when I view the code I have NO \r or \n asking to add a line break. So my question is Is there a way to say ..."Write to the file emailaddys.txt and suck out all line breaks, returns, and white space?" i.e. make sure each address butts itself up against the next with just the comma separating them. I know this would work because when I manually go to the .txt file and delete the white space till all the email addy's are back to back this app works great! Thank you in advance my friends -Marcus -- Marcus James Christian -- UNLIMITED Multimedia Internet Design http://mjchristianunlimited.com -- 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]