Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
2008/12/19 Gary Maddock-Greene g...@maddock-greene.co.uk: Thanks Stuart, Logs are no enabled and I generate this line: #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken Sorry this is only my

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
suggestion php -1 ... not sure how to!! Fair enough, just use the error log. -Stuart -- http://stut.net/ Stuart stut...@gmail.com wrote in message news:a5f019de0812190516r3cdcdacana356320f39a8d...@mail.gmail.com... 2008/12/19 Gary Maddock-Greene g...@maddock-greene.co.uk: Thanks Stuart

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
) That line is not valid code. I'm guessing it's part of a comment that has mistakenly been broken across 2 lines. -Stuart -- http://stut.net/ Stuart stut...@gmail.com wrote in message news:a5f019de0812190516r3cdcdacana356320f39a8d...@mail.gmail.com... 2008/12/19 Gary Maddock-Greene g...@maddock

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Stuart
an interesting resolution beyond the usual drinking/smoking/eating less? I intend to spend less non-work hours sat in front of a computer and blog/twitter more. Those two are probably mutually exclusive but I'm giving it a shot ;-) Happy new year all. -Stuart -- http://stut.net/ -- PHP

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Stuart
are limited to 255 chars (IIRC) in length. text: for all intents and purposes these have unlimited length (4GBish IIRC). There is a page in the MySQL manual that explains all of the data formats. Google for mysql data formats and you'll likely get it. -Stuart -- http://stut.net/ -- PHP General

Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread Stuart
suggest you try the YouTube developers site - I'm sure there's a resource there that can help you... http://youtube.com/dev -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread Stuart
the functionality of a third party API. -Stuart -- http://stut.net/ On Jan 7, 2009, at 4:40 AM, Stuart wrote: 2009/1/7 L. Herbert lherb...@iluvmydesign.com: Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight

Re: [PHP] Remote File Variable Injection Safety?

2009-01-07 Thread Stuart
to make it more difficult, but checking the IP is far better IMHO. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Stuart
2009/1/7 Ross McKay ro...@zeta.org.au: Oh, and for a column with a limited range of values, enum beats 'em all! Got anything to back that up? http://www.mysqlperformanceblog.com/2008/01/24/enum-fields-vs-varchar-vs-int-joined-table-what-is-faster/ -Stuart -- http://stut.net/ -- PHP General

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Stuart
. It needs work and they need to pay for it. If they object tell them you can work around the issue but it means potentially exposing the site to potentially fatal security risks. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Remote File Variable Injection Safety?

2009-01-07 Thread Stuart
. There is no security there. OP: Does otherhost.com run the code or return it? -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini

2009-01-14 Thread Stuart
mail server. I believe PHPMailer supports this - check it out... http://phpmailer.codeworxtech.com/ -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic Authentication

2009-01-14 Thread Stuart
complicated than that. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Stuart
FTW!! -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Stuart
, so don't ever LEAVE PHP ALONE!! ;-) -Stuart -- http://stut.net/

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Stuart
2009/1/17 Nathan Rixham nrix...@gmail.com: Stuart wrote: 2009/1/17 Nathan Rixham nrix...@gmail.com: Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties, parameters

