[PHP] Content-Length

2002-07-04 Thread Grant
t; and calculate the strlen of the response the php returns, but how do I reference the result of a php page to get a strlen from it?? Any assistance would be welcome Thanks Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP not working with apache2

2004-08-14 Thread Grant
stalled on my system, and I suspect some key PHP things may have been set up for apache instead of apache2. Does anyone have any pointers? - Grant __ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.co

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
--- John Holmes <[EMAIL PROTECTED]> wrote: > Grant wrote: > > > I'm running Gentoo Linux, and emerged (installed) > > squirrelmail which automatically installed all of > its > > dependencies including PHP and (I think) mod_php. > PHP > > doesn&#x

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
--- Jason Wong <[EMAIL PROTECTED]> wrote: > On Sunday 15 August 2004 07:45, Grant wrote: > > I'm running Gentoo Linux, and emerged (installed) > > squirrelmail which automatically installed all of > its > > dependencies including PHP and (I think) mod_php. &

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-22 Thread Grant
htm), > as far as I know, this is something the FBI can > handle, and if they don't, I > would expect they know who does. > > Hope this helps. > > best regards > Markus I just got caught up on my mailing lists so sorry about the late repl

[PHP] PHP-5.5.2 +opcache segfaults with Piwik

2013-08-25 Thread Grant
I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 - Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Grant
> I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the > opcache is disabled. Someone filed a piwik bug but was told it's a > php bug: > > http://dev.piwik.org/trac/ticket/4093 > > - Grant Is this a known issue? - Grant -- PHP General Mailin

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-05 Thread Grant
>> I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the >> opcache is disabled. Someone filed a piwik bug but was told it's a >> php bug: >> >> http://dev.piwik.org/trac/ticket/4093 >> >> - Grant > > Is this a know

[PHP] Securing PHP

2007-10-20 Thread Grant
to only have the ability to read/write to thier own files and directories, php.ini directives that have simiar affect as mentioned above. Any help appreciated. -Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing PHP

2007-10-21 Thread Grant
ed by www. Should I consider phpsuexec? Or will the apache directives you mentioned below take care of it? -Grant "Nathan Hawks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are you running a multi-user hosting service? > > If so you can create incl

[PHP] php suexec

2007-10-22 Thread Grant
to set this all up. TIA, -Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I am lost

2007-07-14 Thread Grant
and mysql. Thanks, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] VOTE TODAY

2004-11-02 Thread Grant
> I can't wait for the replies... Here's a reply: Don't vote for Bush. - Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I include specific files?

2002-12-02 Thread Roddie Grant
). In PHP the include_path stops this process in its tracks. I'm with an ISP so I don't suppose I can control include_path (.:/usr/local/lib/php). Are there any other options? TIA Roddie Grant [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] No data being found

2003-01-21 Thread Roddie Grant
); if (DB::iserror($q)){ die($q->getMessage()); } while ($q->fetchInto($row)){ echo "".($row[0]).""; } ?> Roddie Grant [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
, and the other to submit the data to the same page which will load in frame B. I was hoping that I could put some code at the top of the results page which will tell the browser which frame to display it in (dependent on which $_POST variable is set). Is this possible? Thanks, Grant --

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
same input fields shared between two forms (one for each target destination). However, I don't think that either of these is an option in regular HTML. Thanks, Grant On Thu, 2003-07-03 at 10:41, Dan Joseph wrote: > Hi, > > > I was wondering if there is a way to use the header f

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
Hi there, Thank you! I had a feeling that javascript would be the answer, but as I have not yet learned javascript, I was hoping that php would work. Oh, well. No sense putting that off anymore. Time to delve into the javascript tutorials. Thanks for your time, everyone. Grant On Thu, 2003

Re: [PHP] explode and escape character for string separator

2003-07-18 Thread Grant Rutherford
use the same escape character "/" for any special character, ie /@ or /: if necessary. Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirection Question

2003-07-22 Thread Grant Rutherford
ty($_SESSION['target'])){ $target = 'Location: ' . $_SESSION['target']; session_unregister('target'); header($target); } // if I hope this helps, Grant Beauford.2005 wrote: Hi, I am trying to figure out how to redirect a user back

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Grant Rutherford
You need the "http://"; ie. "http://www.microsoft.com"; Beauford.2005 wrote: Errors are on and I get nothing, it won't even direct if I hard code header("Location: www.microsoft.com"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript & php

