[PHP] Verisign PFPRO API & PHP: How to ensure hitting "STOP" in the browser will not kill the transcation

2003-08-01 Thread e
I've not been able to find anywhere a good use of the pfpro functionality in PHP. No where do any of the scripts ensure that the script goes through it's full execution. One person's solution was just to exec the pfpro binary in the background, passing it the necessary arguments. This seems i

[PHP] Problems with $DOCUMENT_ROOT being blank

2003-08-30 Thread brad e
I set up a PHP4.3.3/mySQL4.0.14/Apache2.0.47 server and everythign is configured and running properly. i tested php with some scripts and functions and they all work. When i try and do any file editing/including in scripts i get file not found errors all over the place when i open like $DOCUMENT_RO

[PHP] illegal string index

2001-02-28 Thread E. Uytterhoeven
dex on line ..." I only get this warning if I want to extract IP numbers from my DB. Does anyone knows why I get this warning ? Thanks, Eelco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Newbie question on Tutorials?

2001-12-05 Thread Geoff E
rums, etc... I have VB, Delphi, and C programming experience, so I'm hoping it won't be too hardcore. :) Cheers, - Geoff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP] Make cron file

2004-09-28 Thread E SA
Juan, Are you trying to do so from inside a PHP script? If that is the case, you could do: $entry = "$min $h $d $m $s $command $comment"; $added = system ("echo $entry >> /var/spool/cron/tabs/$user", $retval); if ($retval) { echo "success"; } else { echo "failure"; } Please notice th

[PHP] GD support on PHP 4.3.8

2004-10-23 Thread E SA
Hi, I am trying to compile PHP with GD support. My config line is: ./configure --prefix=/data/PHP\ --with-config-file=/etc/php.ini\ --disable-debug --enable-safe-mode\ --with-mysql=/data/MySQL_4.0.21\ --with-openssl=/data/OpenSSL\ --with-apxs2=/data/Apache/bin/apxs\ --with-gd\ --w

[PHP] tutorial failure

2010-08-18 Thread e-letter
Readers, Copy below of message sent 15 August to php install digest list, but to date not including in mail archive? The tutorial example: php test Hi, I am a PHP script'; ?> this is a test

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
I changed the code as follows: php test Hi, I am a PHP script"; ?> this is a test The result (http://localhost/test.php): Hi,

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > php is not processing the file. There's a few reasons for this, but the > first thing I would check is the permissions of the file. From the > directory try > > $ ls -oa > The file permission was confirmed as root, since it was copied (as root) from a normal user

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Peter Lind wrote: > On 18 August 2010 12:47, e-letter wrote: >> On 18/08/2010, chris h wrote: >>> php is not processing the file. There's a few reasons for this, but the >>> first thing I would check is the permissions of the file. From the &g

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > What are the actual file permissions when you run ls -o? > root > > Do you know if PHP is installed as an apache mod or cgi? Also you might > check what user apache is running as. > No. How to verify? > possibly... > $ vi /etc/apache2/envvars > No apache2 on my com

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: > >> On 18/08/2010, chris h wrote: >> > What are the actual file permissions when you run ls -o? >> > >> root >> > > What's the entire output of ls -o? > [r

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Ashley Sheridan wrote: > On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote: > >> On 18/08/2010, chris h wrote: >> > What are the actual file permissions when you run ls -o? >> > >> root >> > >> > Do you know if PHP is instal

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Bob McConnell wrote: > From: e-letter > >> On 18/08/2010, chris h wrote: >>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: >>> >>>> On 18/08/2010, chris h wrote: >>>> > What are the actual file permissions when you r

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, David McGlone wrote: > Yes it is. But your computer needs the correct software to view that php > file in a web browser as if it was a web page. If you do not have this > software installed, then the web browser will ask you if you want to > download the file instead. > The web bro

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, David McGlone wrote: > On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote: >> On 18/08/2010, David McGlone wrote: >> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote: >> >> On 18/08/2010, David McGlone wrote: >> >> > >> >

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > I think it's fairly clear that for whatever reason, PHP isn't properly > configured with Apache. You've mentioned you're using Mandriva, which, > coincidentally, is what i've just recently installed on my home machine. > It has a very good graphical package

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > As Colin suggested on another email, check to see if apache-mod_php was > installed too. It seems likely that it wasn't for some reason. How to verify please? Also, the instruction to use task-lamp; it seems this is for mysql but the database to be used is

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, HallMarc Websites wrote: > I agree with the earlier take on this situation; you need to start at the > beginning and learn the basics regarding the technologies BEFORE you try and > manage them. You're trying to drive a car when you don't even know what or > car is and how to operat

