[PHP] Create Your Own Script Directory
For any of you interested, I've created a set of scripts that let you run your own PHP Scripts Directory, like the /PHP/Scripts_and_Programs/ directory of HotScripts for example. I originally made this for my own site, but I decided to release it to the public instead =) It has all the usual features a site like this should have, which can be found on the page below, and also has a precompiled database of 3,375 scripts which can optionally be inserted. http://www.nukedweb.com/phpscripts/phpscriptindex.php If you do decide to set this script up, and plan to keep it running, let me know! I'd like to keep tabs on who's actively using the script. I'll be creating another script that lets people submit the scripts they've written to all the sites from one page. But don't email me here, I can't find replies to my messages here ;) Just use the Contact link on my site. ~ Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Free MySQL Hosting...again
I had a little trouble with my cable modem before, but the Free MySQL Hosting is back up if any of you are interested. =) http://mysql.nukedweb.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Can you guys do me a favor?
I just started a service on my website, for free TopSite Hosting. It's had great exposure from Hotscripts.com, in fact, my "Remote-Hosted Search EWngine" service has taken off quite well. The only problem here is that people just don't seem to take to it too well. I haven't had one person sign up, and I don't know why! Not many people contact a website with bug issues, and I think that's what I need here! Anyways, the favor I'm asking, if you're even slightly interested in this idea, to create your own TopSite, set it up on your site, and email me with any bugs, comments and suggestions. If running your own TopSite isn't your cup o' tea, then you can join the TopSite I've already created, for PHP sites (the URLs for all of these are below). I could also use the help so I can create an administration panel for TopSite owners, to edit/remove TopSites, and check if their code is on their page. I haven't been able to create this feature since no one's signed up yet ;) Also email me with bugs/comments/suggestions if you help me this way too! I'll greatly appreciate all of it. :) Create a TopSite: http://www.nukedweb.com/topsites/ Top 10 PHP Sites: http://www.nukedweb.com/topsites/topsites.php?ts=php Please don't reply to this email! I'll never be able to find it ;) Use the Contact link on the menu on the website. :) Also, if you're interested (here comes the shameless plug), if you'd be interested in selling my PHP scripts on your website and making a little extra money, check out: http://www.nukedweb.com/phpscripts/affiliates.php Many thanks in advance! ~ Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Multple Form Values with Same Name
I'm working on converting a pre-existing website for a company, from something called Lasso, into PHP. This domain name registration site uses the same form value, "$Suffix" as the checkbox values for all the TLDs they offer. I was originally under the impression PHP would put them all into an array, $Suffix[0] $Suffix[1] etc... I assumed it, but never tried it cuz I didnt need to till now. Is this the way it's suppose to be, or is it returned another way? Right now, $Suffix returns the value of only one of the checkboxes (the last one in the queries list I assume). ~Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Free MySQL Hosting :)
As a project I'm working on that will later manifest into something more, I'm offering free MySQL hosting on one of my servers. Just enter the desired username and password, and 3 databases will be created for you to use from your PHP scripts. The info you'll need to connect to the MySQL server will be provided. Don't expect some grand website when you click the URL, it's just a simple page I put up that does nothing but create the databases. :) http://64.53.137.236:82/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] New Site to submit your scripts to..
I've recently finished creating a Script Index (almost identical to HotScripts) for people to submit their PHP (and Perl) scripts. The database right now is over 7,000 (both PHP and Perl), but only because I've collected the data from other sites. If you have a script, I ask of you to submit it here. :) Think of it as one more place to have your script noticed, and rank one notch higher in the search engines, as well as helping out another script index site. :) PHP Scripts: http://www.nukedweb.com/php/ Perl Scripts: http://www.nukedweb.com/perl/ You can submit scripts by browsing to the correct category and clicking the Add a Script link at the top. Indexes are recompiled a few times a day. :) Also, if you have a website directed at other webmasters, feel free to submit it to the Website Resources Index at http://www.nukedweb.com/webresources/ :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php query for mysql table
select * from yourtable where question like '%life%' -- Original Message -- From: "Wolfgang Schneider" <[EMAIL PROTECTED]> Reply-To: "Wolfgang Schneider" <[EMAIL PROTECTED]> Date: Mon, 20 Aug 2001 12:22:15 +0200 >Hi > >I am a newbie to php + mysql and wanted to ask for some help on a >particular item which I can't seem to find "the right key" in the >documentation. I am trying to set up a simple Q&A system with an entry >page where one can select to either have all questions & answers from a >mysql database displayed or else search with a text field for only >those questions which contain a certain word(s). > >Can someone tell me how to set in a query when trying to find records >in a mysql table that have a certain word or perhaps 2 or 3 words >(among others) ...? > > I know about using SELECT and WHERE in order to find records which >match *exactly*, but am looking for something a bit different ... > >Example: >The values of 3 records for the "question" field of the database might >be the following: > >[1] How do you deal with anger? >[2] Ever been full of anger in your life? >[3] Is life always easy? > >How can I set a PHP query with SELECT and WHERE to express the >following: > >Which questions contain the word "life"? That is, have someone search >the database in the "question" field for records where the word "life" >is used as part of the question ... The result then should return the >records 2 & 3 above > >Any help is greatly appreciated. Thanks mucho. >God bless you with His grace and peace >Wolfgang > >Looking for Biblical information? COME AND SEE! >-- ONLINE Courses: http://classes.bibelcenter.de ... NEW! >-- BibelCenter: http://www.bibelcenter.de >-- Bookstore: http://www.worthy.net/BibelCenter/ > > > > >-- >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 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] confusing problem w/sessions
start your session before sending any html output to browser check that register_globals is on if not use $HTTP_SESSION_VARS("a") instead to reference your session var assign a value after having initialiazed your var not before -- Original Message -- From: "Gabriele Biondo" <[EMAIL PROTECTED]> Date: Mon, 20 Aug 2001 14:34:35 +0200 >Dear sirs; >i have a simple snippet of code : >session_start(); >$a = 10; >session_register("a"); >?> > >i am trying to understand how do session work. > >Accessing at this document directly from the server (it is a SuSE 7.2 PE - >running PHP 4.0.4 >and apache 1.3.9) i find out the following problem: > >Warning: cannot send session cookie - headers already sent (output started >at ) > >and > >Warning: cannot send session cache limiter - headers already sent (output >started at ) > >The matter is that if i access this variables from another page, they seem >to be empty... > >How can i solve this little confusing problem? > >Thanks in advance > >Gabriele > > >-- >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 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] Marketplace Framework
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Marketplace Framework
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MySQL Connection in Session ?
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Persistent MySQL Connection
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Persistent MySQL Connection
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Persistent MySQL Connection
Hi everyone, I currently running my php as cgi as it is more controllable in shared hosting, the drawback is I cannot use mysql persistent connection so mysql_pconnect() function is not an option. Is there any mysql connection pool product for php running as cgi ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Evaluating form posts
Hello everyone, I had an apache server running with php 5. Now I installed unix on that pc and apache and php 5. I am using some forms on web pages and get their values by writing $foo = $_POST["foo"]; Since I 'upgraded' to unix i am getting a double backslash for each backslash entered on the form and '\"' for every '"'. Could someone please tell me what's going on? Did I miss a part of the FAQ? (The form looks like ) Thank you in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Evaluating form posts
Thanks to you all, I decided to turn that stuff off since the stripslashes function returned not exactly the same I get when it's turned off. On Sun, Sep 12, 2004 at 11:44:40PM -0700, Chris Shiflett wrote: > --- Alexander Kleshchevnikov <[EMAIL PROTECTED]> wrote: > > You should chech for configuration of magic quotes gpc. > > Use get_magic_quotes_gpc() function: > > > > $foo = get_magic_quotes_gpc() ? stripslashes($_POST["foo"]) : > > $_POST["foo"]); > > I agree. However, stripslashes() doesn't necessarily undo addslashes(). If > you want to know why or see more discussion on that, search the PHP > internals archive. I think it was within the last 3 months or so that this > was discussed. > > The best option is to turn that stuff off, but if you can't, I bet the > fix_magic_quotes() function will be helpful. It can be found here: > > http://education.nyphp.org/phundamentals/PH_storingretrieving.php > > That page also describes why it's best to not use magic_quotes. > > Hope that helps. > > Chris > > = > Chris Shiflett - http://shiflett.org/ > > PHP Security - O'Reilly > Coming December 2004 > HTTP Developer's Handbook - Sams > http://httphandbook.org/ > PHP Community Site > http://phpcommunity.org/ > > -- > 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