2003-07-28 Thread Grant Rutherford
uot;); $a = mysql_num_rows($query); ?> } // else // rest of page I'm not sure that this particular script will work, but I think that this method is the best way to have javascript send things to php. Hope this helps, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validation function doesn't work (sort of...)

2003-05-27 Thread David Grant
string. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration

Re: [PHP] Validation function doesn't work (sort of...)

2003-05-27 Thread David Grant
quot;===") comparison operator checks for variable type AND variable value equality. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whi

Re: [PHP] Installation help

2003-05-27 Thread David Grant
ay be a stupid question, but have you specifically started MySQL? Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell

Re: [PHP] Regexp question...

2003-05-28 Thread David Grant
hinfo() instead. To actually answer your question, have you tried using print_r() to get the contents of the array? -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bri

Re: [PHP] My Sincere Request!![Scanned]

2003-05-28 Thread David Grant
e court, kindly send the following information to us immediately. Your full name,telephone,mobile and fax numbers as well as your resident or company address. I await your earliest response. Thanks, Yours Sincerely REV DR EGO MOMOH. -- David Grant Web Developer [EMAIL PROTECTED] http://www.w

Re: [PHP] php 4.3.1 / latest

2003-05-28 Thread David Grant
processor type, just look here: http://rpmfind.net/linux/rpm2html/search.php?query=php&submit=Search+... If you must use RPMs :(, look no further that http://rpmfind.net. -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media

Re: [PHP] sessions and domains

2003-05-28 Thread David Grant
e a way of doing it. -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration numbe

Re: [PHP] flawless script

2003-05-28 Thread David Grant
sven wrote: you can use the default: statement as last case in switch, too. I always use default: to exit() the script, as something is obviously fubar if it gets there... -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired

Re: [PHP] Variables don't pass... *sniff*

2003-05-28 Thread David Grant
E == empty($HTTP_GET_VARS[$parameterValue])) { return ($HTTP_GET_VARS[$parameterValue]); } else { return (NULL); } } } -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered

Re: [PHP] Update to DB

2003-05-28 Thread David Grant
ading the PHP manual a little more carefully, in particular those sections regarding variable and form handling, as well as the section on MySQL. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Lt

Re: [PHP] Variables don't pass... *sniff*

2003-05-29 Thread David Grant
s recently... Damn it! I must learn to simplify a bit more.. :P Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 -

Re: [PHP] Resending POST Variables

2003-05-29 Thread David Grant
(for obvious reasons) access POST variables after a GET request. Just loop through the POST superglobal (i.e. using foreach) and create a appending string for your hyperlink. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 087

Re: [PHP] Parsing html to extract images

2003-05-29 Thread David Grant
match("/\/U", $line, $matches); NOTE: this might need a bit of tweeking, since I'm not too hot on regular expressions... :) Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered O

Re: [PHP] vpopmail what is it???

2003-05-29 Thread David Grant
.html -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration number: 40

Re: [PHP] PHP redirect

2003-05-29 Thread David Grant
t directory, e.g. header("Location: /foo/bar/index.php"); This should ensure compatability between user agents. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Pa

Re: [PHP] Help with eval()

2003-05-30 Thread David Grant
zavaboy wrote: Umm, have you tested it? It didn't work for me... "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); ) Untested: for ($i = $aNum; eval("return (\$i

Re: [PHP] Help with eval()

2003-05-30 Thread David Grant
zavaboy wrote: I get a infinite loop and "parse error, unexpected $"... Told you it was untested.. :P -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8

Re: [PHP] Getting POSTed values from dynamically named checkboxes

