Re: [PHP] Help with functions.

2002-02-28 Thread Greg Donald
for code you intend to use multiple times. ---- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Greg Donald
#x27;s how you do it, javascript. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP Genera

RE: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Greg Donald
lient side language. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP General

Re: [PHP] PHP Help

2002-03-02 Thread Greg Donald
and going back to using vim and editplus. Learn the code or hire someone, not much way around it else. -- --- Greg Donald - http://destiney.com/ http://phprated.com

Re: [PHP] fopen(FTP....)

2002-03-02 Thread Greg Donald
e? Does it work when you try with actual values instead of posted variables? -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ ---

Re: [PHP] fopen

2002-03-02 Thread Greg Donald
manual/en/ref.strings.php -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP General Mailing List (http://www

Re: [PHP] Checking how many users are logged in?

2002-03-02 Thread Greg Donald
t, from http://phplinks.org/.; -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Returning error code from a function

2002-03-02 Thread Greg Donald
get_html())>0) //do something else // do nothing -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Each() behaving different with PHP 4.1.2

2002-03-02 Thread Greg Breland
quot;; } echo "\n"; echo " \n"; If $navigationLinks is NOT declared as "static", then the code will work with PHP 4.1.2. It works both ways with 4.0.6. Just an FYI and wondering if anyone knows why? Greg Breland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache & PHPMyAdmin

2002-03-03 Thread Greg Donald
is a DNS issue. What you want is a canonical domain name, some folks refer to them as 'C' names also. You will need to request this addition with your isp. Also, a new virtual host will need to be added to Apache's config file. -- ------

Re: [PHP] header generation problem

2002-03-03 Thread Greg Donald
tion. Ideas? Thanks. I usually program dynamic image names when I encounter this. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -

Re: [PHP] Sessions Help

2002-03-03 Thread Greg Donald
is automatic or not, --enable-trans-sid, have a look at: http://www.php.net/manual/en/ref.session.php http://www.php.net/manual/en/install.configure.php -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://

Re: [PHP] live Counter

2002-03-04 Thread Greg Donald
uff. To have something dynamic like you described, you would need to incorporate something with dynamic client side capabilities, something like javascript, or java. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://

Re: [PHP] form variables

2002-03-04 Thread Greg Donald
odify both pages or just the input form? -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP Genera

Re: [PHP] phpMyAdmin Change Root pwd ... Now no access

2002-03-11 Thread Greg Donald
th .ini's > >What am I missing here...should I juyst remove the password from "root" ? Edit config.inc.php, line 49-ish, change the root user's password from null to whatever.. -- --- Greg Donald -

Re: [PHP] WHOIS in PHP

2002-03-18 Thread Greg Donald
On Mon, 18 Mar 2002, Brian wrote: >Hi: >Does anyone out there know how to execute a WHOIS query from within PHP? quick and dirty: #!/usr/bin/php -q -- --- Greg Donald - http://destiney.com/ http://phprated.com/

Re: [PHP] web spider?

2002-04-15 Thread Greg Donald
htdig and it works swell for small projects where you need to index a small to medium sized website for later searching. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.

[PHP] ODBC to Access with Autonumber Field

2001-11-20 Thread Greg Sohl
Hi, Does anyone have an example of Inserting a record to a table in an Access database where one of the fields is an Autonumber field, and most importantly, retrieving the value of the newly inserted Autonumber field? I'm looking for the equivilant of mysql_insert_id() for ODBC. Thanks.

[PHP] Ojects and sessions

2001-11-25 Thread Greg Sidelinger
s the object I get an error. Here is what I am trying right now. This is from an example in the Docs. Can some one please point me in the right direction on how to get objects stored in my session vars. Greg Sidelinger

[PHP] Objects and sessions

