[PHP] German Date - GMDATE Function

2003-10-22 Thread Steve Vernon
. THANKS! Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session within a session lock?

2003-10-21 Thread Steve Wardell
to the web server to utilize the same PHP session). However, if I use the same session ID things seem to lock and the fread's from the socket just don't return any data. Why would there be a lock in doing a request within a request to the same PHP session? Thanks, Steve -- PHP General Mailing List

Re: [PHP] Session within a session lock?

2003-10-21 Thread Steve Wardell
Thanks guys. Makes sense. This is a conversion from ColdFusion and was not an issue in ColdFusion, thou in CF you could do read or write locking to allow for such situations. I'll rework things. Steve John W. Holmes wrote: Steve Wardell wrote: I have a page on my PHP site that needs

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
does NOT give a new line in the output unless you use an html tag that would give the new line. Steve At 06:39 AM 10/13/2003, you wrote: They do work but you will not see that in the rendered html page (in a browser). Have a look at the source of the produced page and you will see

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
Do what I do, use both the \n and the br tags. I am not worried about anybody else thinking the source is nice looking, I do it for debugging so that I can see how the source comes out in a readable format. Steve At 06:48 AM 10/13/2003, you wrote: Ok, Now I see what happen (maybe). So

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
To give tabs in html, you might want to try using nbsp; nbsp; nbsp; instead of \t Steve At 06:57 AM 10/13/2003, you wrote: Wang Feng wrote: The page source shows: htmlbody/body/html The problem might be right here

[PHP] Re: Exec() wont run program

2003-10-13 Thread steve
that explains why most X applications wont run from the webserver? Thanks. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Exec() wont run program

2003-10-10 Thread steve
I want to start up a program through a php page. For example, gedit. I found that the user is apache by running this: - passthru('whoami'); since apache might not have access to run a certain command, I'll use sudo. I edited the sudoers file in /etc/sudoers and underneath the line: #

[PHP] Re: Exec() wont run program