Re: [PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Stuart
is less than simple, but I can't recall the details. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Stuart
and acknowledge that. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Stuart
. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple queries in PHP

2009-01-25 Thread Stuart
have no problems so long as all calls to mysql_query happen on the same DB connection so you might want to start using the linkid parameter. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Non-traditional software accessing my website

2009-01-26 Thread Stuart
with your publicly accessible site, which is a battle you can't win. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Stuart
gambling that you'll get more with a fixed annual fee. But remember that it is a gamble. Either way make sure there's a written agreement that details exactly what's included in any fixed fee. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Make New-Age Money Online with Google

2009-01-27 Thread Stuart
the trouble of signing up, unless hey have bots now that can sign up to mailing lists? Yes they do - it's not hard, but you don't actually need to subscribe to PHP mailing lists to post to them. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Need Help resolving the undefined variable and getting property of non-object errors

2009-01-27 Thread Stuart
at the line it points you to and confirm the variables it contains have the values you think they should. This is basic debugging. Spending time resolving these errors yourself is time well spent, and the more you do it the easier it becomes. -Stuart -- http://stut.net/ -- PHP General Mailing List

Re: [PHP] New to PHP question

2009-01-28 Thread Stuart
'); echo That's\n; echo Not\n; echo Entirely\n; echo Accurate.; ? -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Stuart
sure what you're asking. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Throwing an exception seems to defeat output buffering

2009-02-03 Thread Stuart
:/h2' . $ex-getMessage()); } I'm exercising that code on PHP 5.2.4 and 5.2.8. Does anybody know why throwing an exception seems to override ob_start(), flushing the buffered output? It doesn't, but the end of the script performs an implicit flush. -Stuart -- http://stut.net/ -- PHP

Re: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-04 Thread Stuart
with the session. What exactly are you trying to achieve? -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-04 Thread Stuart
actually trying to achieve because they're wanting to know how to do something that's not possible so the question is flawed. Rant over. -Stuart -Mensagem original- De: Stuart [mailto:stut...@gmail.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 07:52 Para: TS Cc: php-general

Re: [PHP] How can I do the opposite of property_exists(), maybe a create_property() in PHP5?

2009-02-04 Thread Stuart
or protected property you should be able to set its value from within the class without involving the magic methods. Hope that makes things a bit clearer. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Stuart
. How can I correct this ? The default_mimetype applies to the headers returned to browsers by PHP, it does not have any effect on emails you send. To send HTML email I would suggest you use phpmailer[1] because it makes the whole process quite painless. -Stuart [1] http

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Stuart
working to. I've built websites at every level of complexity and every level of user base and I'm yet to find the one size fits all mix of software. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Preserving History

2009-02-05 Thread Stuart
also records inserts and updates to create a complete record. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] long echo statement performance question

2009-02-06 Thread Stuart
doing it hundreds of thousands of times per script it makes little difference how you do it. In short it's usually not worth optimising at this level since greater gains are certainly to be had by looking at your interaction with databases or other external resources. -Stuart -- http://stut.net

Re: [PHP] Session variables

2009-02-07 Thread Stuart
. Cookies are not stored on the server side, they are sent by the client with each request. No additional HTTP requests are involved when using sessions. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread Stuart
then, assuming MySQL you can use mysql_insert_id to get the ID of the last record inserted on a given connection. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread Stuart
2009/2/7 revDAVE c...@hosting4days.com: On 2/7/2009 11:41 AM, Stuart stut...@gmail.com wrote: Then, after I inserted the record - I would do a quick query that would retrieve the record ID by searching for the random number Ouch that's nasty!! Q: is there a better way to retrieve

Re: [PHP] PHP usage stats

2009-02-08 Thread Stuart
, and therefore pretty useless. Why anyone would see value in such a number is beyond me. IMHO the community that exists around it and the number of jobs out there requiring PHP should be enough to convince anyone that it's not an insignificant player. -Stuart -- http://stut.net/ -- PHP General Mailing

Re: [PHP] Appending query result sets?

2009-02-08 Thread Stuart
.$r2; I suppose they could be read into an array then output that way, but I was hoping to more easily just append the result sets. Best place to do this is in the SQL query with a UNION. http://dev.mysql.com/doc/refman/5.0/en/union.html -Stuart -- http://stut.net/ -- PHP General

Re: [PHP] PHP usage stats

2009-02-08 Thread Stuart
2009/2/8 tedd tedd.sperl...@gmail.com: At 3:54 PM + 2/8/09, Stuart wrote: 2009/2/8 tedd tedd.sperl...@gmail.com: I wasn't able to find a lot of information, but here's a useful link: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Tedd, that's a list

Re: [PHP] PHP usage stats

2009-02-08 Thread Stuart
2009/2/8 tedd tedd.sperl...@gmail.com: At 8:44 PM + 2/8/09, Stuart wrote: 2009/2/8 tedd tedd.sperl...@gmail.com: just trying to get a handle on the number of people who program in php -- what's wrong with wanting to know that figure? There's nothing wrong with wanting to know

Re: [PHP] php validate user password

2009-02-09 Thread Stuart
from passwords. By removing characters you're significantly reducing the number of possible passwords. -Stuart Jan G.B. wrote: 2009/2/9 Andrew Williams andrew4willi...@gmail.com: Can some body help out on how to validate user password from the database? There are several possibilities

Re: [PHP] php validate user password

2009-02-09 Thread Stuart
2009/2/9 Jan G.B. ro0ot.w...@googlemail.com: 2009/2/9 Stuart stut...@gmail.com: I would also advise against stripping and trimming anything from passwords. By removing characters you're significantly reducing the number of possible passwords. Surely, the stripping should only be done when

Re: [PHP] PHP usage stats

2009-02-09 Thread Stuart
turning in their heads. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP usage stats

2009-02-09 Thread Stuart
the only couple installations I've seen have been on Windows/IIS). You could get a reasonable ballpark from something like netcraft, but I think Stuart is right on the money when it comes to the problems you'll have with margin of error. For that matter, I wonder how useful some of the newer smashups

Re: [PHP] PHP OOP

2009-02-09 Thread Stuart
around. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP usage stats

2009-02-09 Thread Stuart
your margin of error is, the numbers will be meaningless as a measure of language usage. Having said that it's been a while since I wrote a spider, shame I don't have time to have a go at the moment. Have fun ;-) -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP usage stats