2001-11-26 Thread Greg Sidelinger
Can someone tell me how to store a class in a session var. I want to test to see if it has been defined and if not create it. I'm having problems with it right now. This is what I'm trying currently temp=1; } } session_start(); if ( !isset( $c )

[PHP] mysql update query

2001-12-04 Thread Greg Sidelinger
using the correct columns names. Could someone please point me in the correct direction because I have been trying different things for a while but can't seem to get it to work. Greg

[PHP] ldap_rename

2001-12-13 Thread Greg Ulyatt
o say the LDAP implementation in PHP is amazing! -- Greg Ulyatt REDNET Ltd. UNIX Systems Administrator High Wycombe, Bucks, UK -- 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 administ

Re: [PHP] fgets and eval

2001-12-18 Thread Greg Donald
mplate parsing function I wrote: $header = str_replace("\\'","'",addslashes($header)); eval("\$header = \"$header\";"); Greg -- 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] outputting db content

2001-12-19 Thread Greg Schnippel
> Does anyone have a quick example of how you would show X > numbers of database records at a time from a query? (you > know, list 25 of 400 records with next/previous navigation)... I've used this code snippet and lots of projects and it seems to work pretty well. Would appreciate advice on

[PHP] ldap rename, anyone? help!

2001-12-19 Thread Greg Ulyatt
but every time I try anything with the ldap_rename function, it comes back as an unsupported call (protocol error). Does anyone out there know why this would happen and how to get ldap_rename working? OR can someone give me a good idea of how to change a DN with PHP? help! -- Greg Ulyatt

Re: [PHP] outputting db content

2001-12-19 Thread Greg Donald
php, I think I named the function like 'nav' or something. Greg -- 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] Delaying Printed Output

2001-03-24 Thread Greg Scott
Is it possible using PHP to print a single line of text to a browser, have a second or two delay and then print the next line, etc. etc.? Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Delaying Printed Output

2001-03-24 Thread Greg Scott
for a total of 4 seconds and then it displays all the text at once, not one line at a time - which is what I'm after. Greg -- 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] Delaying Printed Output

2001-03-24 Thread Greg Scott
> You might try using flush() after the prints. > I tried that too, but at least in Netscape 6, it still waits until everything is done before displaying. I think Jack must be correct that this isn't possible for browser display. Thanks, Greg -- PHP General Mailing

Re: [PHP] Delaying Printed Output

2001-03-25 Thread Greg Scott
program I have can use to create FLASH files so I guess I'll try that route and just warn him that he may be eliminating some web visitors this way (actually I'll probably keep the old PHP slide show and give them an option). Thanks everyone for your input into this. Greg -- PH

RE: [PHP] Size Limit for PHP scripts

2001-03-30 Thread Greg Donald
You might check to see if there is some kind of endless loop, it's not like PHP to just die without a reason. Looks like you got plenty of hardware there, so it must be your code... ;) > -Original Message- > From: Wally Hartshorn [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 30, 2001

RE: [PHP] No-refresh

2001-03-30 Thread Greg Donald
> Dvaid. Many methods exist, cookies and sessions come to mind first... Greg -- 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] More questions about installing.....

2001-03-30 Thread Greg Donald
e. What > did I forget? You forgot to set that particular file extension in your httpd.conf to be parsed as PHP... Here's mine: AddType application/x-httpd-php .php4 .php3 .phtml .php .inc Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

RE: [PHP] More questions about installing.....

2001-03-30 Thread Greg Donald
> Ah, but there my friend is the rub. I did put that in. > > .And, all the conditions for the modules are there and > specifically the > module for php4 is present and the conditional is there. I tried > putting the > line above in the wide open (outside a conditional) but that made narr

[PHP] phpLinks 2.0b Released

2001-04-01 Thread Greg Donald
phpLinks v2.0b is released. - http://phplinks.org/ Changes - http://phplinks.org/changelog Download - http://phplinks.org/?show=download Please note, this is a beta release. Regards, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-CVS] Bug in Autoconf with latest CVS

2001-04-05 Thread Greg Kopp
I got this after I d/l'd the CVS: [root@voyager php4]# ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.3.5 (ok) rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' re

Re: [PHP] WebMail client

2001-06-19 Thread Greg K
Try squirremail at http://www.squirrelmail.org ""Rosen"" <[EMAIL PROTECTED]> wrote in message 9gnf7f$dsk$[EMAIL PROTECTED]">news:9gnf7f$dsk$[EMAIL PROTECTED]... > Hi, > I want to find some Web Mail script in PHP with possibilities to > create mail accounts directly on Linux Mail server. > > Than

Re: [PHP] Search engine php/mysql