Re: [PHP] tutorial failure

2010-08-20 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > No, because Apache doesn't need to process HTML in the same way it needs > to process PHP. The tag browser as HTML (view the source on the page you're browsing to) and > interpreted as a tag by your browser, hence what appears to be partially > processed ou

Re: [PHP] tutorial failure

2010-08-26 Thread e-letter
On 20/08/2010, Ashley Sheridan wrote: > You don't have to reinstall the entire OS, that's a very Windows > approach to the problem. I played around a bit last night with urpmi and > you should be able to just list the packages you need with urpmq --fuzzy > package_name, and then install the ones l

[PHP] postgresql database access failure

2011-04-30 Thread e-letter
Readers, A postgresql database (local disk installation) is successfully accessed as a normal user: psql -U username databasename However, creating a php file to access the database has not been successful. why does this fail? The followin

Re: [PHP] postgresql database access failure

2011-05-01 Thread e-letter
On 30/04/2011, Daniel Brown wrote: > Readers? Sounds like you spend too much time writing newsletters > (to the wrong address, since php-general-digest-h...@lists.php.net is > a self-help command list for digest-form subscriptions). ;-P > > On Sat, Apr 30, 2011 at 04:41,

Re: [PHP] postgresql database access failure

2011-05-01 Thread e-letter
The file was changed: ... $value=pg_fetch_result($query,1,1); echo 'all files' . var_dump($value); ... The resultant web page produces: bool(false) all files The php file was changed again: ... $value=pg_fetch_result($query); echo 'all fi

Re: [PHP] postgresql database access failure

2011-05-02 Thread e-letter
The query was: $query = 'SELECT * FROM databasetablename'; So, database access seems to be the problem. Using the superuser account 'postgres', a user 'httpd' was created and all privileges were granted to the target database using the postgresql 'grant' command. However the user 'httpd' is not t

[PHP] Re: postgresql database access failure

2011-05-02 Thread e-letter
> >Here's the URL of the relevant manual page: >http://www.php.net/manual/en/function.pg-fetch-result.php > The manual page did not explain the purpose of the text 'die', so was ignored (;)). Anyway, the php code was amended as follows: The result is a web page which shows: list of fil

[PHP] Re: php-general Digest 5 May 2011 21:55:09 -0000 Issue 7299

2011-05-05 Thread e-letter
Readers, Looking through the mail lists archives, only the following message seems to advise about the possibility to use gnuplot: http://marc.info/?l=php-general&m=96248542218029&w=2 Is it possible to start gnuplot using php, to plot a graph from postgresql data. For example, a table is created

[PHP] ANN: BrowserHawk for PHP

2008-09-22 Thread Kevin E
Hi all, I wanted to share with you that we have (finally!) a version of BrowserHawk that works great with PHP. There is nothing to install to use it either. Its called BrowserHawk To-Go (BHTG) an integrates instantly with any PHP page(s) just by including a single line of code in the page. See w

Re: [PHP] OT- "Private Registrations" for Domains

2002-11-23 Thread Ernest E Vogelsinger
in, so it will be ours. _YOU_ have to pay, _WE_ own the domain. Wonder who would patent this. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] echo'ing array contents through reference variable ... why doesn't this work???

2002-11-23 Thread Ernest E Vogelsinger
$pdag[$n]; echo $$temp; or $temp = $$pdag; echo $temp[$n]; -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strings and vars

2002-11-23 Thread Ernest E Vogelsinger
At 02:05 24.11.2002, empty said: [snip] >i have string like: "string"; > >how can i get variable $string; [snip] $var = 'string'; $$var will resolve as $string -- >O Ern

Re: [PHP] sessions and trans-sid problem/question

