[PHP] single quotes in database

2003-11-07 Thread Steve Buehler
ng things into the database? I am hoping on being able to fix this when going in and when coming out of the database so that I don't have to go back and redo all the ones that are already in the database. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COM and PHP.ini

2003-11-07 Thread Steve Vernon
(PHP 4.3.0, Windows XP Pro, Office 2000 Pro) Hello, Just playing around with COM, and I got the error below. Searching on google it mentions something about a DLL error. Iv'e enabled dcom in php.ini. What have I missed! Line 2 says $excel = new COM("Excel.Application") or die("Excel could not

[PHP] scalar value as array problem

2003-11-02 Thread Steve Turner
no idea what a scalar value even is. I did verify that my form was passing the values by using echo $_GET['product_id'] . $_GET['quantity']; Your help is much appreciated, as I am still a beginner. Steve Turner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Object Undefinded index

2003-10-29 Thread Steve Turner
variables outside an object. It acts like the variable is undefined. Thanks for the help. Steve Turner //-- class Cart { var $items; // Items in shopping cart // Add $quantity articles of $product_id to the cart function add_item

[PHP] Color / Colour on the command line

2003-10-29 Thread Steve Vernon
it as well. So basically, I can't find anything about how to change colours using a command line script. Just getting very boored of white text on a black background- very booring! THANKS! Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Error 1148 and 1045

2003-10-28 Thread Steve Buehler
--- Can anybody shed some light on how to fix this? I presume the first is a permission problem that is from the new way that MySQL handles things. The second is just a mystery to me. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MP3 Ripping

2003-10-27 Thread Steve Vernon
the ideas I have which I haven't even listed!!! So is there ANY way from PHP to read a CD, rip the tracks and place them in BLOB fields in MySQL? Or do I have to write something in C++ or Java? Just would be nice if there was something in PHP. Thanks, Steve -- PHP General Mailing List

[PHP] MP3 Ripping

2003-10-27 Thread Steve Vernon
any good mp3 modules etc for PHP. Any help would be appreciated! Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Globals set to off - Sessions