2001-06-20 Thread Greg Donald
expressions and string functions: http://php.net/manual/en/ref.regex.php http://php.net/manual/en/ref.strings.php Greg -- 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

[PHP] fgetc()

2001-06-22 Thread Greg Donald
Is it possible to read in binary data as the client side of a stream using fgetc()? In particular, is it possible to delimate string separation using \0 as a delimiter? All attempts to recognize and or read the \0 character fails. Thanks, Greg -- PHP General Mailing List (http://www.php.net

Re: [PHP] passing variables from - to frames

2001-06-26 Thread Greg Donald
> Hello, sorry this question here (it is not true PHP question), but I use > some variables into PHP scripts and need > pass these variables from one frame to another. > > I want pass variable values between frames, these definded via input > hidden tags into form definition. > I have first frame

[PHP] phpLinks

2001-07-14 Thread Greg Donald
phpLinks 2.1 beta is released. http://phplinks.org/ Thanks, Greg -- 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] Anybody using Miva or hosted at Hosting4All?

2001-07-15 Thread Greg Donald
> Is anybody on this list hosting an e-commerce site with Hosting4All? > Or, has anybody had any experience with the "Miva Engine" which > Hosting4All provide "free of charge" (i.e. as part of the > subscription fee)? I used Miva before. It was slower than java... It sucked.

[PHP] sendmail scripts -which user?

2001-07-18 Thread Greg Robillard
I would like to use the PHP Mail() function. I know that my script that uses it works, because I have used it on another server. But there seems to be a problem with sendmail, and whether I can send email as an anonymous user (noboby). Anyone have any thoughts on this one? Thanks, Greg

[PHP] fopen() issue

2001-07-19 Thread Greg Donald
Why would fopen() refuse to open this url with numbers in it: http://www.555-1212.com/ ? The same code has no issues with urls like http://www.yahoo.com/ or http://slashdot.org/. And it resolves ok on the same box: +-(greg@bajor) +-(~)> nslookup 555-1212.com Server: bajor Address: 0.0.

[PHP] Mysterious MYSQL Error..

2001-07-22 Thread Greg Schnippel
tion as to why its breaking but nothing works. I even uninstalled and reinstalled all of the packages, thinking it had something to do with a windows dll file or something annoying like that but no luck. Any ideas? Anyone encountered a problem like this? Thanks, Greg -- PHP General Mailing List

RE: [PHP] Mysterious MYSQL Error..

2001-07-22 Thread Greg Schnippel
trying to explain it to a colleague. I should 'pretend' to send a letter to php-general next time :p -greg -Original Message- From: Greg Schnippel [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 22, 2001 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] Mysterious MYSQL Error.. I'

Re: [PHP] need help w/ variables

2001-07-22 Thread Greg Donald
On Mon, 23 Jul 2001, Virgil Claritt wrote: > i dont quite get it what your saying > it is clearly defined at the top > $op is equal to ds > $valid is equal to yes > $msg is equal to Bad Login > > > "Reductor" <[EMAIL PROTECTED]> wrote in message > 002701c11335$ac5dafe0$0200a8c0@ReDucTor">news:002

[PHP] session gc question

2001-07-26 Thread Greg Donald
Is is possible to set session.gc_probability manually on a per script basis, similar to the way error reporting is capable of being set? Thanks, -- --- destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common intern

[PHP] Question about PHP.net Web site and e-mail lists

2001-07-28 Thread Greg Brooks
one tell me who maintains that page for php.net? I'm assuming that starting with their .php page is going to save me a lot of work. Thanks, Greg Brooks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] "Call to a member function on a non-object" error!

2001-07-30 Thread Greg Fyans
doesnt really make any sense. Any help appreciated! Cheers. -- Greg Fyans [EMAIL PROTECTED]

[PHP] Worldpay module an Exchange Project e-commerce site

2001-07-31 Thread Greg Fyans
Does anyone know where I can find a module for Worldpay that will work with The Exchange Project? www.worldpay.com -- Greg Fyans www.syntonik.co.uk

Re: [PHP] Java Jock - 1st line syntax

2001-07-31 Thread Greg Fyans
you got an example you can show us -- Greg Fyans www.syntonik.co.uk > I recently just started using PHP. I searched this list's archives first, > but couldn't find an answer to my question: > > Whenever I get a "syntax error" it's always reported "on

[PHP] PHP App developer position --South San Francisco

2001-08-06 Thread Greg Landis
, telecommute possibility and with good career growth potential. Requirements are only solid fundamental knowledge of OOP and at least one year developing Apps in PHP. If this is the wrong place to post just a postions, I would appreciate any help to re-direct. Thank you, Greg Greg Landis Snr

Re: [PHP] RANDOM

2001-08-08 Thread Greg Donald
On Wed, 8 Aug 2001, Kyle Smith wrote: > Could somebody please show me, send me an example or redirect me to a page which >shows how to show a random FLASH movie from a text file which contains different >names of different movies so that when i go on the page it shows lets say, 1 of the 5 >mov

Re: [PHP] RedHat 7.1

2001-08-09 Thread Greg Donald
On 09 Aug 2001 12:31:18 -0500, Scott Pathel wrote: > Hello, > > I'm running RedHat 7.1 and have installed PHP 4 from the RedHat > installation disk. It is a normal RPM file for the PHP install (prebuilt). > PHP does not seem to work. Looking at the INSTALL file as if I were to > build

[PHP] PHP and serving streaming media

2001-08-14 Thread Greg Beaver
uartet, I don't have the time to check, so I would appreciate a direct response to the email address greg at chiaraquartet dot net, replacing at with @ and dot with . Greg Beaver -- The Chiara String Quartet http://www.chiaraquartet.net The most advanced PHP/MySQL-based quartet scheduling system in the

[PHP] Re: PHP and serving streaming media

2001-08-15 Thread Greg Beaver
name[r ootname]->value."/g2/".$this->cliproot().".rm"; header("Accept-Range: bytes"); header("Content-Length: ".strlen($a)); header("Content-Type: audio/x-pn-realaudio"); print $a; $a is set to the location of the realmedia file. Yay! Gr

[PHP] Re: HELP!!!

2001-08-24 Thread Greg Beaver
Make sure that there is a table named "users" with the same fields as in your local database. use mysql_error() to retrieve the error message for debugging purposes if you're going to use @ Greg -- The Chiara String Quartet http://www.chiaraquartet.net "Brack" <

Re: [PHP] The future of PHP

2001-08-24 Thread Greg Beaver
ng the website. We've gotten the same benefit from having a phone. So, it is definitely worth it, even for a business completely unrelated to technology or even retail sales. Regards, Greg Beaver -- The Chiara String Quartet http://www.chiaraquartet.net -- PHP General Mailing List (http:

[PHP] Re: windows media player

2001-08-26 Thread Greg Beaver
Hi Heidi, Check on microsoft's website, you can do this through a bit of html coding using ActiveX. The Windows Media Developer's site will have your answers. Greg -- The Chiara String Quartet http://www.chiaraquartet.net "Heidi Belal" <[EMAIL PROTECTED]> wrote i

[PHP] What development environment do you use for PHP?

2001-08-26 Thread Greg Beaver
I don't use a debugger. Anyone have a sweet setup that makes it all easier? Greg -- The Chiara String Quartet http://www.chiaraquartet.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] The past of PHP - object model - HELP

2001-08-29 Thread Greg Beaver
Oh God, please hurry and release a stable PHP with Zend 2.0!! I &$hate &$this &$bs &$and &$can't get it to work &$at &$all! Thank you, Greg P.S. If any one of you has figured out how to do this: parent = &$b; } } class b { var $as

[PHP] Re: The past of PHP - object model - oops

2001-08-29 Thread Greg Beaver
For the definition of embarassment, see previous post. replace $cs with $as and the demo starts to work. (one of ) The problem(s) with my code was similar. One must always watch for the stupid factor! Chagrined, Greg -- The Chiara String Quartet http://www.chiaraquartet.net "Greg B

Re: [PHP] good book on PEAR

2004-08-03 Thread Greg Donald
On Tue, 3 Aug 2004 10:39:42 -0500 (EST), Amanda Hemmerich <[EMAIL PROTECTED]> wrote: > I need a solid foundation on using PEAR. ANy books or websites you > would recommend? You might try http://pear.php.net/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http:/

Re: [PHP] Getting the size of a mysql table using php

2004-08-14 Thread Greg Donald
ble status like 'table_name'; size = Data_length + Index_length -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] readfile()