2003-05-30 Thread David Grant
thout the Not what you're looking for, but... are you sure you're doing this the easiest way? Try putting your values in an array instead, e.g. altid[36] and altprice[36] Then access through: foreach ($_POST['altid'] as $id => $value) { $price = $_POST[

Re: [PHP] generate random

2003-05-30 Thread David Grant
Marius wrote: how to generate random number ? Look no further than rand(). Well, actually do look further because srand() is better. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered

Re: [PHP] mail function problem

2003-05-30 Thread David Grant
- It doesn't work... Can anybody help me ? Take a peek into php.ini to change the default value. Note that you should seperate mail headers with \r\n. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7

Re: [PHP] "Email This Story" and "Print" Functions

2003-05-30 Thread David Grant
bably not the answer you're looking for, but a hell of a lot easier: For print this story, you only need an alternate print stylesheet... Look at the CSS spec. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 W

Re: [PHP] generate random

2003-05-30 Thread David Grant
Leif K-Brooks wrote: I reccomend you RTFM! There's a MANUAL?! Wow! :) -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Ho

Re: [PHP] PHP- Converting to and from TIMESTAMPS

2003-05-30 Thread David Grant
The date() function accepts a second parameter, which is a UNIX timestamp of your choice. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whi

Re: [PHP] Zend Gone missing

2003-05-30 Thread David Grant
eyond the scope of this list). Perhaps you should write them an e-mail detailing your problems? Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN S

Re: [PHP] CR in MySQL?

2003-05-31 Thread David Grant
Dan Joseph wrote: How do you put a carriage return in a MySQL database and have it display as a line break on the web page? str_replace ("\n", "", $var); -Dan Joseph Is CR == NL? What's wrong with nl2br()? -- David Grant Web Developer [EMAIL PROTECTED] http://www.w

Re: [PHP] CR in MySQL?

2003-05-31 Thread David Grant
0, CR == ASCII 015.. -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Compan

Re: [PHP] preg_match array question

2003-05-31 Thread David Grant
get a warning message.. and it doesnt check the first num1 in the array. Im certain that Its my code, and I wanted to get some input on what Im doing wrong. -Dan A quick search turned this up: http://www.php.net/manual/en/function.preg-grep.php -- David Grant Web Developer [EMAIL PROTECTED] http

[PHP] Serve a file using PHP

2003-08-26 Thread Grant Rutherford
ot;, but Mozilla wouldn't follow the link (probably a security thing; it makes sense that links shouldn't open local files). Is there a way that I can give PHP the network path (through $_POST for example), and it would return the file instead of an HTML document? Thanks for any he

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
Thanks for your reply, I think my mail was blocked for a few days here. Sorry for the delay. file:///home/users/grant/Parts.txt This link will not work in Mozilla. (Does nothing) However, if I copy and paste the address into the addess bar, it works fine. I suspect this is a security thing

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
Hello there, The line: \\vesuvius\home\users\grant\Parts.txt Gives the object not found page in Mozilla, even when clicked on from the vesuvius computer. I think that it is treating this like a relative link. Thanks for the help, Grant CPT John W. Holmes wrote: Can't you just li

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
hp server or my computer. Perhaps I can get them to make the necessary files accessible by ftp or some other method. Thanks again, Grant Raditha Dissanayake wrote: Hello, More suprising is that the html you have below works perfectly on my mozzilla 1.4 running on Red Hat 9 :-) provided i do have thi

[PHP] File Download

2003-10-03 Thread Grant Rutherford
Hi there, I would like to send an arbitrary file to a user. This file will be on the server in the PHP directory. I will also want to rename it before it is sent, but keep the old file with the old filename. Any help is appreciated... Thanks, Grant -- Grant Rutherford Iders Incorporated 600A

Re: [PHP] File Download

2003-10-03 Thread Grant Rutherford
the server unmodified for future requests. I am currently considering copying the file and renaming it, and then using a header(location=) to redirect the user to the renamed file, but I'm not sure how to ensure that the temporary file is deleted afterwards. Any suggestions? Thanks, Gra

[PHP] Quick question: PHP user?

2003-10-10 Thread Grant Rutherford
Hi, Just a quick question... What user does php run as on linux? Is it the Apache user? Is there some way to tell? I need to be able to set a directory so that only PHP can access it. Thanks, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http

[PHP] Rename the current page

2003-10-17 Thread Grant Rutherford
ons of the header command, but no luck so far. It seems to work okay on Mozilla browsers but not IE. Can anyone offer any advice, or tell me if this is not going to be possible? Thanks, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2

Re: [PHP] Rename the current page

2003-10-17 Thread Grant Rutherford
Grant Rutherford wrote: Alternatively, is there some way that I could generate that file, redirect the user to it, and then delete the file again afterwards? I know how to do all of this except delete the file. Is there some way to schedule a command to be run after the script is finished