2003-10-27 Thread Steve Jackson
Do admin functions } Else { //Do login form } How do I adapt the check_admin_user() function and the pages to work in 4.33? Thanks, Steve Jackson Web Development and Marketing Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mail

[PHP] German Date - GMDATE Function

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

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 nee

[PHP] Session within a session lock?

2003-10-21 Thread Steve Wardell
st 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 Gener

[PHP] Re: Exec() wont run program

2003-10-13 Thread steve
where 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

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

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

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

2003-10-13 Thread Steve Buehler
Do what I do, use both the \n and the 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, the &qu

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

2003-10-13 Thread Steve Buehler
s 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 >

[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

[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: #

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 p

[PHP] duplicating databases

2003-10-08 Thread Steve Buehler
e the change 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 Genera

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

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] if statement

2003-09-30 Thread Steve Buehler
t look at all like this: $array=("/etc/bind/options.conf.wp","/etc/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 f

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

2003-09-18 Thread Steve Jackson
y can help 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 >

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

2003-09-18 Thread Steve Jackson
e but not the name of the file itself. 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

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

2003-09-18 Thread Steve Jackson
esource 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 50 343 5159 -- 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
27;get.php?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 ha

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

2003-09-17 Thread Steve Jackson
t;r"); fpassthru($fp); */ ?> Echoing the vars produces this. The exploded file ($extension) is what I need to pass to the switch but if I send the headers as is again I get a blank and corrupted explorer window. Test and pdf Test and EventNotification_01.pdf Test and Array Test and $file Any ideas how to proceed? Cheers, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-09-16 Thread Steve Jackson
// 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 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

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

[PHP] Protecting a file via PHP.

2003-09-16 Thread Steve Jackson
to which the file 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 Ja

[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 St

[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 G

[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 variabl

[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

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

[PHP] case insensitive sort

2003-08-26 Thread Steve Buehler
e the results of the search: 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]

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

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
multiple names and values. // after the page reloads, print them out if (isset($_COOKIE['cookie'])) { foreach ($_COOKIE['cookie'] as $name => $value) { echo "$name : $value \n"; } } /* which prints three : cookiethree two : cookietwo one : cookieone */ ?>

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
main name to my laptop and put that domain name in the "string 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 s

[PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
kie with the "header" line with no problem, but either one of the "setcookie" lines will not set the cookie. Has anybody seen this? Does anybody know why this might be happening? BTW, no, I do not try to set all of these at once. Just showing the lines that I use. The &qu

[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 > > redir

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
es, but not the type you are thinking 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

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 &l

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
can as: header('Set-Cookie: coach_access_login_id_=coach'); but again, I would have to re-write a lot of script. 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 \n"; echo "Test\n";

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
with "coach_access[login_id]" as the cookie name. 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 \n";

[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
uot;coach_access[login_id]", "coach",0,"/","localhost"); ?> That doesn't seem to work either. I am using two browsers for testing. Netscape 7.1 and MS IE 6.0.2800. Netscape 7.1 has a cookie manager that will let me see all cookies that are set and it doesn&#x

[PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
in my 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

[PHP] check for duplicate databases

2003-07-30 Thread Steve Buehler
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

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
this probably isn't the right 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

[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
in a production 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 S

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

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 client)

[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 all,

[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 [

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

2003-07-11 Thread Steve Jackson
f there is a way to do what you suggest without a security risk I'd buy you a beer and send it to you via ASDL if you'd tell me how ;o). Cheers, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-07-11 Thread Steve Jackson
h this method? All I wanted 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 Messag

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

2003-07-11 Thread Steve Jackson
p";, "r"); <<<< Line 59. $move = fputs($fp2, $final_url); fclose($fp2); // end 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 lin

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

2003-07-11 Thread Steve Jackson
meone typed: http://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

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

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

[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

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 PRO

[PHP] Headers and server

2003-07-09 Thread Steve Jackson
t;../$pagename.php"); // end of function. } // call the function. generate_page($formid, $pagename); ?> The page generates great and everything is hunky dory if the root is chmoded 777 but I have a feeling I'm wasting my time with this route unless someone has a better idea. Steve Jack

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

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.

Re: [PHP] New to PHP

2003-07-08 Thread Steve Magruder
onths ago". And the corollary to is: Most of what constitutes value in commented code is the code itself, which exhibits well-named variables, methods, etc. and well-structured, well-encapsulated algorithms. When code is structured appropriately, then the only actual comments needed are to ex

[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 +3

[PHP] Fputs problem

2003-07-08 Thread Steve Jackson
ndex($PageTitle, $BodyText, $Picture1, $Picture2, $CatID, $SECTION_NAME);\n // put the page footer in position\n do_html_footer();\n ?>\n"; $filename = 'test.txt'; $fp = fopen($filename, "a"); $write = fputs($fp, $string); fclose($fp); } generate_page($formid

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

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 read

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 prod

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

2003-07-07 Thread Steve Jackson
including ";''=}{[] etc"; 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---

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

2003-07-07 Thread Steve Jackson
$BodyText = "{$array["BodyText"]}"; $Picture1 = "{$array["PictureOne"]}"; $Picture2 = "{$array["PictureTwo"]}"; $CatID = "{$array["CatID"]}"; } // then write the function to call the page here ///

[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 Magru

Re: [PHP] strip white space

2003-07-02 Thread Steve Buehler
uot;&" in wsstrip(&$str). Does that mean that it takes the input to the function 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

[PHP] strip white space

2003-07-02 Thread Steve Buehler
. Leading spaces 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://w

[PHP] if and...

2003-06-30 Thread Steve Marquez
I am trying to get php to use two conditions. My question Is, I am not sure if the "and" is correct, it does not work. Is there another way to do this? I have tried a plus (+), a (,) and nothing seems to work. Could someone please help? Thanks! Steve Marquez Marquez Design [EMAIL

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

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] 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 .in

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
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&#

Re: [PHP] php.ini

2003-06-25 Thread Steve Marquez
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

[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] Expensive WEB HOST NEEDED!!!!!

2003-06-24 Thread Steve Magruder
eone not to make a living? Kinda unreasonable. > Anyways, I try and avoid these threads as they waste mucho bandwith > but here I am :) I don't work for them (), but I recently found a web hosting service that all but provides the moon for only $49.95 a year (and they're located in t

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 no

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 > > if (file_exists("setup.txt")) { >$rawSetupData = readfile("setup.txt

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] 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

[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] 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

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 i

RE: [PHP] shopping cart and login system

2003-06-17 Thread Steve Jackson
om my previous cart session. Should be easy by the looks of it. (watch for wrap): http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&eloc=762&unique_id=02 413&source_page=_home&flow= Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EM

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 9950

[PHP] Re: Zend Optimizer not active?

2003-06-13 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.

[PHP] Re: Zend Optimizer not active?

2003-06-13 Thread Steve Yates
opyright (c) 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.srt

[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 t

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

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