2009-02-09 Thread Stuart
2009/2/9 Daniel Brown danbr...@php.net: On Mon, Feb 9, 2009 at 15:21, Stuart stut...@gmail.com wrote: I would advise you against wasting your time because there is no reliable way to tell what systems a server is actually using to serve pages. Nearly all sites I work on these days use

Re: [PHP] Generate unique login token

2009-02-09 Thread Stuart
($_SERVER['REMOTE_ADDR'].microtime(true)); -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for some PHP OO programming guides

2009-02-10 Thread Stuart
://php.net/oop -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help on caching an object.

2009-02-11 Thread Stuart
of DB queries against a serialised file? Do some tests and you might be surprised at how quickly PHP can unserialise data. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help on caching an object.

2009-02-11 Thread Stuart
://www.php.net/unsub.php Yup, that's really hard!! -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to post XML via curl?

2009-02-11 Thread Stuart
to send XML? Any other curl options I should be setting? I tried urlencoding() the $xml, I tried htmlspecialchars(), I tried nothing at all, I tried amp and is there a best practice for how a big block of xml should be posted? -Stuart -- http://stut.net/ -- PHP General Mailing List (http

Re: [PHP] Best way to post XML via curl?

2009-02-11 Thread Stuart
of it is. As a test try setting $postArgs = $xml. If I'm right it might either work or give you and authentication error. -Stuart On Feb 11, 2009, at 4:56 PM, Stuart wrote: curl_setopt($ch, CURLOPT_HTTPHEADER, array(Content-Type: text/xml)); Drop the above line and I reckon it should work

Re: [PHP] Best way to post XML via curl?

2009-02-11 Thread Stuart
. -Stuart On Feb 11, 2009, at 5:08 PM, Stuart wrote: 2009/2/12 Brian Dunning br...@briandunning.com: This line is the key. WITH the line, I get a properly formatted XML response from the server, telling me that I did not send any valid post fields. WITHOUT the line, all I get back from

Re: [PHP] PhpMyAdmin Help Needed

2002-10-16 Thread Stuart
with the phpMyAdmin configuration file. My guess is that you have the case wrong. Try http://localhost/~pgarcha/phpMyAdmin/index.php -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Free compiler for Win

2002-10-30 Thread Stuart
-accelerator.php I hope that helps. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regular expression problem

2002-11-01 Thread Stuart
, this is not the case. A sizable chunk of the text at the start of the variable has been lost and I cannot figure out why. Can anyone give me any pointers? Thanks. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Outputting multiple images

2002-11-07 Thread Stuart
?'.rand(1000,).''; -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Other Notice problem...

2002-11-08 Thread Stuart
command display nothing. If i have register_globals=on, then the echo command displays the value buy this way is deprecated. How can i run the script without problems having register_globals=off? p02.php code: ... ... echo $_GET['pp']; ... ... -- Stuart -- PHP General Mailing List (http

Re: [PHP] Other Notice problem...

2002-11-08 Thread Stuart
on. -- Stuart p02.php code: ... ... echo $_GET['pp']; ... ... -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Other Notice problem...

2002-11-08 Thread Stuart
). You can use other variables in the same way as you ever did. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini

2002-11-08 Thread Stuart
probably find it there, you'll have to copy it there yourself. The easiest way to find out where PHP expects your php.ini to be is to create a page that calls phpinfo() - the configuration file location is near the top of the output. -- Stuart -- PHP General Mailing List (http://www.php.net