2004-08-23 Thread Greg Donald
r the downloads dir and > also the file...rwxr-xr-x for both. > > Anyone have any idea why this isnt working? Is the download directory outside a chroot'd web setup perhaps? Or maybe your provider has some security you don't know about? There are some file related fun

Re: [PHP] readfile()

2004-08-23 Thread Greg Donald
t also ask them if they have any specific PHP functions disabled. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image Width Error

2004-08-24 Thread Greg Donald
config? What should I be looking for. Oh! Looks like you currently have no gd support for the PHP image related functions. Try loading the gd extension in your php.ini. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Caching Database Information

2004-08-25 Thread Greg Donald
ve query caching, and so do most file systems. There are also PHP caching tools like TurkeMM Cache and Zend that cache byte code only. I'd bench it both ways and then decide based on the queries, the development environment, and the cache timeout limitations/requirements. -- Greg Donal

Re: [PHP] mail functions help

2004-08-25 Thread Greg Donald
If someone could > clarify that'd be great. > > -Andrew If you just want to see if mail() works try it. If it doesn't work then your mail setup is not working. Setting up an SMTP server has nothing to do with PHP. Google will probably help you if that's your issue

RE: [PHP] crypt()

2004-08-25 Thread Greg Donald
_globals", FALSE); > but it still doesn't work. > On php.net manual I can find WHAT I have to do and reasons but not HOW. Make an .htaccess file: php_flag register_globals off -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Caching Database Information