2002-11-24 Thread Ernest E Vogelsinger
At 08:47 24.11.2002, Jean-Christian Imbeault said: [snip] >Ernest E Vogelsinger wrote: > > >> if ($_COOKIE[$_SESSION['cookie_name']] == $_SESSION['cookie_token']) { > >Ok, please forgive my ignorance, but in PH

Re: [PHP] sessions and trans-sid problem/question

2002-11-24 Thread Ernest E Vogelsinger
... [snip] You're quite right := -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
o comments. I have no profiling yet how much having comments or blank lines would actually effect execution times, but I doubt it would be really an issue since PHP, once a comment start is encountered, doesn't parse the text but just scans for the end-comment tag. -- >O Ernes

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
these loops, be it an end-of-line comment, an inline comment, or no comment. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions and trans-sid problem/question

2002-11-24 Thread Ernest E Vogelsinger
runs locally and gets contacted by the applications, or even some shared memory... choose your ways, but keep your data at the server's. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions and trans-sid problem/question

2002-11-24 Thread Ernest E Vogelsinger
he very last bottleneck that ever would occur; the database times add up much quicker than any session file i/o would ever be able to. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
than having no comments in them *g* -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: security of stand alone script

2002-11-24 Thread Ernest E Vogelsinger
chown root:apache, chmod 640 *). -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and caching

2002-11-24 Thread Ernest E Vogelsinger
away because it is expired... -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php and caching

2002-11-24 Thread Ernest E Vogelsinger
an uncached form could still be populated by your script when using session variables. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another cookie question

2002-11-24 Thread Ernest E Vogelsinger
e("D, d-M-Y H:i:s \G\M\T", ($time)); header("Set-Cookie: $name=$value; expires=$date; path=/;"); } else { header("Set-Cookie: $name=$value; expires=" . time()+$exp . "; path=/;"); } return true; } -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php and caching

2002-11-24 Thread Ernest E Vogelsinger
at Alex was talking about a search form. Search forms are often used on "normal" static web pages _without_ the help of sessions... that's the reason. Rest assured I know about sessions in PHP :) -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://

Re: [PHP] Re: php and caching

2002-11-24 Thread Ernest E Vogelsinger
he script "getimg.php" would need to issue the appropriate cache directives to allow caching. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong here?

2002-11-24 Thread Ernest E Vogelsinger
rection problems on IIS where I had to resort to header('HTTP/1.0 302 Moved'); header)'Location: blah'); Don't know if this helps in your case. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What is wrong here?

2002-11-24 Thread Ernest E Vogelsinger
Moved Location: blah -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] quick sanity check on user management / sessions

2002-11-24 Thread Ernest E Vogelsinger
en reads all necessary data, including last login, user rights, etc etc, from the DB, sometimes updates a user cookie, depending on the app. DB is checked only once. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing Li

Re: [PHP] Overloading Constructors