Re: [PHP] Windows Environment Variables

2003-11-26 Thread Stuart
Rodney Green wrote: $blah = shell_exec (echo %ComputerName%); Eww, evil. Try http://php.net/getenv -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wrong output with a FORM - PLEASE HELP

2003-11-27 Thread Stuart
A. Mikkelsen wrote: But when I ECHO 'new_loc_path' in a function I get S:\\Script\\License\\ But I want go get S:\Script\License\ http://php.net/strip_slashes You might also want to look into the magic_quotes_gpc option in php.ini. -- Stuart -- PHP General Mailing List (http

Re: [PHP] Wrong output with a FORM - PLEASE HELP

2003-11-27 Thread Stuart
Stuart wrote: http://php.net/strip_slashes http://php.net/stripslashes (oops, sorry) -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Stuart
('user_agent', 'Mozilla/5.0'); $url = 'http://www.google.com/search?q=php'; $fp = fopen($url, r); while (!feof($fp)) { $buffer = fread($fp, 1024); echo $buffer; } ? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Stuart
Nick Wilson wrote: * and then Stuart declared 2) If you want to query google you're better off using the google SOAP API - it's legal for a start. See the following for more info... http://www.google.com/apis/ http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html and http

Re: [PHP] How to use anchor with php post string to jump to a page???

2003-12-12 Thread Stuart
, like so... a href=http://www.yourserver.com/yourpage.htm?color=red#RowNum3 target=docJump/a -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] enable_trans_sid problem

2003-12-12 Thread Stuart
any problems. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP LDAP query - need to add Exchange fields