2004-08-25 Thread Greg Donald
;s a list serve, and especially since I'm not the poster of the original question. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re:[PHP] imap_search and results

2004-08-26 Thread Greg Donald
t($mails); for($i=0; $i<$count; $i++){ } -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Greg Donald
> work. I have even tried copying a known-good php.ini from another server > and the same behavior exists. I am running IIS in Windows 2000. Any ideas? Is your error_reporting turned up too high for the quality of the code? http://www.php.net/error_reporting -- Greg Donald -- PHP Gener

Re: [PHP] US / Canada Zip Codes List

2004-08-26 Thread Greg Donald
RL right off hand but the US post office releases a new zip code database every year. It's a little flat file you can stick in a database to query against. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] schemaValidate()

2004-08-27 Thread Greg Beaver
channel content check failed" when the element has incorrect content. No information on what the exact failure was seems to be accessible. Is this the state of affairs with libxml2 (I'm using PHP 5.0.1 on windows)? Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Browser back button

2004-08-27 Thread Greg Donald
ack they will go to your intermittent page just after the form, not the form page itself. 3) Use a header() call to send the user to a totally new page after the POST. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Greg Donald
ect options with one query, then create new javascript Option objects for each. Then populate the select fields based on the previous select field's selection. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Greg Donald
of these a couple years back it was in the spec that the page would not reload. In addition, a single select costs less than multiple selects with where clauses. Good luck.. however you decide to code it. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_SERVER['HTTP_HOST'] without the 'www.'

2004-08-31 Thread Greg Donald
ed at using substr but if the user leaves out the 'www.' then > substr($_SERVER['HTTP_HOST'], 4) would return 'main.com', is there a better > function to use in this instance? str_replace() You can replace the www. with an empty string. -- Greg Donald -

[PHP] Re: [PHP5]__get, __set and isset()

2004-08-31 Thread Greg Beaver
n't be using __get()/__set(), or should refactor so that you can rely upon certain values existing. If absolutely necessary, you can always provide function ifexists($name) { return isset($this->array[$name]); } and then you can if ($o->ifexists('a')) instead of if (isset

[PHP] Re: instanceof / __CLASS__ question

2004-08-31 Thread Greg Beaver
want to check whether $this is the Test class or a descendant class, the simplest way I know is if (get_class($this) == 'Test') otherwise, you could use reflection $z = new ReflectionClass($this); if ($z->getName() == 'Test') but that's a bit more cumbersome. Greg Ja

[PHP] Re: is_a (WAS: Re: instanceof / __CLASS__ question [SOLVED])