2003-10-10 Thread steve
Curt Zirzow wrote: What is gedit? it looks like the gnu text editor command. most X applications wont run from the webserver in most cases. gedit is a simple text editor - I think it stands for Gnome Edit echo shell_exec(sudo gedit); might give some answers, Curt. Tried echo shell_exec(sudo

RE: [PHP] File upload meter

2003-10-08 Thread Steve Murphy
David Enderson also developed an upload meter and contacted PHP about including it. http://www.mail-archive.com/[EMAIL PROTECTED]/msg02155.html Long and short, PHP never included it. This functionality is requested and can be included easily. I'm in the process of developing documentation and rpm

[PHP] duplicating databases

2003-10-08 Thread Steve Buehler
to the other databases. Does anybody know if there is all ready a program out there that would do this? Can anybody point me in the right direction? Or if it is only a few lines of script that somebody all ready has to do this, can you share it? Thank You Steve -- PHP General Mailing List (http

Re: [PHP] attach file with mail() function??

2003-10-06 Thread Steve Buehler
At 06:34 PM 10/5/2003, Roy W wrote: Is there a way to attach a file with the mail() function? Thanks! Yes. Take a look at http://www.php.net/mail Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] if statement

2003-09-30 Thread Steve Buehler
/bind/rndc.conf.wp,/etc/bind/keys.conf.wp); if($k2b==$array){ do this1 }else{ do this2 } I think that might make enough since to see if someone can help me on this. This would be real nice for me in use in a lot of scripts. Thanks Steve PHP / MySQL -- PHP General Mailing List

Re: [PHP] if statement

2003-09-30 Thread Steve Buehler
To Brad, Marek and Curt (and anybody who responds after this) Thank you so much for your help. This is going to help me out so much in a lot of my scripts. It will sure make them a little.Noa LOT more portable now. Thanks Steve At 11:26 AM 9/30/2003, you wrote: Steve Buehler

[PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!

2003-09-18 Thread Steve Jackson
is EventNotification_01.pdf P is Array Path is /home/.sites/144/site281/downloads/EventNotification_01.pdf FP is Resource is #1 Has anyone got any clue what the problem is? Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358

RE: [PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!

2003-09-18 Thread Steve Jackson
. Finally a step in the right direction but how do I go about solving this? Kind regards Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!

2003-09-18 Thread Steve Jackson
someone else! Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Steve Jackson [mailto:[EMAIL PROTECTED] Sent: 18. syyskuuta 2003 12:19 To: [EMAIL PROTECTED] Subject

RE: [PHP] Getting part of a string...Was protecting a file via php

2003-09-17 Thread Steve Jackson
to proceed? Cheers, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Getting part of a string...Was protecting a file via php

2003-09-17 Thread Steve Jackson
?file=','','$file'); $p = explode('.', $pfile); $extension = $p[sizeof($p)-1]; $pfile when echoed is $file $file when echoed is the correct name of the file which is even more confusing. I figured that $file would include the URL which might be why it hanged explorer. Steve Jackson Web Development

[PHP] Protecting a file via PHP.

2003-09-16 Thread Steve Jackson
is served to (a temp) or what? No matter what I've tried I get no error message and the browser (IE6) just hangs so it appears that PHP is trying to serve the file but failing for some reason. What is that directory I am supposed to define? What am I doing wrong? Steve Jackson Web Development

FW: [PHP] Protecting a file via PHP.

2003-09-16 Thread Steve Jackson
Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Steve Jackson [mailto:[EMAIL PROTECTED] Sent: 16. syyskuuta 2003 12:15 To: '[EMAIL PROTECTED]' Subject: RE: [PHP

[PHP] Getting part of a string...Was protecting a file via php

2003-09-16 Thread Steve Jackson
/vnd.ms-excel\n); break; default : // force download dialog if no extension defined. header(Content-type: application/octet-stream\n); header(Content-disposition: attachment; filename=\$file\\n); break; } Steve Jackson Web Development

[PHP] php,up2date and mcrypt

2003-09-08 Thread Steve Buehler
I have a new RedHat Linux v.9 server that gets its php through 'up2date'. I want the ability to use mcrypt with php. I thought that I read somewhere a way to do this without having to recompile PHP. Can anybody point me to the right place or explain to me how to do this? Thanks Steve -- PHP

[PHP] multiple select box

2003-09-04 Thread Steve Goodman
Hey all, I'm curious if anyone else has ever come across this problem: I have a multiple select box named 'chosen'. When it is submitted, only the last option selected appears under $_POST['chosen'], when I print_r($_POST). Any ideas? Thanks in advance, Steve -- PHP General Mailing List (http

[PHP] evaluating dynamic variable

2003-09-02 Thread Steve Goodman
Hi, I'm having trouble evaluating a dynamic variable. I want to check if the variable $_POST[resolutions$i] is an empty string, as you'll see from the code. However, every way I've tried to check the variable so far (including empty() and eval()) always returns a null value, even when the variable

[PHP] IS THIS A BUG?

2003-08-27 Thread Steve Todd
Is it possible to define a variable, such as: $foo = bar; and then do as follows to create a totally different variable: $$foo = text here; this seems to mean $bar = text here;. Is this a bug or can we legally use it. Steve

[PHP] case insensitive sort

2003-08-26 Thread Steve Buehler
: Buehler, Steve Buehler, Steve Teste, Teste a, a asdf, adsf asdf, asdf dsdlkj, sd Here is the code to sort: $GLOBALS[sortterm]=cont_name; usort($logins, cmp); function cmp ($a, $b) { GLOBAL $sortterm; return strcmp($a[$sortterm], $b[$sortterm]); } Thanks Steve -- PHP General Mailing List (http

Re: [PHP] case insensitive sort

2003-08-26 Thread Steve Buehler
Ok. Now I REALLY feel like an idiot. Thanks so much for your help. Steve At 05:46 PM 8/26/2003 +0200, you wrote: It right there under your nose: strcasecmp() Steve Buehler wrote: I am using the following function for a sort on an array. I hope someone can help me out here and let me know

Re: [PHP] String parsing help

2003-08-20 Thread Steve Edberg
Or (untested): $String = 'NORTH LITTLE ROCK AR 72118-5227'; $Bits = split(strrev($String), '[[:space:]]+', 3); $Zip = strrev($Bits[0]); $State = strrev($Bits[1]); $City = strrev($Bits[2]); ...could also use preg_split() - steve At 4:44 PM -0400 8/20/03, CPT John W. Holmes [EMAIL PROTECTED

[PHP] Re: Refresh a page in another frame

2003-07-31 Thread Steve Fulleylove
Thanks Mehdi, Works a treat. Steve Mehdi Achour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Steve Fulleylove wrote: Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load

[PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
be happening? BTW, no, I do not try to set all of these at once. Just showing the lines that I use. The header line and the first two setcookie lines work just fine on a RedHat 7.3/Apache 1.3.27/PHP 4.2.2 machine. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
domain parameter and it still didn't work. Steve At 05:53 PM 7/31/2003 -0500, Steve Buehler wrote: I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP 4.2.3 on my laptop and my cookies still don't work like they should. Hopefully someone can explain to me why. ? $cookhost

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
I want to thank everybody for your help. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
php.ini file or my browsers? The program works fine on my RedHat/Apache/PHP/MySQL server. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
that are set and it doesn't show up in there after I try to set it. Again, the program will set the cookie if run from my RedHat/Apache/PHP/MySQL server. Thanks Steve At 02:54 PM 7/30/2003 -0400, CPT John W. Holmes wrote: I have PHP/Apache/MySQL installed on my WinXP laptop. I do this so that I can

[PHP] Refresh a page in another frame

2003-07-30 Thread Steve Fulleylove
Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load a page into a different frame ? Thanks in advance, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
. On another note, why would this work on the RedHat, but not the WinXP Apache/PHP? Thanks Steve At 12:34 PM 7/30/2003 -0700, Chris Shiflett wrote: Can you try this example? Let's call the file cookie_test.php ? if (!empty($_COOKIE['test'])) { echo The test cookie was sent by the browser\n; } else

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
Steve At 12:34 PM 7/30/2003 -0700, Chris Shiflett wrote: Can you try this example? Let's call the file cookie_test.php ? if (!empty($_COOKIE['test'])) { echo The test cookie was sent by the browser\n; } else { header('Set-Cookie: test=true'); echo Trying to set the test cookie.br /\n

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
That still won't work for me for some reason. I am just going to rewrite parts of the script to use a cookie name with out a [something] IN the name. I will rename it to ca_id or something like that. Thanks for your help Steve At 01:38 PM 7/30/2003 -0700, you wrote: --- Steve Buehler [EMAIL

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
of. It is just the name of a column in a table. I haven't figured out how to use session id's yet. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] check for duplicate databases

2003-07-30 Thread Steve Buehler
this? Or is there someone out there that can help me to write it? Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Opinon please - Host refuses to install a later version than 4.2.3 - says they're too buggy.

2003-07-23 Thread Steve Childs
environment. If that's the case, why hasn't 4.3.2 been fixed since late May? Or is my hosting company just making up excuses? I would like to get away from 4.2.3, just wondering what people's thoughts on the current version of php are. Thanks Regards Steve Childs, -- PHP General Mailing List

Re: [PHP] Opinon please - Host refuses to install a later version than 4.2.3 - says they're too buggy.

2003-07-23 Thread Steve Childs
place to do so) - why is the latest Debian APT package 4.3.2? Tis rather old. -- Regards Steve Childs, Justin French [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This really should be asked on a MySQL list for starters, but my advice is to search for a host that WILL upgrade or do

Re: [PHP] IE Issues

2003-07-22 Thread Steve Magruder
Curt Zirzow wrote: Dont use the font tag.. they are evil... and besides depricated. And they're deprecated too. :) Steve -- Steve Magruder Consulting - http://consulting.stevemagruder.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] News Reader

2003-07-21 Thread Steve
David Goodchild wrote: Could someone advise me of a good news reader. I'm using MS Outlook at the moment, and if I reply to any post it sends it to the users email and not to the news server. Plus, its not that great in general terms. XNews, slrn, Fortitude and of course Thunderbird (Gecko

[PHP] multiple versions

2003-07-15 Thread Steve Lane
Hello all: Is there any convenient way to have a single install of Apache on Linux/Intel use multiple copies of PHP? I need to test different versions of PHP and would rather not have to build a separate server for each. It would be great if I could build multiple copies of PHP, install them

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
://www.mysite.com/generated.php They would get the page. Not (as I can currently do) http://www.mysite.com/cms/generated.php Thanks. Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mailing

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
of function. and get a really odd error: Warning: fopen(ftp://172.16.2.4/~stephenj/misc/webpage/cms/this_wont_work.php,; r) - Inappropriate ioctl for device on line 59 Any ideas people? Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
was for a file to be written into a safe directory and then moved automatically to the webroot. Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Marek Kilimajer [mailto:[EMAIL

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
how ;o). Cheers, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] So in summary this can't be done due to permission problems?

2003-07-11 Thread Steve Jackson
around that due to permission settings on the webroot? So there is no way that PHP can write to the server unless the directory it's writing in is executable? Thanks for continued help. Cheers, Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL

RE: [PHP] Please assist - been on this for hours - Permissions on server

2003-07-10 Thread Steve Jackson
But _why_ do you need to write to the root directory? Why not just write to a directory where you *do* have permission to write to? I can already do that. My problem is that I need to move or copy/delete the file from the place I do have permission to write to to the root. I have generated a

RE: [PHP] Please assist - been on this for hours - Permissions on server

2003-07-10 Thread Steve Jackson
The root of the problem (pun intended) Oh dear! ;o) is that you're trying to write to the root (/) directory which is usually only possible if you're the root user. Again, the question is _why_ do you need to write to the root directory? Wouldn't your file function if it wasn't in

RE: [PHP] Please assist - been on this for hours - Permissions on server

2003-07-09 Thread Steve Jackson
On Tue, 2003-07-08 at 07:21, Steve Jackson wrote: If I set permissions of my server root to chmod 777 that's a security risk right? How do I set my server to allow me to write a file to my web root from another directory using PHP? Or is it a Unix problem? I have a generator file

[PHP] Headers and server

2003-07-09 Thread Steve Jackson
with this route unless someone has a better idea. Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP forum

2003-07-09 Thread Steve Jackson
I should also add that another 685 posts would say RTFM about lightbulbs. Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED

[PHP] Re: NEW SPAMMER - [PHP] New Krysalis version released

2003-07-09 Thread Steve Magruder
Ryan A wrote: Didnt we just have a thread about spamming like this on the list? If it's a PHP-related product being announced, it isn't spam to me (and in fact, it's rather valuable), unless the announcement posts become repetitive. Steve -- Steve Magruder Consulting - http

[PHP] Fputs problem

2003-07-08 Thread Steve Jackson
including formid passed from // previous form $string = ?php $SECTION_NAME = \goldfish_cms.php\;\n //\n // Written by Steve Jackson. Copyright and all rights reserved Webpage 2003.//\n /functions here all

[PHP] Permissions on server

2003-07-08 Thread Steve Jackson
as a PHP file however it occurred to me while I was doing this that chmod 777 the root might not be a good idea. Anyone have a simple fix or idea for this? Kind regards, Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50

Re: [PHP] New to PHP

2003-07-08 Thread Steve Magruder
-structured, well-encapsulated algorithms. When code is structured appropriately, then the only actual comments needed are to explain unusual logic or business rules that cannot be easily deciphered from reading the code. Steve -- Steve Magruder Consulting - http://consulting.stevemagruder.com

Re: [PHP] Removing Arrays With Certain Keys From Larger Array

2003-07-08 Thread Steve Keller
At 7/8/2003 02:18 PM, jwulff wrote: I have an array exampled below. I want to remove and use certain nested arrays from the larger array where the key == title, size, day, etc... How does an idiot like myself accomplish this? You can reference it the same as you reference any other array.

[PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Steve Jackson
[PictureOne]}; $Picture2 = {$array[PictureTwo]}; $CatID = {$array[CatID]}; } // then write the function to call the page here // Any ideas thoughts or help much appreciated. Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com

RE: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Steve Jackson
; And then calling the string with fwrite? Or am I going to run into serious problems? Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Andrew McCombe [mailto:[EMAIL

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Steve Keller
At 7/7/2003 03:07 PM, Apollo (Carmel Entertainment) wrote: If you are charing for your product and your source is not open, you have no place on opensource lists. Just out of curiosity, where did you get the idea this is an open source mailing list? There are plenty of commercial PHP

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Steve Keller
At 7/7/2003 04:09 PM, Apollo (Carmel Entertainment) wrote: Well, lets see. I want free advertising too. How about I go to all the lists I am member of and send emails like John from Rekall did announcing widgets or services my company does. How will you react to that? Your level of reading

Re: [PHP] New to PHP

2003-07-07 Thread Steve Keller
At 7/8/2003 03:30 AM, Hiren Mehta wrote: Thnx alot guys You have been of great help :D And don't forget this list! There are a lot of really talented people on this list, so if you're trying to figure something out and haven't been able to find an answer on your own, don't hesitate to ask

[PHP] Re: PHP user group

2003-07-03 Thread Steve Magruder
Erich Kolb wrote: Does anyone know of a PHP user group near Gurnee, IL. I found one in Chicago, but its a little far to go and they meet in the middle of the day on Sat. Take a look at http://php.meetup.com - perhaps there's a PHP meetup near you. Steve -- Steve Magruder Consulting - http

[PHP] strip white space

2003-07-02 Thread Steve Buehler
2. Ending spaces 3. Double (or more) spaces in the variable leaving only one space between words. Does php have any built in function that I can not find that will do this? Thank You in Advance Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] strip white space

2003-07-02 Thread Steve Buehler
as Global and changes it Globally? I am assuming that because that is what the whole function seems to do for me. Thanks again everybody Steve At 11:49 AM 7/2/2003 -0500, you wrote: I am not sure how to go about this and hope that someone can help here. I have a variable like the following

[PHP] if and...

2003-06-30 Thread Steve Marquez
tried a plus (+), a (,) and nothing seems to work. Could someone please help? Thanks! Steve Marquez Marquez Design [EMAIL PROTECTED] www.marquez-design.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cannot get php through apache to write to my home dir on shared server

2003-06-26 Thread Steve Buehler
Another option might be to create a directory in your web space to hold your file and open up just that directory as 777. Steve At 08:17 AM 6/26/2003 -0400, you wrote: From: frank reeves [EMAIL PROTECTED] I have an account on shared server and am trying to write a logfile (a dump of an email

[PHP] php.ini

2003-06-25 Thread Steve Marquez
I am running MacOSX and can not find my php.ini file. Does anyone know where it is located on a mac? I looked at my phpinfo file, and it says /usr/lib/ but does not have the php.ini file in it. Can anyone help? Steve Marquez Marquez Design [EMAIL PROTECTED] www.marquez-design.com -- PHP

Re: [PHP] php.ini

2003-06-25 Thread Steve Marquez
, and nothing came up. I could find .ini files, or php. files, but no php.ini files. Can the file be called anything else? Thanks, Steve [snip] I am running MacOSX and can not find my php.ini file. Does anyone know where it is located on a mac? I looked at my phpinfo file, and it says /usr/lib

Re: [PHP] php.ini

2003-06-25 Thread Steve Marquez
I did a search for php.ini-dist and found nothing. This is really strange to me. It does have to exist, right? I have done all the searches possible. Could it be under a different name? Thanks -Steve Hi I had this problem when i installed php on my linux box. Because I hadn't copied

Re: [PHP] quotes

2003-06-25 Thread Steve Marquez
I had the same problem. I had my ISP turn magic quotes on in the php.ini file on their server. As soon as they did that, everything worked just fine. -Steve Marquez Marquez Design [EMAIL PROTECTED] www.marquez-design.com it doesnt work, i just tried it. the text is still cut off after

Re: [PHP] php.ini

2003-06-25 Thread Steve Marquez
Thanks guys, I downloaded the source and created a php.ini file. It worked great! Thanks for all your help and patience. -Steve Does the php.ini file always go in the same place no matter the OS? I did a locate in the shell, and nothing came up. I could find .ini files, or php. files

Re: [PHP] Please help can anyone figure whats wrong with this?

2003-06-25 Thread Steve Keller
At 6/25/2003 10:26 AM, Kevin Stone wrote: You're missing a starting bracket. You know this was WAY too easy to find. What kind of editor are you using that would miss something this obvious? A little indenting goes a long way... -- S. Keller UI Engineer The Health TV Channel, Inc. (a non -

Re: [PHP] Expensive WEB HOST NEEDED!!!!!

2003-06-24 Thread Steve Magruder
a web hosting service that all but provides the moon for only $49.95 a year (and they're located in the US!). Check out www.domehost.com - so far, so good for me - and their early support with getting everything working was fantastic. Steve -- Steve Magruder Consulting - http

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-20 Thread Steve M
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel That's no reason not to kill M$... +a Steve -- Steve

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Steve Keller
At 6/19/2003 02:10 PM, Sparky Kopetzky wrote: 2. How do you put 2 items that you want to save in the cookie and retrieve?? Smuch 'em together into a single variable with a delimiter you're sure won't show up in either value, something like #@@#, between them. Then, when you read the cookie

Re: [PHP] securing a graphic

2003-06-19 Thread Steve Keller
At 6/20/2003 02:33 AM, Haseeb Iqbal wrote: yeah there is a way No there is not a way. The way the web works is by sending your content to someone else' computer. Once it's there, they have a copy, whether it's in their cache or actually saved as a file. There's no way to prevent a determined

Re: [PHP] explode, split, or what?

2003-06-19 Thread Steve Keller
At 6/19/2003 10:41 PM, Kyle Babich wrote: Inside of another file I'm trying to read setup.txt into $rawSetupData and explode that with \r\n's into an array called $setupData. Why on earth? http://us4.php.net/file ?php if (file_exists(setup.txt)) { $rawSetupData = readfile(setup.txt);

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Steve Keller
At 6/18/2003 03:22 PM, Logan McKinley wrote: the error checking include file just handles php errors, the javascript handles form validation. I believe the problem i am having is with the session not the error handling, because i removed all validation and it did the same thing. Yes, that's

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Steve Keller
At 6/18/2003 02:51 PM, Logan McKinley wrote: -- the code in question I have attached the actual files if that would be of more help, Thanks in advance for any help, The first thing that I noticed is that you're doing error checking in registration_form.php, but your form is

[PHP] .htaccess files

2003-06-18 Thread Steve Marquez
Hello everyone, Could someone point me in the direction of some info on .htaccess files? Could someone send me one, tell me where to put it in my server? I hope this is not a stupid question. I am running Apache on a Mac with Jaguar OSX. Thanks for your help, -Steve Marquez [EMAIL PROTECTED

RE: [PHP] shopping cart and login system

2003-06-17 Thread Steve Jackson
previous cart session. Should be easy by the looks of it. (watch for wrap): http://www.paypal.com/cgi-bin/webscr?cmd=_help-exteloc=762unique_id=02 413source_page=_homeflow= Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile

Re: [PHP] String containing PHP Code

2003-06-16 Thread Steve Keller
At 6/16/2003 05:45 PM, Suhas Pharkute wrote: I have a php script which generates a string which has php code in it. I need to run that code. http://www.php.net/eval -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK

[PHP] Re: Zend Optimizer not active?

2003-06-14 Thread Steve Yates
Ah, how clear things are afterwards. :) I found out my problem was that PHP was looking in the wrong folder for php.ini, and it apparently fails silently, taking the default settings instead. - Steve Yates - A chicken is just an egg's way of continuing the species. ~ Taglines

[PHP] Re: Zend Optimizer not active?

2003-06-13 Thread Steve Yates
) 1998-2003 Zend Technologies Running the CLI on a phpinfo() call also does not show Optimizer. Also phpinfo() says Debug Build = no so that's not it. - Steve Yates - I have 5 nanosecond memory. Duration - not access time. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing

[PHP] Zend Optimizer not active?

2003-06-12 Thread Steve Yates
no errors during the Optimizer install, and everything looks like it's correct to me...the two lines are in php.ini, and they point to the right ZendOptimizer.so file. There is only one php.ini on the system. Any hints? Thanks, - Steve Yates - Termite in pub: Is the bar tender here

[PHP] Is this possible?

2003-06-11 Thread Steve Marquez
of the tables in PHP page? Thanks, -Steve Marquez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form name and submit test

2003-06-11 Thread Steve Keller
At 6/11/2003 09:42 AM, Amanda McComb wrote: If I have multiple forms on a page, and each form has it's own name, how can I tell which form has submitted? By its contents. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508

[PHP] Table issue

2003-06-10 Thread Steve Marquez
not more than 5 paragraphs at the most.) Is there anyone that has run into this problem before? Any suggestions? -Steve Marquez [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Table issue

2003-06-10 Thread Steve Marquez
into the DB, however, the multi line does not. If I write the article in the multi-line field, it works (as far as I know, I have only attempted about 40 lines), but when I copy and paste the article in, it does not. This is really strange... -Steve [snip] I am attempting to insert an article

Re: [PHP] What does this do?

2003-06-10 Thread Steve Keller
At 6/10/2003 02:56 PM, Stephen Goddard wrote: Can anyone tell me what this does ${varname} I cant find any information as to what the braces do. Which is odd because searching for braces at PHP.net takes you the strings section, which explains in detail several functions of curly braces.

[PHP] Any experience (good or bad) with domehost.com?

2003-06-10 Thread Steve Magruder
to make me aware of? On top of this, is there any site out there where hosting customers can rate the various hosting companies? Thanks, Steve -- Steve Magruder Consulting - http://consulting.stevemagruder.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] magic_quotes_gpc

2003-06-10 Thread Steve Marquez
Anyone know how to change the magic_quotes_gpc? I need it to be on in PHP. Running PHP 4.1.2 Thanks, Steve Marquez [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Characters

2003-06-10 Thread Steve Marquez
I am inserting a file via a PHP form. It works great, however, if there is a word that has quotes in it, then it does not work at all. Is there a way to make it so that MySQL will receive a word with quotes? Thanks -Steve Marquez [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] fetch then put record?

2003-06-09 Thread Steve B.
[ListPriceLow]=$HTTP_POST_VARS[ListPriceLow]; $dbrec[Streetnum]=$HTTP_POST_VARS[Streetnum]; $dbrec[Streetname]=$HTTP_POST_VARS[Streetname]; dbrec.update(); } ? How would you do a dbrec.update (which updates just the row you changed with the variables) thanks Steve

Re: [PHP] submitting to differient php scripts based on button -O T-

2003-06-04 Thread Steve Keller
At 6/3/2003 04:24 PM, Ryan A wrote: I simply want to submit my form to either one.php or two.php or thr.php depending on which BUTTON is pressed (I am using html buttons input type='submit' value='blah') I have 3 buttonshow do i set it? You can do this one of three ways: 1. Instead of

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