Re: [PHP] Rename the current page

2003-10-17 Thread Grant Rutherford
ay to do this besides the Content-Disposition header? Perhaps by sending a location header without actually redirecting? Thanks, Grant CPT John W. Holmes wrote: From: "Grant Rutherford" <[EMAIL PROTECTED]> I have tried many variations of the header command, but no luck so f

[PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
max_size = 1M file_uploads = On upload_max_filesize = 1M Any help would be appreciated Thanks, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http://www.iders.ca tel: 204-779-5400 ext 36 fax: 204-779-5444 ==

Re: [PHP] Re: File Upload problem

2003-10-20 Thread Grant Rutherford
No, I'm afraid that the results are nearly instantaneous. If it timed out, there should be a corresponding delay before I got the error message. Thanks, Grant pete M wrote: It might be the script timing out - defaults to 20 seconds check set_time_limit() regards pete -- Grant Ruthe

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
about fixing it? Thanks, Grant Grant Rutherford wrote: Hi there, I'm trying to get a file upload to work with PHP. The file I'm attempting to upload is a 742kB pdf file, but this will have to work for files up to 50Mb of all types eventually. The following test pages work fine if the

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
k, I'm not concerned about handling the file yet! If I can get the second page to load, then I could move the file, rename it or whatever, but it keeps returning "The document contains no data" and as far as I know the php script isn't even run. Thanks, Grant Jay Blanchard w

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
I found the problem!!! Buried deep within the manual: LimitRequestBody in /etc/httpd/conf.d/php.conf was set too small. Thanks for your time everyone, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http://www.iders.ca tel: 204-779-5400 ext 36 fax: 204-779

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Roddie Grant
a Jason Wong message. Result: To: [EMAIL PROTECTED] I clicked Reply-All on a David T-G message. Result: To: David T-G and PHP General Mailing List Cc: to Thomas Svenson. [Moc OSX 10.2.3, Entourage 10.1.0] What is supposed to happen? (This is a plea for education, not a gripe.) Roddie Grant [EMAIL P

[PHP] Quick ereg_replace question

2003-12-02 Thread Grant Rutherford
good references for regular expressions? Thanks, Grant -- Grant Rutherford Iders Incorporated 100-137 Innovation Drive Winnipeg, MB, Canada R3T 6B6 http://www.iders.ca tel: 204-779-5400 ext 36 fax: 204-779-5444 Iders Incorporated: Confidential ===

RE: [PHP] How New Is <<

2003-12-27 Thread Grant Walters
nd pasted your full html into a file. Under PHP version 4.3.1 It runs from the command line without fault. Apache 1.3.22 It runs without fault (increments properly). What text editor are you using? I saved the code as both Unix and DOS format and it works for both. I've attached my file

[PHP] Setting Up Openlink ODBC to Work With PHP

2001-01-16 Thread Grant Walters
Hi, Can anyone point me to a step by step setup including which files to download for using PHP/OpenLink? I want to make PHP talk to a Progress 8.3C database on a remote server. Regards Grant Walters Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +

[PHP] PHP4 Compile As Per Bug id #2933

2001-03-20 Thread Grant Walters
snapshot and putting it into the pl2 directory I have (as you can see I'm not a C programmer :-) ). But this didn't work. Is it possible to get detail on the patch that was applied, or another solution. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Ad

FW: [PHP] PHP4 Compile As Per Bug id #2933 AMMENDED - FIXED!

2001-03-20 Thread Grant Walters
now compiles, the rest is still compiling :-) Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989 -- PHP General Mailing Li

RE: [PHP] Easy Object Reading

2001-03-20 Thread Grant Walters
P3 >= 3.0.5, PHP4 ) Dumps information about a variable void var_dump (mixed expression) This function returns structured information about an expression that includes its type and value. Arrays are explored recursively with values indented to show structure. Compare var_dump() to print_r(). 1 2 3

RE: [PHP] Attachment problem with web based mail - CODE SAMPLE

2001-03-21 Thread Grant Walters
_attachment)."\"\n"; $mail_body .= "Content-Transfer-Encoding: base64\n"; $mail_body .= "Content-Description: \"Mail Attachment\"\n"; $mail_body .= "Content-Disposition: attachment;\n"; $mail_body .= " fi