2003-12-18 Thread Stuart
(this is from experience, I have no reference to back this up but would appreciate it if someone else has any info on the LDAP implementation in Excahnge 5.5+). I would guess from your question that 'office' is one of the fields that is not. -- Stuart -- PHP General Mailing List (http

Re: [PHP] _ENV

2004-01-09 Thread Stuart
'] -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] deamon / server

2004-01-09 Thread Stuart
Decapode Azur wrote: Is it possible to make php scripts working like deamons and build something like a server? Yes. http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Fw: Intermitent problems retreiving PDF's from a MySQL database.

2004-01-10 Thread Stuart
internet explorer. There are no error messages in the apache log or the mysql log. Does anyone have any idea what is going on?!? This is most likely an issue with the client-side (i.e. the Acrobat IE plugin) and not PHP given that restarting IE (i.e. restarting the plugin) solves it. -- Stuart

Re: [PHP] picturing webpage

2004-01-10 Thread Stuart
of pages on your site in its reports. It runs on Windows and appears to load the page in and embedded IE instance then takes a screenshot. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Uplaod

2004-01-11 Thread Stuart
the default value of 2MB. Try setting it and see what happens. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php doesn't work in html files

2004-01-11 Thread Stuart
according to PHP's installation docs, you either need to rename index.html to index.php or tell the web server to run .html files through PHP (refer to the PHP manual for details on how to do this). -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] picturing webpage

2004-01-11 Thread Stuart
and is then periodically updated unless no requests are made for it after a certain period. But I'm just making a slightly educated guess. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array Key Test

2004-01-12 Thread Stuart
Cameron B. Prince wrote: How would I go about determining if a specific key exists in an array? http://php.net/isset I want to see if $conf['hOpt'] is defined. is_array only works at the $conf level. I tried count(array_keys($conf, 'hOpt')), but always get 0. if (isset($conf['h0pt'])) -- Stuart

Re: [PHP] Accessing a website from within a php script

2004-01-13 Thread Stuart
= fread($fp); print $contents; fclose ($fp); print '/body/html' . \n; ? fread takes 2 parameters: the file pointer and the number of bytes to read. See http://php.net/fread for full info. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] How to compare between two values?

2004-01-16 Thread Stuart
that will introduce you to the fundamentals of PHP. There is a list of titles here: http://php.net/books -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Schedule an Event with PHP

2004-01-16 Thread Stuart
like running a PHP script as a daemon and getting web requests to check each time but neither of those are anywhere near as reliable or efficient as cron. Why don't you want to use cron? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong with these Codes!!!!???

2004-01-20 Thread Stuart
... which is actually a good thing. Feel free to include snippets of code, ideally 3-4 lines before and after the line specified in the error message, but I (and I'm sure many others) on this list would prefer it if you didn't send attachments - I get enough crap in my mailbox as it is. -- Stuart

Re: [PHP] Cookie Guestion

2004-01-20 Thread Stuart
portrayed as bad guys. As John says, they're not if they're used correctly, but it only takes one high-profile example of improper use to tarnish a reputation forever. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running PHP as a CGI, chasing my own tail....

2004-01-20 Thread Stuart
application/x-httpd-php .php .phtml Action application/x-httpd-php /php/php.exe See here: http://uk.php.net/manual/en/install.apache.php If Apache 2, I'm not sure what they steps are, but I ask again, why can't you use the module? [1] http://uk.php.net/manual/en/install.apache.php -- Stuart

Re: [PHP] Running PHP as a CGI, chasing my own tail....

2004-01-21 Thread Stuart
have both the module and the CLI version running at the same time. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Suggestion on executing external programs from within php

2004-01-21 Thread Stuart
'); system('/usr/local/bin/process_file file1 '); system('/usr/local/bin/process_file file2 '); Should work in theory. Haven't test it though. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie issues with control structures HTML form

2004-01-22 Thread Stuart
Jonno Agnew wrote: if ($guessnumb) { Try $_GET['guessnumb'] or $_POST['guessnumb'] if the form is posted. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird problem with objects

2004-01-23 Thread Stuart
(); $this-accessory = new accessory(); $this-order = new order(); -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: RE : [PHP] Weird problem with objects

2004-01-23 Thread Stuart
one of which will get deleted at the end of the function. By assigning the reference (that's what the gets) only one object is created. Does that make sense now? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Suggestion on executing external programs from within php

2004-01-23 Thread Stuart
is redirected to a file or some other output stream or else PHP will hang until the execution of the program ends. So try this... system('/usr/local/bin/process_file file1 /dev/null '); system('/usr/local/bin/process_file file2 /dev/null '); -- Stuart -- PHP General Mailing List (http

Re: [PHP] Shared mod_php doesn't always load php.ini

2004-01-23 Thread Stuart
) problem? /snip I may be way off base here (I am far from an expert on apache), but I think when you use mod_php, the php.ini is only loaded one time, right when apache starts up. Some of the other posters can probably tell you if I am correct or not. Yup, that's correct. -- Stuart -- PHP General

Re: [PHP] Why we love Microsoft (0t)

2004-01-24 Thread Stuart
the action MS would take. The lucky fscker got the latter. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seems Simple enough

2004-01-26 Thread Stuart
is undefined. Are you sure that variable exists and is actually set to 1? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seems Simple enough

2004-01-26 Thread Stuart
/fontbr\n; } elseif($Balance = ) { echo font color=\red\\$$Balance/fontbr\n; } else { echo font color=\purple\\$$Balance/fontbr\n; } -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seems Simple enough

2004-01-26 Thread Stuart
and commas it will make it a text variable and will no longer equate to 1. You need to format it after the comparisons. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] order by

2004-01-27 Thread Stuart
christian tischler wrote: Is there a way wuth php to create a list ordered by more than one column like in excel or access. something like ORDER BY points AND score Use http://php.net/usort and use both 'columns' in the comparison function. -- Stuart -- PHP General Mailing List (http

Re: [PHP] Writing CRON jobs!

2004-01-27 Thread Stuart
Hamid Hossain wrote: Is there any good reference on how to use CRON (I mean on the net)? I need to fire some PHP pages at scheduled time daily or weekly, ... so on. http://www.google.com/search?q=cron+tutorial+php -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Googlebot

2004-01-27 Thread Stuart
Hartley, Matt wrote: Is Googlebot (or any other bot) able to follow links that are php? e.g. a href=Contact.phpContact Us/a a href=Product.phpimg src=Images/product.jpg width=110 height=111 border=0/a Yes. Is there a way to invite bots to your site? For most, yes. -- Stuart -- PHP General

Re: [PHP] Googlebot

2004-01-27 Thread Stuart
this, but it depends on the purpose of the spider and the philosophy it follows. There are many, many, many, many, many, ..., many, many resources on search engine optimisation all over the web. Use them. Find them with... you guessed it... Google! -- Stuart -- PHP General Mailing List (http://www.php.net

  1   2   3   4   5   6   7   8   9   10   >