SOWPub Small Business Forums  
 

Click Here to see the latest posts!

Ask any questions related to business / entrepreneurship / money-making / life
or share your success stories (and educational "failures")...

Sign up for the Hidden Business Ideas Letter Free edition, and receive a free report straight to your inbox: "Idea that works in a pandemic: Ordinary housewife makes $50,000 a month in her spare time, using a simple idea - and her driveway..."

NO BLATANT ADS PLEASE
Also, please no insults or personal attacks.
Feel free to link to your web site though at the end of your posts.

Stay up to date! Get email notifications or
get "new thread" feeds here

 

Go Back   SOWPub Small Business Forums > Main Category > Original SOWPub Forum Archive
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old June 10, 2002, 11:44 PM
Joel
 
Posts: n/a
Default Re: Any php Installers Here

Hi, Steve. I am a php programmer I was just being sarcastic as to not have to get technical. I felt like I was taking too much time on that topic lol

BUt what you posted is extremely helpful for any new programmer I wanted to laugh when I realized that was preventing some scripts to work. But since then, I make sure the php.ini error reporting has a standard setting so I never have to worry about that again, so long as I can control it. Sadly, some web hosts seem to be a bit picky about changing the php.ini ;)

Thanks

> If we define a variable that is a
> connection to the database:
> $db_something =
> @mysql_connect("yourhost",
> "database",
> "password");
> if (!$db_something) {
> echo( "(p)Unable to connect to the
> database.(/p)" );
> exit();
> }
> (brackets used in place of html angle
> brackets in code above)
> ... the "@" tells the function to
> fail silently and displays your
> custom error message rather then the MySQL
> default error message.
> There is a complete package you can
> download from sourceforge.net
> that you can double-click on and it will
> automatically install the Apache
> Server Software, PHP, MySQL, and PHPAdmin to
> test scripting on your local
> machine.
> Best Regards,
> Steve MacLellan
>
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is On
Forum Jump

Other recent posts on the forum...


Seeds of Wisdom Publishing (front page) | Seeds of Wisdom Business forum | Seeds of Wisdom Original Business Forum (Archive) | Hidden Unusual Business Ideas Newsletter | Hotsheet Profits | Persuade via Remote Influence | Affia Band | The Entrepreneur's Hotsheet | The SeedZine (Entrepreneurial Ezine)

Get the report on Harvey Brody's Answers to a Question-Oriented-Person


All times are GMT -4. The time now is 02:42 PM.


Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.