2002-11-25 Thread Ernest E Vogelsinger
overloaded constructor both times. What you might do to distinguish which "overload" has been called: function A($string=null) { if (!isset($string)) echo "Default constructor A()\n"; else echo "Overloaded constructor A($st

Re: [PHP] If statement w/ multiple conditions

2002-11-26 Thread Ernest E Vogelsinger
sion yields true if 1-3 are not-empty AND four is an empty string. Not sure if that's what you want. All empty: !($lineone || $linetwo || $linethree || $linefour) --or-- !$lineone && !$linetwo && !$linethree && !$linefour All set: $lineone &&am

Re: [PHP] If statement w/ multiple conditions

2002-11-26 Thread Ernest E Vogelsinger
At 16:45 26.11.2002, Chris Shiflett spoke out and said: [snip] >--- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote: > >> At 13:50 26.11.2002, [EMAIL PROTECTED] said: >> >if ($lineone && $linetwo && $linethree &

Re: [PHP] Re: & in Query String

2002-11-26 Thread Ernest E Vogelsinger
ery strings. Just check with the W3C HTML Validator: http://validator.w3.org/ -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

RE: [PHP] Re: & in Query String

2002-11-26 Thread Ernest E Vogelsinger
st page for all to check out... nevertheless, here it is: http://www.vogelsinger.at/test.php Simply provides a link using query parameters encoded with &, to check with different browsers. Maybe someone will check this outwith his browser anyway. -- >O Ernest E. Vogelsinger

Re: [PHP] Newbie : How work with parameters?

2002-11-27 Thread Ernest E Vogelsinger
done online manual at http://www.php.net/manual/en/. Regards, -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL Installation

2002-11-27 Thread Ernest E Vogelsinger
lready there, check it out with "locate php" or "whereis php". For Win32 there are prefab'ed binaries, including an installer, downloadable at PHP's web site: http://www.php.net/downloads.php -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

[PHP] Re: Trouble maintaining a session - FIXED

2002-11-27 Thread Joshua E Minnie
Hey all, Not exactly sure why this fixed it, but when I upgraded the PHP on the NT4 server to PHP 4.2.3, everything worked as I had hoped. I plan on looking into it more, but I just thought that I would let you all know in case anyone else comes across a similar problem in the future. -- ___

Re: [PHP] object passing by reference

2002-11-27 Thread Ernest E Vogelsinger
mber function on a non-object [snip] Just as the error message says - you're trying to execute a function (like $hObj->foo()) where there's no such function. Would be helpful if you posted some code where the error arises... -- >O Ernes

Re: [PHP] Session End

2002-11-27 Thread Ernest E Vogelsinger
thorized']); This will create a "unique" realm due to the use of date/time, so when the user logs off he will be presented with a 401 response, even if the browser has cached the login info from the previous login attempt. Another realm, another game. Disclaimer: untested, as usual. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] max file size on uploading files

2002-11-27 Thread Ernest E Vogelsinger
oblems _refusing_ upload (except size exceeds, of course) in the online manual. I only found that browsers can be directrd to easily circumvent the limit (save html locally, edit form action to point to your server, edit max_file_size, and there you go...) Try the above hints and tell us abo

Re: [PHP] max file size on uploading files

2002-11-27 Thread Ernest E Vogelsinger
grammer, but you certainly lack style and social skills. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] max file size on uploading files

2002-11-27 Thread Ernest E Vogelsinger
write some log file at the very beginning of your script to see if the web server runs your script, or not (what I assume). -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] max file size on uploading files

2002-11-27 Thread Ernest E Vogelsinger
At 20:11 27.11.2002, Ernest E Vogelsinger spoke out and said: [snip] >Ooops - you should normally only get this with GET requests where the max. >query string size is exceeded - I'd check the Apache docs though... seems >positively to be connec

Re: [PHP] max file size on uploading files

2002-11-27 Thread Ernest E Vogelsinger
At 20:18 27.11.2002, Ernest E Vogelsinger spoke out and said: [snip] >Error 413 certainly denotes that the web server refuses to handle the >request. No idea how to configure this value but I'm sure it can be done >with Apache. I see a be

Re: [PHP] controlling ownership on file uploads ...

2002-11-27 Thread Ernest E Vogelsinger
www" user is member of. In short - if you can create the file, you can delete it as well. (At least that's what I've learned). -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] Streaming audio

2002-11-27 Thread Ernest E Vogelsinger
an be created on the fly (dynamically) by PHP. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ignoring client supplied session data

2002-11-27 Thread Ernest E Vogelsinger
ariables of their choice into PHP, making any script more than unsafe. Having it switched off allows YOU to control the data that you work with - an absolute MUST unless you're begging for trouble, IMHO. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.

Re: [PHP] Re: [PHP-DEV] Parse search string a la Google (Regular expression?)

2002-11-27 Thread Ernest E Vogelsinger
$input = $aresult[3]; } // $input has the rest of the line array_push($tokens, explode(' ', $input)); return $tokens; } Disclaimer: untested as usual. _Should_ behave like this: $string = "\"search for this sentence\" -NotForThisWo

Re: [PHP] Re: [PHP-DEV] Parse search string a la Google (Regular expression?)

2002-11-27 Thread Ernest E Vogelsinger
At 23:11 27.11.2002, Ernest E Vogelsinger said: [snip] >If I understand you correctly you want to isolate either quoted strings >(with or without whitespace), or tokens separated by whitespace, as array >elements? > >For this you would first

Re: [PHP] Bad File Mode?