RE: [PHP] Attachment problem with web based mail

2001-03-21 Thread Grant Walters
dy .= "--".$boundary."\n"; $mail_body .= "Content-Type: application/octet-stream\n"; $mail_body .= "name=\"".basename($mail_attachment)."\"\n"; $mail_body .= "Content-Transfer-Encoding: base64\n";

RE: [PHP] MySQL data

2001-04-17 Thread Grant Walters
ENAME SELECT * FROM DATABASE1.TABLENAME I don't know what the implications are for large tables, possibly use mysqldump utility instead. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW Z

[PHP] PHP4 4.04pl1 ODBC/Openlink/Progress8.3 COUNT Problem

2001-04-19 Thread Grant Walters
ppreciated. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989 -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] preg_replace on array with "E (PCRE_DOLLAR_ENDONLY)" modifier

2001-04-23 Thread Grant Walters
re placed into the variables $pagetop ... $page = "{PAGETOP}{PAGEMIDDLE}{PAGEBOTTOM}"; $page = preg_replace($template,$pagevars,$page); Other modifiers seem to be accepted. Any help appreciated. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Ad

[PHP] Rand seeding

2002-01-31 Thread Zak Grant
All, I remember a patch being committed to CVS a while back which auto-seeded rand() if it hadn't been manually called already. Is this in PHP 4.1.1? If so, does it also work for mt_rand()? Thanks, ~ZG~ _ Get your FREE downlo

[PHP] Sessions in URL not being recognized!

2002-01-31 Thread Grant Boggs
ls is on. Any help would be appreciated... test code to run, whatever... Please help! -- Grant -- 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] Re: Is there a way to put a scroll in a table ???

2002-03-04 Thread Grant Babb
pagescrollfade script you can see it in action at http://www.datajunction.com/customers.asp If we could make this thing generate dynamically with E$%^@ ASP then PHP should be no problem. Grant Babb Email: [EMAIL PROTECTED] Data Junction Corporation Phone: (512) 459-1308 2201

[PHP] Re: Session control issue

2001-10-22 Thread Grant Boggs
"Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am experiencing a problem of trying to run several variants of the same > code and keep the sessions separate. Here is the scenario. > > I am launching all of this from a CMS. So, the CMS displa

[PHP] PHP Openlink/Progress Problems

2001-10-22 Thread Grant Walters
37000 in SQLExecDirect in /usr/local/.WWW/WEBS/_odbc/test.php3 on line 42 SQL: SELECT ID,Category,description FROM card_type WHERE description="PEPPERELL'S" Warning: SQL error: [OpenLink][ODBC][Driver]Syntax error or access, SQL state 37000 in SQLExecDirect in /usr/local/.WWW/WEBS/

RE: [PHP] PHP Openlink/Progress Problems

2001-10-24 Thread Grant Walters
> On Tue, 23 Oct 2001 16:35, Grant Walters wrote: > > I'm going nuts trying to work out how to handle errors from data > > statement with single quotes. PHP 4.0.6 appears to be mangling > > something somewhere. > > All statements work with the Openlink odbctest

RE: [PHP] email an ms-word attachment (please)

2001-03-21 Thread Grant Walters
ate? > > > > Rick Widmer > > Internet Marketing Specialists > > http://www.developersdesk.com > > Hi Rick > I have advised my client of all of the risk you mention. > They still want to go ahead. They feel that the bulk of their > website visitors are > trust

[PHP] FYI: compile php4 compress uncompress libmysqlclient issue

2001-03-25 Thread Grant Walters
: There is probably a whole lot of stuff that is a bit wrong with what I have done above, but a functioning binary was all I was after. I would appreciate any feedback on this. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O

RE: [PHP] windows 2000 install

