[PHP] magic_quotes

2008-10-08 Thread Bryan
my webspace, it ran OK for 18 months on both. Looking at php.ini on my PC I note magic_quotes_gpc is set to on and magic_quotes_runtime is set to off. On my webspace I note magic_quotes_gpc is set to on as is magic_quotes_runtime, I assume this is what's screwing up the PHP generated html.

Re: [PHP] Borrowed code- how to give credit

2005-03-22 Thread Bryan
uldn't care. I mean, the burden of proving it would be on them. And who's to say that you didn't get it elsewhere. Just my $.02... Bryan On Tue, 22 Mar 2005 19:54:27 -0500, C Drozdowski <[EMAIL PROTECTED]> wrote: > Hey, > > I used a single line of code (ver bat

[PHP] errors in insert queries

2005-02-22 Thread Bryan Dina
VEN THOUGH the inserts were ACTUALLY made. I have seen posts to the PHP site with users of php v.4.x.x complaining about this problem, and so far no answers on what to do to fix the problem(s). Any help would be greatly appreciated. Thanks! --Bryan -- PHP General Mailing List (http://www.ph

[PHP] PHP cross platform IDE

2004-12-14 Thread Bryan Dina
IDE's? thanks! --Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: PHP doesn't work under SSL for Apache

2004-05-28 Thread Bryan Waters
I've asked this question in 4 different places and in each place i've not received a single response...is that because its too hard or too esoteric? I need to get this resolved and i'm stumped... Please help! thanks again -bryanw -Original Message----- From: Bryan Waters

[PHP] PHP doesn't work under SSL for Apache

2004-05-28 Thread Bryan Waters
I have an Apache 1.3.27 server configured with SSL, PHP and so on... My problem is that PHP doesn't work under the SSL virtual host...it works under other named virtual hosts and the main site, but it simply doesn't work under the _default_:443 virtualhost for some reason...on any other non-ssl pa

[PHP] Why is this happening

2004-03-08 Thread Bryan Bateman
This does not work: require('languages/' . $language . '/' . basename($PHP_SELF)); This does: require('languages/' . $language . '/' . basename($_SERVER['PHP_SELF']); Why -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
images can be downloaded as binary files with no problem.. I now have over 3000 images I cannot download or view on our website. What about rename caused this? Thank you, Bryan Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
Browser and FTP client act as if the image files do not exist, even though the directory contents can be views via FTP... What did I do? Bryan On Thu, 26 Feb 2004 17:56:25 -0600, Bryan Henry <[EMAIL PROTECTED]> wrote: Hello all, I wrote a small script to rename a few thousand images

Re: [PHP] Re: renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
Looking throught my FTP client it seems that the permission are the same? Could this be incorrect? Should I chmod or chown through a shell? or using PHP? ~ bryan On Fri, 27 Feb 2004 00:01:47 +, Michael Nolan <[EMAIL PROTECTED]> wrote: Check the permissions and ownership of the

Re: [PHP] renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
Here is the script I used to rename images. foreach ($config as $line) { if ( $line == "" ) next($config); elseif ( $line == "\n" ) next($config); elseif ( strstr($line,"#")) next($config); else { $value = split(Chr(9),$line); $imgs[$value[0]] = $value[1];

Re: [PHP] renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
Chmod and file_exists report that the file does not exist, even though I can view the files via the FTP client. bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: renamed images are now corrupt...

2004-02-26 Thread Bryan Henry
I realized that I did not trim the end line characters off of the file extensions after I grabbed all the file names from a text file. Now all the images have end of line chracters as part of the extension. I cannot access/edit the files through SHH, PHP or FTP... Oh well... bryan On

[PHP] apache2 hanging

2004-02-09 Thread Bryan Simmons
ow to fix this? Regards, Bryan Simmons Network Systems Engineer General Physics 410.379.3710 [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html -- PHP General Mailing List (http://www.ph

Re: [PHP] Re: server hanging on php site

2004-01-16 Thread Bryan Koschmann - GKT
and post it. Ben, I've just tried setting that. I get absolutely no errors whatsoever. Could this be more of an Apache error? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] server hanging on php site

2004-01-15 Thread Bryan Koschmann - GKT
t fine. I don't see any errors or an increased cpu/memory load. It isn't always on this specific page (well its a livehelp program) and has done it elsewhere but I forget what I was using. What could be causing this, or how should I diagnose it? Thanks, Bryan -- PHP Genera

[PHP] globals?

2004-01-06 Thread Bryan Koschmann - GKT
Hi, I was just curious, how much longer are globals going to be supported? I had heard awhile back that they wouldn't be around for too long. Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
On Tuesday, September 02, 2003, at 05:12PM, Chris Shiflett <[EMAIL PROTECTED]> wrote: >--- John Bryan <[EMAIL PROTECTED]> wrote: >> So looks like I can't have it both ways, i.e. POST and GET > >Yes, you can. > > > > > >The script blah.php can re

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]> wrote: >Hello, >If you use yes they will be part of the input >stream. What i suggested was you have > then you can >retrieve the query string variable from the env. (at least this works >with perl cgi and i

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
On Tuesday, September 02, 2003, at 01:55PM, CPT John W. Holmes <[EMAIL PROTECTED]> wrote: >From: "John Bryan" <[EMAIL PROTECTED]> > >> If so, the problem is that this file that is being uploaded >> via the form to the program MyCppProg.exe gets sent >

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]> wrote: >Hello, >If you use yes they will be part of the input >stream. What i suggested was you have > then you can >retrieve the query string variable from the env. (at least this works >with perl cgi and i

RE: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
On Tuesday, September 02, 2003, at 01:32PM, Ford, Mike [LSS] <[EMAIL PROTECTED]> wrote: >On 02 September 2003 19:22, Raditha Dissanayake wrote: > >> Hi, >> >> Had a similar problem when building upload progress bar. Initially i >> used cookies but that had a few minor hiccups. What you can do i

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
very quickly. > >oh and btw the correct way to set a cookie is with session_register(), >$_SESSION is used for retrieval. > >John Bryan wrote: > >>I need to use something like a session variable to make a variable available to an >>existing form-invoked C++ progra

[PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
I need to use something like a session variable to make a variable available to an existing form-invoked C++ program which takes as input a file being uploaded. Is this even do-able ??If so, what am I missing here ??? The C++ prog used to use the REMOTE_USER env var set by the web server b

Re: [PHP] Newbie Question

2003-08-21 Thread Bryan Koschmann - GKT
n a PHP page to load the data. It's web based, uses PHP to do everything. Pretty cool setup. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] UPS / USPS shipping algorithm

2003-08-20 Thread Bryan Koschmann - GKT
Just out of curiosity, how are you doing this? I've wanted something like this as well as tracking information. I've only looked around their sites for something but didn't find it. Fedex would be even better if anyone has any ideas on that :) Thanks, Bryan On Wed, 20

Re: [PHP] simple imap functions

2003-07-15 Thread Bryan Koschmann - GKT
On Tue, 15 Jul 2003, David Nicholson wrote: > > You could compile PHP with the IMAP functions and use them: > http://uk2.php.net/imap That is what I was referring to looking for examples using these functions as a whole. Bryan -- PHP General Mailing List (http://www.php

[PHP] simple imap functions

2003-07-15 Thread Bryan Koschmann - GKT
have this in a page that refreshes every 20-30 seconds or so, will there be any problems with this? Thanks in advance, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: refreshing fopen

2003-06-17 Thread Bryan Koschmann - GKT
thing? I know http is not an always open type protocol, but I still thought there was a way. Meta refresh just won't work correctly.. Thanks, Bryan > > I'm wondering what the best way to go about this would be. I will be > > opening a URL that outputs a csv. This cs

[PHP] refreshing fopen

2003-06-17 Thread Bryan Koschmann - GKT
will have a gap where it won't be update. Is there someway to hold it open, and when it changes refresh itself? This is all on a LAN, so the traffic isn't that big of a deal. Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Opinion on a method....

2003-04-04 Thread Bryan Lipscy
In a php file I can just include the connection information and reduce the overhead that comes with fopen. Still gives me one central spot for changing connection information as necessary. There is always more than one way to do it. -Bryan -Original Message- From: Dan Joseph [mailto

RE: [PHP] Opinion on a method....

2003-04-04 Thread Bryan Lipscy
Put the connect info into a php file (i.e. connect.php). If it is ever directly accessed by the client the PHP engine will render a blank page. If your ini file is ever accessed by the client it will render the contents of the ini file. Wonder if removing rwx would adversly affect includes to th

Re: [PHP] whats this!!!!

2003-04-01 Thread Bryan Brannigan
the world has come to an end :-P - Original Message - From: "Chris Edwards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 3:35 PM Subject: [PHP] whats this > read: http://php.weblogs.com/ > > -- > Chris Edwards > Web Application Developer > Outer Banks

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Yes, an excellent book. -Original Message- From: Kenn Murrah [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:14 PM To: Mike; [EMAIL PROTECTED] Subject: Re: [PHP] Is there a PHP for Dummies? oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is REALLY helpful if,

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Use the Zend Beauford. http://www.zend.com For beginners: http://www.zend.com/interest/beginners.php Using Google: http://www.phpbuilder.com/manual/function.get-magic-quotes-gpc.php -Original Message- From: Beauford.2002 [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:54 PM T

RE: [PHP] Stupid question perhaps?

2003-03-27 Thread Bryan Lipscy
Anything in the apache error_log? -Original Message- From: Tom Tsongas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:58 AM To: [EMAIL PROTECTED] Subject: [PHP] Stupid question perhaps? I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been previously running

Re: [PHP] target frame on refresh

2003-03-27 Thread Bryan Koschmann - GKT
On 27 Mar 2003, Mike wrote: |You can't do that in PHP... just use JavaScript... do a google for it. | |-Michael Didn't think so. I've been google-ing and can't find what I need, so I thought I'd try a longshot. Thanks, Bryan -- PHP General Mailing List

[PHP] target frame on refresh

2003-03-27 Thread Bryan Koschmann - GKT
Hello, I'm not sure this can be done with PHP, but I'm looking for any ideas! I have a frames page. The top refreshes every 5 seconds, checking for if a file exists. If that file exists, it is supposed to change the bottom frame to another site. Basically like using an http://www.php.net/) To uns

RE: [PHP] flush not flushing?

2003-03-25 Thread Bryan Koschmann - GKT
Daniel- I just tried this, didn't seem to make a difference. Thanks for the reply! Bryan On Tue, 25 Mar 2003, daniel wrote: |hi , i have had similar issues its worked by doing a ob_flush before flush |then u want a sleep statement so maybe try | |ob_flush(); |flush(); |sl

Re: [PHP] mail() Bcc:

2003-03-24 Thread Bryan Brannigan
$mail->BCC( "[EMAIL PROTECTED]" ); - Original Message - From: "Oden Odenius" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 3:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden

RE: [PHP] random letter/character?[Scanned]

2003-03-19 Thread Bryan Koschmann - GKT
l and quick response! Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] random letter/character?

2003-03-18 Thread Bryan Koschmann - GKT
separated by spaces. Can anyone give me a pointer as to how to do this? Since the rand functions are only for numbers, maybe assign each character group a number? Thanks in advance! Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php auth instead of .htaccess

2003-03-18 Thread Bryan Koschmann - GKT
page (and not needing authenticate) without having to login at every page. I'm assuming I would use something with sessions. Does anyone have a quick sample of how to do this? Any help would be great, I just need a step or two in the right direction. Thanks, Bryan -- PHP Gener

RE: [PHP] help me please

2003-03-16 Thread Bryan Brannigan
download and install the apache web server. that along with php should do the trick. if you're doing any database work you may want to pick up the windows version of that too. some decent instructions are here: http://www.thesitewizard.com/archive/php4install.shtml -Original Message- Fr

[PHP] cURL & PHP compile error

2003-03-10 Thread Bryan Brannigan
Trying to setup PHP with cURL support... I run this configure command: ./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl --with-curl --with-mcrypt --enable-sockets and receive this error: /usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL' Help!! -- PHP General

RE: [PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-07 Thread Bryan Lipscy
Try: header("Cache-control: private"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: fopen/fgets

2003-03-07 Thread Bryan Koschmann - GKT
Thanks.. I feel stupid, I wasn't paying attention. *sigh* seems to work now :) Bryan On Fri, 7 Mar 2003, Adrian Ciutureanu wrote: |you close the input file in while loop ( fclose($fp); ) | |"Bryan Koschmann - Gkt" <[EMAIL PROTECTED]> wrote in message |news:[EM

[PHP] fopen/fgets

2003-03-06 Thread Bryan Koschmann - GKT
;); fclose($fp); fclose($fout); } } Please help! I keep re-reading the docs at php.net for fopen fgets and all that with no luck! Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] TO Bryan LipscyRe: [PHP] i got a problem

2003-03-05 Thread Bryan Lipscy
']; $pais = $_POST['$pais']; $comentario = $_POST['$comentario']; $sql = "INSERT INTO agenda (nombre, direccion, telefono, email, pais, comentario) VALUES ('$nombre', '$direccion', '$telefono', '$email', '$pais', '$comentar

RE: [PHP] session data

2003-03-05 Thread Bryan Lipscy
>Is the number by second, minutes, etc? session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. http://www.php.net/manual/en/ref.session.php Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] i got a problem

2003-03-05 Thread Bryan Lipscy
Try echo $sql; To check your sql before execution. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Maintain " and ' in html textfields - REPLY

2003-03-04 Thread Bryan Lipscy
The problem is the " from the text is closing the " from the html. > > --- Bryan Lipscy <[EMAIL PROTECTED]> wrote: > > Look up magic quotes in the docs. > > > http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc > > > > > > > >

RE: [PHP] Maintain " and ' in html textfields

2003-03-04 Thread Bryan Lipscy
Look up magic quotes in the docs. http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc The docs are mmm mmm good. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Browser Sniffing

2003-03-04 Thread Bryan Lipscy
>What's e.g. mean? Latin: exempli gratia Translated: for example i.e. Latin: id est Translated: that is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Query Result Question

2003-02-28 Thread Bryan Lipscy
Shouldn't that be: while($data=mysql_fetch_array($result)) { //SSLT } NOTE: Added ) and changes $query to $result -Original Message- From: Van Andel, Robbert [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 3:21 PM To: [EMAIL PROTECTED] Subject: [PHP] MySQL Query Result Que

Re: [PHP] PHP to read MS-SQL (solution)

2003-02-28 Thread Bryan Koschmann - GKT
ld be wrong, as I don't completely understand how he has it setup. I'm a linux server only type of guy. However, I'll take a look at it. Maybe I was incorrect in my research, or the programmer didn't look fully into the specs for PHP. Thanks, Bryan -- PHP Gener

RE: [PHP] testing for < 0

2003-02-28 Thread Bryan Lipscy
See isset() and empty() -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:29 AM To: PHP Subject: [PHP] testing for < 0 I have a form that has input for minutes. My problem is that I am trying to test to see if the field is blank or not

Re: [PHP] Read

2003-02-28 Thread Bryan Brannigan
yes - Original Message - From: Karl James To: [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 11:11 PM Subject: [PHP] Read Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same hard drive on XP pro? I need to know for school, because I'm tak

[PHP] PHP to read MS-SQL (solution)

2003-02-27 Thread Bryan Koschmann - GKT
fget, then explode to get the data. He is planning on releasing it for free (maybe GPL with source if he can) so if anyone is interested let me know. Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: date, "first of next month"?

2003-02-27 Thread Bryan Koschmann - GKT
t;)); } else { $rendate = date("l, F jS Y", strtotime("$expdate +1 day")); } I'm not sure if it would be more inefficient or what, but it seems to work (so far). I'm not too worried about efficiency because it will only run once a month. Thanks to everyone wh

Re: [PHP] date, "first of next month"?

2003-02-26 Thread Bryan Koschmann - GKT
e(). Thats great, worked perfectly! Thank you very much :) Heres a tough one, is there such a say to now get the date of the first weekday after that date? Thanks again, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date, "first of next month"?

2003-02-26 Thread Bryan Koschmann - GKT
Hello, Does anyone know a way to do this easily? I have a script that pretty much says "this is due on the first of next month" but I would like it to actually use the correct date. Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Session SID curio

2003-02-25 Thread Bryan Lipscy
== PHPSESSID=aed42b1e8e514e2b28e630729edfa24b Server: Apache/1.3.27 (Unix) PHP/4.3.0 www.domainname.net maps to hostname. They are the same server, just accessed differently. Maybe I missed it but I didn't see anything in the docs, archives or bugs about this. Anyone know why this happens?

RE: [PHP] Include files

2003-02-25 Thread Bryan Lipscy
Funny thing about online manuals. include() http://www.php.net/manual/en/function.include.php include_once() http://www.php.net/manual/en/function.include-once.php Please read: http://www.catb.org/~esr/faqs/smart-questions.html -Original Message- From: Kenneth Suralta [mailto:[EMAIL

RE: [PHP] no session id

2003-02-25 Thread Bryan Lipscy
RTM: http://www.php.net/manual/en/ref.session.php Tutorial: http://www.zend.com/zend/tut/session.php -Original Message- From: php [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:40 PM To: [EMAIL PROTECTED] Subject: [PHP] no session id this code doesn't ouput a session-

RE: [PHP] mysql trouble

2003-02-25 Thread Bryan Lipscy
Create a user with appropriate privledges for the database. DO NOT use root. You did not mention where the $nombre, $direccion, $telefono, or $email variables are being initialized. To capture the values from a form use $_POST['name'] where name is the name of the field on the form. HTH -

RE: [PHP] how___??

2003-02-25 Thread Bryan Lipscy
://babel.altavista.com Bryan -Original Message- From: Luis A [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 2:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] how___?? i need to do this $link = mysql_connect("remote host", "mysql_user", "mysql_password&qu

RE: [PHP] how___??

2003-02-25 Thread Bryan Lipscy
RTM first please: http://www.php.net/manual/en/function.mysql-connect.php $link = mysql_connect("localhost", "mysql_user", "mysql_password") or die("Could not connect: " . mysql_error()); Replace localhost with the hostname of your mysql server. -Original Message- From: Luis A [mailto:

RE: [PHP] Re: Submit buttons

2003-02-25 Thread Bryan Lipscy
HTML: JS: Function DoThis(){ frmMain.method = "POST"; frmMain.action = "admin.php"; frmMain.submit(); } Where frmMain is the name for the FORM: Read all about it in: http://www.oreilly.com/catalog/jscript4/ Bryan -Original Message- From:

[PHP] search script

2003-02-24 Thread Bryan Brannigan
Ok, my problem of the day. I need to take a field from a form that has either a first name, last name or both and then search the database for all records that match one of those items. The problem, the database only has one field for the name.. where both the first and last name are stored.

RE: [PHP] Skipping Image Upload if Filename is blank

2003-02-19 Thread Bryan Brannigan
Chris.. you are 100% correct, that took care of it. Thanks for the help, Bryan -Original Message- From: Chris Cook [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 10:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Skipping Image Upload if Filename is blank

[PHP] Skipping Image Upload if Filename is blank

2003-02-19 Thread Bryan Brannigan
efile']['tmp_name']) { copy ($_FILES['imagefile']['tmp_name'], "../images/".$_FILES['imagefile']['name']) or die ("Could not copy"); } **snip** Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mysql select and date functions

2003-02-18 Thread Bryan Lipscy
tried) functions to parse the required values out of the Posted field. HTH, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
worthy of further investigation. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
another script. Still looking for a better way. What concerns me the most is if a code disclosure bug is later discovered in 4.3.0 or another version. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
another script. Still looking for a better way. What concerns me the most is if a code disclosure bug is later discovered in 4.3.0 or another version. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What happened to phpEdit???

2003-02-16 Thread Bryan Lipscy
Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message- From: Al [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 8:39 AM To: [EMAIL PROTECTED] Subject: [PHP] What happened to phpEdit??? Their site no longer responds. Surely, we haven't lost one

[PHP] slideshow/flush

2003-02-14 Thread Bryan Koschmann - GKT
a.I click "next" or something, and it either advances to another page, or to another picture, and so on. I know you can kind of do a live output using flush, but what about forcing it to another page? Any ideas would be great! Thanks, Bryan -- PHP General Mailing List

RE: [PHP] problems with cookies and PHP

2003-02-13 Thread Bryan Lipscy
I have been playing with this at home. Perhaps this makes it a bit easier. boolean setcookie ( string name [, string value [, int expire [, string path [, string domain [, int secure]) boolean setcookie (name, value, expire, path, domain, secure) Fwiw, a solution from another project:

RE: [PHP] cookie problem....

2003-02-13 Thread Bryan Lipscy
>From your code snip it looks like you are missing ?> after the if contruct. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Learning PHP

2003-02-12 Thread Bryan Lipscy
You may want to wait a few days on this book. The 2nd edition is due out tomorrow. Search on 0-672-32525-X -Original Message- From: Brent Baisley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:19 AM To: Greg Luce Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Learning PHP N

RE: [PHP] empty and isset

2003-02-05 Thread Bryan Lipscy
Belay that one. I figured it out. My err. I will shut up and go back to lurk mode. So sorry, please don't flog me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] empty and isset

2003-02-05 Thread Bryan Lipscy
Env: Slackware 8.1, Apache 1.3.27, PHP 4.3.0 Bugs: None found for these issues. I am running to this same problem. The isset() function appears to have problems with the empty text value. The empty() function sees the value of $_POST['q1'] as expected. So why is both isset() and empty() retur

RE: [PHP] [SOLVED] Socket error connecting to mySQL

2003-02-04 Thread Bryan Lipscy
Slackware box. Thanks again for your help. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Socket error connecting to mySQL

2003-02-03 Thread Bryan Lipscy
with PHP 4.3.0 exists on a Slackware 8.1 box. All parameters are correct. Boxes can see each other. All php scripts work when run on the Win2k box. Any ideas why connecting to php/mysql would throw this error? Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Madness

2003-01-29 Thread Bryan Brannigan
put your password in the mysql_connect. mysql_connect("localhost", "root", "yourpassword"); or create a new user in mysql that has no password and minimal permissions. > -Original Message- > From: Gibbs, Liam - SXIA [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 9:46 AM >

RE: [PHP] Multiple Emails

2003-01-29 Thread Bryan Brannigan
are all your email duplicated? if people are replying to a message you sent you are probably getting one copy from them and one from the list. > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 9:31 AM > To: [EMAIL PROTECTED] > S

RE: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread Bryan Brannigan
Have you tried echo'ing out the variable before and after the mysql_query? > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 6:20 AM > To: Sunfire; [EMAIL PROTECTED] > Subject: Re: [PHP] php and sql problem with mysql_query and i

[PHP] radius auth and sockets

2003-01-28 Thread Bryan Koschmann - GKT
undefined function: socket_create() in /home/bryan/php/php-radius-1.2/radius_authentication.inc on line 69 But it was configured with --enable-sockets... Any thoughts? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] radius auth and sockets

2003-01-28 Thread Bryan Koschmann - GKT
undefined function: socket_create() in /home/bryan/php/php-radius-1.2/radius_authentication.inc on line 69 But it was configured with --enable-sockets... Any thoughts? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Solved [PHP] mysql_fetch_row problem

2003-01-23 Thread Bryan Brannigan
Thanks all for the responses.. the solution was to add single quotes around the $Location variable. > -Original Message- > From: Rick Emery [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 10:10 AM > To: Bryan Brannigan; Php List (E-mail) > Subject: Re: [PHP]

RE: [PHP] Executing Shell Commands.

2003-01-23 Thread Bryan Brannigan
I believe something like this would do it: system('ls -l'); > -Original Message- > From: scott [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 9:06 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Executing Shell Commands. > > > Hello, > > Does anybody know how to execute a s

[PHP] mysql_fetch_row problem

2003-01-23 Thread Bryan Brannigan
ect("localhost", "webapp"); mysql_select_db("helpdesk",$db); $result = mysql_query("SELECT contactemail FROM loc WHERE location=$Location",$db); while($row = mysql_fetch_row($result)){ $contactemail = $row[0]; } Thanks in advance, Bryan ~~

Re: [PHP] Newbie Questions

2003-01-21 Thread Bryan Cassidy
I just know some very basic html. lol. ya i know i know. I just havent had time to set down and learn the things I want to learn until now. On Tue, 21 Jan 2003 11:00:29 -0500 David T-G <[EMAIL PROTECTED]> wrote: > Bryan -- > > [BTW, I could not find your key on us.php.net or eu

[PHP] Newbie Questions

2003-01-21 Thread Bryan Cassidy
Could someone point me to a VERY good doc for learning PHP for a NEWBIE!!! Something I can understand from the beginning to the end. YES I am willing to put my time into learning and reading docs as long as they are clear and made for what they say they are made for. I wont waste my time with somet

Re: [PHP] old getenv?

2002-12-18 Thread Bryan Koschmann - GKT
atch :) Thanks again, Bryan On Wed, 18 Dec 2002, Kevin Stone wrote: |The only way to get at HTTP_REFERER is either through getenv(), |$HTTP_SERVER_VARS, or $_SERVER. There is no other way around it. But since |the methods are universial there shouldn't be any harm in just usi

[PHP] old getenv?

2002-12-18 Thread Bryan Koschmann - GKT
ation as well)? I had the same problem with another formmail. Any help would be great, thanks! Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] command line output

2002-12-10 Thread Bryan Koschmann - GKT
Cool, thanks! I kept trying php --help to get that, didn't try the -h. Works great :) Bryan On 10 Dec 2002, Ray Hunter wrote: |try using -q | |Here is the usage: | |Usage: php [-q] [-h] [-s [-v] [-i] [-f ] | { [args...]} | -q Quiet-mode. Suppress HTTP Header o

[PHP] command line output

2002-12-10 Thread Bryan Koschmann - GKT
52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html 168 (the 168 is my outputted number) Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: print to file

2002-12-03 Thread Bryan Koschmann - GKT
Thank you! I feel like an idiot, kept getting it mixed up with perl. :) Bryan On Tue, 3 Dec 2002, Thomas Seifert wrote: | |$fp=fopen("filename","a"); |fputs($fp,"text to the file"); |fclose($fp); | | |Regards, | |Thomas | |On Mon, 2 Dec 2002 15:52:2

  1   2   >