2004-08-31 Thread Greg Beaver
Jason Barnett wrote: Greg Beaver wrote: Hi, I'm not sure I understand why you would use instanceof on $this. Try this code: Kind of complicated (so probably not the best way) but I have objects I'm creating with a factory method - and all of these objects *should* be extending a pa

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
if that's what you want and all. Also, you might want to check with your web host that ".htaccess" is an allowed override filename and that they allow overrides, it looks like it is from you described. Long story short, you appear to be all set. -- Greg Donald -- PHP General Mai

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
x27;s that? Learn to use print_r(), it will recursively print all the variables in your arrays and such. For example to debug this situation you can do something like: echo ''; print_r($POST); echo ''; and you'll see $POST is empty cause you typo'd it, it's $_POST not

Re: [PHP] PHP Linux "locate" to html script?

2004-09-03 Thread Greg Donald
On Fri, 2004-09-03 at 12:46, BOOT wrote: > Does anyone have a script that can be used to call linux's locate command > and display the results in a browser? -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and Logins

2004-09-03 Thread Greg Donald
ion_destroy(). > D/ How is it possible, using PHP4+ sessions, to cancel a session a page is opened > with, and starting a new session? session_destroy(); -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Instant private messenger

2004-09-06 Thread Greg Donald
PHP, I mean if that's what you want to code it in and stuff. I haven't ever seen any private messenger tutorials though, probably a little too specific, I dunno.. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Intermittent Seg Fault with PHP4.3.8 + FTP

2004-09-07 Thread Greg Donald
ther servers. I had to work on a client machine running some kind of windows ftp server a few months ago, and I had very similar issues. Random unexplainable breakages when downloading lots of files. I know this doesn't help your current issue, but I thought I would share my experience.

Re: [PHP] mail() from addess problems

2004-09-07 Thread Greg Donald
und it's not possible to do a header rewrite with > postfix either. Add a "From:" header in the optional last field of your mail() call. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] data grids...

2004-09-08 Thread Greg Donald
On Wed, 2004-09-08 at 13:15, blackwater dev wrote: > Does anyone have a nice clean way to provide data grids with php short > of simply creating a bunch of input boxes or using flash? What is a 'data grid' ? -- Greg Donald -- PHP General Mailing List (http://www.php.net/

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Greg Donald
can create JOINs between MyISAM tables? Maybe I need to do some more > research into table types? Yes, more research. Maybe you're confusing relational with transactional. -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Users of RDBMS

2004-09-08 Thread Greg Donald
On Wed, 2004-09-08 at 14:01, Pahlevanzadeh Mohsen wrote: > Dears, > I need to create user for MySQL. > Please guide me.. http://dev.mysql.com/doc/mysql/en/Adding_users.html -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Users of RDBMS

2004-09-08 Thread Greg Donald
riendly for all. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stdin buffering

2004-09-09 Thread Greg Donald
ring in PHP. You may find ncurses_getch() of use however. http://www.php.net/ncurses_getch -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] crap-ass DOM xsd schema validation?

2004-09-09 Thread Greg Beaver
lly sucks. Any comments from the core devs on how likely this is to change dramatically for the better would be helpful. I literally will have absolutely no reason to use DOM at all if this feature isn't improved, as it seems to be a lot slower and much less stable than using a sax parser.

Re: [PHP] stdin buffering

2004-09-09 Thread Greg Donald
On Thu, 2004-09-09 at 15:25, Jim Grill wrote: > exec("stty -icanon min 0 time 0"); Nice. I suspect 'phpSnake' will appear on freshmeat in a couple days. :) -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array inside Class

2004-09-10 Thread Greg Donald
> > > Output: > Parse error: parse error, unexpected '(', expecting ',' or ';' in > /srv/www/htdocs/stundenplan/stpoo.php on line 4 Did you try var $input2 = array_pad($this->input, 10, 1); -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP modules

2004-09-10 Thread Greg Donald
up for that. If > anyone can provide information on building custom functions and calls > into PHP it would be helpful. Did you try Google'ng for 'extending PHP'. I found lots of stuff just now. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Advanced Query Wizard

2004-09-10 Thread Greg Donald
less and less all the time. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   10   >