2002-11-28 Thread Ernest E Vogelsinger
ot;http://www.healthtvchannel.org/courses/pay/data/test.xml";; $fp = fopen($dataFile, "rb"); $strFile = null; while ($chunk = fread($fp, 524288)) // 512 kB chunks modify as needed $strFile .= $chunk; fclose($fp); HTH, -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

Re: [PHP] test for ascii or binary string

2002-11-30 Thread Ernest E Vogelsinger
$c != chr(13) or $c != chr(9)) { $isbinary = 1; /* >>> */ break; } } } return $isbinary; } -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Inheritance problem

2002-12-01 Thread Ernest E Vogelsinger
of thumb, always pass REFERENCES when you're dealing with object handles. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going Mad

2002-12-01 Thread Ernest E Vogelsinger
be ready to go! [snip] Sounds fine - did you restart Apache? -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Has anyone this script ??

2002-12-01 Thread Ernest E Vogelsinger
Ray, isn't it always easier to omit some functionality you don't need than to reinvent the wheel? You get the source code anyway, so why don't you just use one of the solutions you found, learning how they did it, and learning a lot of other useful stuff too? -- >O

Re: [PHP] XML-RPC, is this the best approach for something like this?

2002-12-01 Thread Ernest E Vogelsinger
hould study the SOAP protocol (a.k.a. WebObjects) - this protocol is intended to let servers - even remote ones - work cooperatively together. It's good stuff IMHO, despite the fact that M$ is hooked on it with C# and .net. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ h

RE: [PHP] Disable refresh?

2002-12-02 Thread Ernest E Vogelsinger
matches), or is outdated (serial number mismatches), for what reason ever, be it a refresh or the user stepping back and resubmitting. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] page auto reload after new window closed

2002-12-02 Thread Ernest E Vogelsinger
ld: function submitForm(form) { document.forms[form].submit(); window.opener.location.reload(); window.close(); return true; } ...within your form code... ...your form contents... -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogels

Re: [PHP] phpAds Sillyness

2002-12-02 Thread Ernest E Vogelsinger
ry again. If it works then, shoot them. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Searchable archive

2002-12-03 Thread Ernest E Vogelsinger
eneral This is listed at the PHP home page, when clicking on "mailing lists", "general/Archive(yes)". -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST data

2002-12-03 Thread Ernest E Vogelsinger
server and appending xml >data right after the header. I need access to the xml blob. [snip] Not sure if this gives you the posted data, but you could try $_SERVER['QUERY_STRING']. Or simply print_r the $_SERVER array to check if it is available.

Re: [PHP] "x" as a multiplier

2002-12-03 Thread Ernest E Vogelsinger
ints out fine"? However, this gives exactly what you want: Output for both cases: 1024x768 1024x768 -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Whimper, help :)

2002-12-04 Thread Ernest E Vogelsinger
blanks in a search argument. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
Hey all, I know this has been asked before, and I have tried many of the solutions that were posted in the mailing archives, and also did some googling. But I can't seem to eliminate some new line characters from a string. Here is the scenario: 1. A user inputs some text into an form and sub

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
Already tried that. Doesn't seem to change anything. - Original Message - From: "John Wards" <[EMAIL PROTECTED]> To: "Joshua E Minnie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 10:48 AM Subject: Re: [PHP] Newli

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
INFO | +---+ | PHP v. 4.2.3 running on Win 2000 / IIS 5 | | MySQL v. 3.23.49 running on RedHat 7.3/Apache | +---+ >"John Wards" <[EMAIL PROTECTED]> wrote: >On Thursday 05 Dec 2002 3:48 pm, Joshua E Minni

Re: [PHP] Please help - uploading multiple files

2002-12-09 Thread Ernest E Vogelsinger
no tag defined in HTML, or XHTML, that would do what you need. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Question: Search Records between two dates.

2002-12-10 Thread Ernest E Vogelsinger
nction, but don't fully >get it. I'm hoping that >someone can help clarifying it. > > >Is there a better way to do this? Am I missing something? >Please help. > >-john > >=P e p i e D e s i g n s > www.pepiedesigns.com > Providing Solutions That Increase

Re: [PHP] reading pre-extension file

2002-12-12 Thread Ernest E Vogelsinger
7;) a dot before anything without a dot before (grouped, 'preext') starting with a dot The group will contain the preextension. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing text info using $PHP_SELF

2002-12-15 Thread Ernest E Vogelsinger
;q=input. Any ideas? > >action=\"$PHP_SELF?action=change&id=$id&q=input\"> [snip] Most certainly register_globals is off in your php.ini file. Try using $_SERVER['PHP_SELF'] instead of $PHP_SELF. -- >O Ernest

Re: [PHP] SQL: INSERT using subqueries

2002-12-16 Thread Ernest E Vogelsinger
2 as "data1", 'hello world' as "data2" FROM users where username='myUsername'; should do it (untested on mySQL) -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] needle in a haystack (Can't find :)

2002-12-16 Thread Ernest E Vogelsinger
re* trying to use it? > >-- >Jason Wong -> Gremlins Associates -> www.gremlins.biz >Open Source Software Systems Integrators >* Web Design & Hosting * Internet & Intranet Applications Development * > >/* >Fay: The British police force used to be run by me

Re: [PHP] Re: Print bgcolors in table

2002-12-16 Thread Ernest E Vogelsinger
rity on how documents look like. For example, in Internet Explorer, you may go to Extras/Options/Advanced and specify to print (or not) background colors or images. In Netscape this option exists in the preferences dialog. There's no way for the page to override the agents settings. --

Re: [PHP] newbie having problem with SID

2002-12-16 Thread Ernest E Vogelsinger
y ($_SESSION['count']) to handle session persistent data: html_begin ($title, $header); if (!array_key_exists('count', $_SESSION)) { $_SESSION['count'] = 1; } else { $_SESSION['count']++; } end then

Re: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ernest E Vogelsinger
r).";"; > } > else { >$output_string .= $char; > } >} > >You may need to test for value 127 ... not sure if it starts on 0 or 1 >that is... [snip]---- preg_replace('([\x80-\xff])/e', '&#'.ord(&#x

RE: [PHP] Converting accented characters or numeric equivalents to non-accented

2003-01-18 Thread Ernest E Vogelsinger
Renée Zellweger becomes Renee Zellweger. [snip] $chars_in = array('Á',''á','É','é'); // you get it $chars_out = array('A','a','E','e'); // this too preg_replace($chars_in

Re: [PHP] Can I use white spaces?

2003-01-19 Thread Larry E. Ullman
I suspect (but could be wrong) that you aren't quoting these values in your forms. Be sure that you are using... Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can I use white spaces?

2003-01-19 Thread Larry E. Ullman
You where nothing but right. I didn't know that PHP's html HAD to have all of the quoting right for PHP to work properly. Glad it's working but, just to clarify, this is an HTML issue, not a PHP one. Best wishes, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Time code!!!

2003-01-20 Thread Larry E. Ullman
does anyone have the code to where i can have the time printed on my home page like for example  Monday, January 19, 2003 The PHP Manual has this code, under the date() function (www.php.net/date). echo date ("l, F j, Y");  also I want to have it state when the users login in it says welcome b

Re: [PHP] Re: textarea new line

2003-01-23 Thread Ernest E Vogelsinger
>> >> but i see a single line instead of: >> -line1 >> -line2 >> -line3 [snip] Use nl2br(), something like: echo '', nl2br(htmlentities($string)), ''; This should give you the results you need. --

Re: [PHP] PHP and Oracle

2003-01-23 Thread Larry E. Ullman
Does someone had a speed trouble when using PHP and Oracle with OCI ?? The trouble i have is that the php pages are slower and slower during the day. It looks that if I make an apache restart things restart in a good way. I don't understand where the trouble come from. I've seen this once before

Re: [PHP] textarea problem

2003-01-23 Thread Ernest E Vogelsinger
outside the tag, without an attribute, just plain: Print '', htmlspecialchars($row['OrgName']), ''; -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] value not displayed

2003-01-24 Thread Ernest E Vogelsinger
in php-4.3.0. but the value is displayed in >php-4.2.2 version. [snip] Perhaps the 4.2.2 server is configured with register_globals on, and the 4.3.0 has set this to off? Try -- >O Ernest E. Vogelsinger (\)ICQ #13394035

  1   2   3   4   5   6   7   8   9   10   >