2001-04-12 Thread Paul Grant
The php4win site (http://www.php4win.de/) is a good source of information on PHP running on Windows. Ok I know you said that you can't use Apache but if the specter of Notes changes your mind, PHP Triad (http://www.phpgeek.com/) is a great way to get PHP, MySQL and Apache up and running quickly.

[PHP] Debuggers

2001-08-24 Thread Grant Boggs
y projects are getting complicated enough that a full-featured debugger would be helpful... -- == Grant Boggs http://www.cornersonesoftware.ws -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Image upload not working correctly

2004-10-13 Thread Dave Grant
Hello. I am working on a rather large form for my work that accepts, among other things, 2 images, one smaller one 65 x 93 pixels, and a larger one 105 x 150 pixels, both in JPG format. Let me run through the whole process, showing my code. I use simple, standard HTML for the form: I chec

Re: [PHP] Image upload not working correctly

2004-10-14 Thread Dave Grant
Thanks for the reponse. Yes, the destination paths look fine and the PHP error log displays no errors. Any other ideas? Thanks. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thursday 14 October 2004 02:40, Dave Grant wrote: > >> e

Re: [PHP] Image upload not working correctly

2004-10-14 Thread Dave Grant
EMAIL PROTECTED] > On Thursday 14 October 2004 02:40, Dave Grant wrote: > >> echo "Thumb image uploaded to ".$thumbPath."\n"; >> echo "Full image uploaded to ".$fullPath."\n"; > > Do these look OK? > >> Everything work

[PHP] Moving uploaded image tmp file problem

2004-10-20 Thread Dave Grant
Hello, I wonder if someone has ran into a problem similar to or related to this before. I have a rather large form that, among other things, allows the user to upload 2 images, one small, the other slighly larger. They upload just fine, they show up in the $_FILES array, and I do error checkin

[PHP] Security Support

2009-03-29 Thread Grant Peel
e can setup servers ourselves, but simply do not have the time to research various run time, and security related items. TIA, -Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security Support

2009-03-30 Thread Grant Peel
- Original Message - From: "Michael A. Peters" To: "Grant Peel" Cc: Sent: Sunday, March 29, 2009 10:00 PM Subject: Re: [PHP] Security Support Grant Peel wrote: Good Morning / Afternoon, We run several of our own servers: - Dell Power Edge 1U, Pentium, - FreeB

[PHP] PHP Security

2009-06-02 Thread Grant Peel
Hi all, I am currently setting up the next generation web server for our company and am in need of general consulting/advice on php set up security issues. Any one with knowledge and expierience please feel free to reply :-). -Grant

Re: [PHP] PHP Security

2009-06-02 Thread Grant Peel
its -Grant - Original Message - From: "Phpster" To: "Grant Peel" Cc: Sent: Tuesday, June 02, 2009 5:53 PM Subject: Re: [PHP] PHP Security H, how about some details on OS, etc Bastien Sent from my iPod On Jun 2, 2009, at 17:26, "Grant Peel"

Re: [PHP] Re: PHP Security

2009-06-02 Thread Grant Peel
??? - Original Message - From: "Shawn McKenzie" To: Sent: Tuesday, June 02, 2009 7:39 PM Subject: [PHP] Re: PHP Security Grant Peel wrote: Hi all, I am currently setting up the next generation web server for our company and am in need of general consulting/advice on

[PHP] PHP as CGI-CLI on FreeBSD/Apache22

2011-06-27 Thread Grant Peel
Hi all, Up to this point we have been running PHP as an Apache 22 module. We would like to rebuild PHP over the next few weeks to run it as a CGI/CLI PHPSuexec system. I am hoping there may be others that have made this migration and might have a step by step how to (so far research shows it s

Re: [PHP] "lasso" (a bit 0T)

2004-06-06 Thread Roddie Grant
ons of MySQL directly (and other databases indirectly I believe). It's very powerful and has OO capabilities. That's enough about Lasso on a PHP list. If you want to know more, by all means email me off list, or join LassoTalk (email to [EMAIL PROTECTED]). Roddie Grant [EMAIL PR

Re: [PHP] html area

2006-02-28 Thread Grant Young
Tiny_MCE is another fairly simple editor - although I've experienced some quirks that can be quite annoying/tricky. http://tinymce.moxiecode.com/ Regards, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About date & time...

2006-02-28 Thread Grant Young
owing will work (if I understand your question correctly): $t = date('H\:\ i\:\ s'); HTH, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where can I find nice Web icons for custom admin interface?

2006-03-02 Thread Grant Young
Hi Nicolas. I've collected some pointers over the past few months to royalty free icons and designers at: http://del.icio.us/braquin/icons HTH. Regards, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >