[PHP] Re: String Comparison

2001-07-25 Thread Adrian Ciutureanu
Note that using strings without quotes generates a warning that is not displayed in the default configuration of PHP. The message looks like "Warning: Use of undefined constant anyString - assumed 'anyString' in test.php on line 3" (line 3: echo anyString;) If you want to see these warnings, set

[PHP] Re: Client Machine Name

2001-07-25 Thread Adrian Ciutureanu
http://php.net/manual/en/language.variables.predefined.php $REMOTE_HOST = gethostbyaddr($REMOTE_ADDR); "Dominic" <[EMAIL PROTECTED]> wrote > It's there anyway to find out the client machine name by using php? > Thanks! > > Dominic -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] MySql number/string comparing ideas...

2001-07-25 Thread Brad Wright
elias, I would have to agree with Lawrence, and recommend re-designing your database, unless there is a specific reason preventing you doing this (ie like months of your life invested in the product ; ) otherwise, only allowing numerical input is a good start tho :) brad > From: "elias" <[EMAIL

[PHP] compiling apache with php4

2001-07-25 Thread Niemann, Markus
Hi, I`ve a problem compiling the apache: ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a When I do so, following message occurs: Configuring for Apache , Version 1.3.20 + using installation path layout: Apache (config.layout) configure:Error: invalid opt

RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
I need both. Adrian On Tue, 24 Jul 2001, Tyler Longren wrote: > when you configure php, don't specify a web server to use. > > ./configure --with-mysql > would do the trick. > > ./configure --with-apxs=/path/to/apxs --with-mysql > would not do the trick > > Tyler > > > > -Original Mess

Re: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
Hi, Thanks. I will look at that **manual**. But your suggestion of running lynx is interesting. What I want to do is receive a mail to a account with a preset subject. On arriving at that account the php script will get the contents of the subject and preform other tasks. Will the Lynx do

RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
This is on my intranet and is connected for a few minutes to pick up the mail. Adrian On Tue, 24 Jul 2001, scott [gts] wrote: > but remember, if you put your cron/admin scripts into > a directory on a publicly accessable webserver, you > run the risk of having anonymous websurfers run your > sc

[PHP] newbie seeks template info

2001-07-25 Thread Daniel Goldin \(E-mail\)
Could somebody point me to a good primer--and I mean PRIMER--that explains how templates work in php. I'm thinking--not too clearly, I admit--about apps like Smarty and PhpLib and Pear, which I've heard so much about. I would like to know how to use templates--particularly to separate structure f

Re: [PHP] MySql number/string comparing ideas...

2001-07-25 Thread elias
Thank you Brad and Lawrence. I have agreed to only allow numerical input on this specific field. And make a new one that allows X and Y ... Thanks again. "Brad Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > elias, > I would have to agree with Lawrenc

[PHP] URGENT: function mail()

2001-07-25 Thread Gernot
i've the following problem i know how to set the charset in the header of a mail using the php mail-function. but i also need to set it for the subject (iso-8859-2) i hope someone can help me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: [PHP] PHP function to extract EXIF data from JPGs?

2001-07-25 Thread Seb Frost
Let me know if you find anything out about this because it's something I too would like to use. - seb -Original Message- From: Richard Kitamura - Media Net Link, Inc. [mailto:[EMAIL PROTECTED]] Sent: 24 July 2001 23:40 To: [EMAIL PROTECTED] Subject: [PHP] PHP function to extract EXIF da

RE: [PHP] URGENT: function mail()

2001-07-25 Thread Lawrence . Sheed
Have a look at the internet - google is good for this http://www.imc.org/mail-i18n.html#MIME Internationalized text and names appear in both parts of Internet mail messages: in the headers, and in the body of the message. RFC 2047 covers how to use international characters in some parts of non-M

RE: [PHP] URGENT: function mail()

2001-07-25 Thread Lawrence . Sheed
Feeling a little guilty for not being that helpful (rfc's aren't that easy to use sometimes) >From the top of my head Two types of encoding based on the RFC B (Base64) Q (Quoted?) so for funky foreign text, non ascii would be something like $subject= base64_encode ($subject); $subject= "=?I

[PHP] phpinfo - mysql - windows

2001-07-25 Thread Gaylen Fraley
I've just installed mysql 3.23.39 binary under windows. However, when I run phpinfo it shows 3.23.32 . When I run mysqladmin version, it shows 3.23.39 . Why the conflict? Thanks. -- Gaylen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

[PHP] Re: phpinfo - mysql - windows

2001-07-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Gaylen Fraley) wrote: > I've just installed mysql 3.23.39 binary under windows. However, when I run > phpinfo it shows 3.23.32 . When I run mysqladmin version, it shows 3.23.39 > . Why the conflict? Thanks. I think the version you get from phpinfo is the version of the

[PHP] Re: phpinfo - mysql - windows

2001-07-25 Thread Gaylen Fraley
That's what I figured. Problem is I don't use the compiled version in windoz. I compile my own under Linux, but not windows. BUMMER! -- Gaylen "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Gaylen Fraley) wrote: > > > I'

[PHP] include ("foo.php") not working

2001-07-25 Thread Jon Hubbard
I have a strange problem which I cannot seem to resolve. I am running PHP 4.0.6 on my Mac OSX using apache and MySQL. Everything works fine except for one problem. Like many developers I make extensive use of the include funtion but it does not seem to work correctly on this installation. when

[PHP] php

2001-07-25 Thread Eduardo Kokubo
Hi, Is it possible to compress an entire directory using an external program like pkzip? If it is possible, how can I do it?

RE: [PHP] php

2001-07-25 Thread Jon Haworth
Yes it is - have a look at www.php.net/exec to see how you can run commands from your PHP scripts. HTH Jon -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 12:55 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] php Hi, Is it possible

[PHP] mail()

2001-07-25 Thread Zherdev Anatoly
I want to get name of virtual host that send mail from mail() function for prevention spamming, but when php starting as apache module sendmail executed from mail() function in php script has'nt apache environment, but only shell environment. Can i configure php for getting apache environmet fro

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread Andy Warwick
> I am running PHP 4.0.6 on my Mac OSX using apache and MySQL. > when I include the statement then rather than > parsing the file and displaying the results the whole file is just dumped to > screen as a text file. Interesting the same problem occurs whatever the > file extension so the same th

RE: [PHP] php

2001-07-25 Thread Seb Frost
Install winzip. Create new archice. Drag and drop directory from explorer or whatevr into it. Couldn't be easier. - seb -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 12:55 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] php Hi,

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread ilari . kaartinen
> when I include the statement then rather than > parsing the file and displaying the results the whole file is just dumped to > screen as a text file. Interesting the same problem occurs whatever the > file extension so the same thing happens for foo.htm, foo.html and foo.txt! >From PHP manual

[PHP] Re: error using imagecreate function

2001-07-25 Thread venomous
This is the code just a normal imagecreate function I think the fault is that i don't use the gd library but i don't know how i must install it on my NT 4.0 apache 1.3.2 server -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread maatt
Errr... feel embaressed asking but I've done the same... You do have tags around your code? Easy to leave off when there's no HTML in the page. Matt "Ilari Kaartinen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > when I include the statement then rather

[PHP] Security Question

2001-07-25 Thread Shrout, Ryan
In a lot of PHP code that I have seen, there are lines such as this: mysql_connect('localhost', 'mysql_login()', 'mysql_password()'); that is used to "hide" the login and password from someone should they somehow view the code instead of the output of the PHP file. My question is, how do I set

Re: [PHP] Security Question

2001-07-25 Thread B. van Ouwerkerk
>somehow view the code instead of the output of the PHP file. My question >is, how do I set up those "functions" mysql_login and mysql_password? Are >they just standard functions defined in a header someplace? Or is this even >the best, most secure way of handling it? Include your login and p

[PHP] Help with regular expresions! [ASAP]

2001-07-25 Thread PsychoSphere2K
Hi! I have a fairly large PHP based website. Unfortuantely, I didn't make extensive use of stylesheets. I'm hoping for some help with regular expressions matching ( and = replacing ) some tags. I use output buffering, so it would be a simple case of adding some = lines to my output hanlder. eg:

[PHP] Headers

2001-07-25 Thread Richard Baskett
What does the header look like when you submit a form using the POST method? I would like to transfer some php variables to another page using the header() function. The Location part I have down no problem, but I don't want to do something like this: header(Location:mypage.html?variable1=total)

[PHP] Any chance of php on Netware 6?

2001-07-25 Thread J Andrews
Now that Netware 6.0 is/will be shipping with Apache, is there any chance of someone migrating php and MySQL to Netware? Please? Then I can get rid of Linux and Windows :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Calling a webpage with POST arguments

2001-07-25 Thread Peter Ostry
Maybe this was already diskussed, but I am rather new to PHP... I have to call a page on a remote webserver and include some variables. Since the whole stuff comes from a database and is too long for an URL ist must be done with POST. Can I call a website with POST arguments from within PHP? It

[PHP] Re: Help with regular expresions! [ASAP]

2001-07-25 Thread maatt
$tag_name = "input"; $new_class = "yourclass"; eregi_replace("(<$tag_name)", "\\1 class=\"$yourclass\"", $yourstring); will work for simple cases, but isn't going to give you much more power than just applying a style to the tag iself - 'input { border : 1px }' say). If the design is consistent

[PHP] Opening another page in code

2001-07-25 Thread Nelson Goforth
This seems simple, but for some reason I can't find what I'm looking for in books or the archive. Might just be looking for the wrong words. I just want to open another page, sending some parameters, at a point in a script - without the user clicking on anything (I can do this in a form - I

[PHP] php modules

2001-07-25 Thread Miguel Loureiro
Hello , I 'm having problems to found site where I can download php modules(I want php-gd.dll and php-zlib.dll), but the sites founded ( result of my search ) dont work or are down or stoped for some reason(http://www.php4win.de ,  http://download.swwwing.com/php4/modules/  ... ) Anyone

[PHP] Re: Client Machine Name

2001-07-25 Thread Dominic
I think this only can get the machine name of vistors ISP... It's there anyway to get visters OWN machine name? Thanks!!! Dominic http://php.net/manual/en/language.variables.predefined.php $REMOTE_HOST = gethostbyaddr($REMOTE_ADDR); > It's there anyway to find out the client machine name by us

[PHP] Re: Help with regular expresions! [ASAP]

2001-07-25 Thread James Holloway
Hi Peter, You could try this: italic Blah bold"; $new_string = preg_replace("//i", "", $string); echo "$string$new_string"; ?> preg_replace = regular expression replacement .* is greedy... Match any character . as many times * as necessary, made less greedy because the ? looks for whatever

[PHP] can't get gd working at all

2001-07-25 Thread Matt Greer
I'm trying to get a simple piece of code involving gd functions to work just to ensure gd is working properly on my server. I took this straight from my book. All that comes up is a broken image. I talked with my host and they assured me gd is installed and working properly on the server. Any idea

RE: [PHP] Syntax Eyes

2001-07-25 Thread Mark Roedel
> -Original Message- > From: Clayton Dukes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 10:53 PM > To: Matthew Loff; 'Php-General' > Subject: Re: [PHP] Syntax Eyes > > > Okay, I figured out the @header will actually reset the > headers, but it still just prints the raw data

Re: [PHP] Propably easy regex question

2001-07-25 Thread Sheridan Saint-Michel
I would just do something like if(substring($text, 0, 1) == ">") { $text = ">" . $text; } else { $text = "> " . $text; } Where $text is a line of text from your message. Hope that helps Sheridan - Original Message - From: Nicklas af Ekenstam <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

[PHP] Supressing warnings on "max file size exceeded"

2001-07-25 Thread Bing
How do I suppress the following message when posting a file to a .php-script? Warning: Max file size exceeded - file [uploadedfile] not saved in /home/html/org.begravningar/intradev_html/forum.php on line 0 It's a warning on line 0, and even if I put error_reporting(0) on line 1 it doesn't hel

[PHP] new problem

2001-07-25 Thread Eduardo Kokubo
Hello, I have to transfer a directory and all it's files and subdirectories from one server to another or from one acount to another, but I guess ftp_put or copy can not do it ( This directory must not be compressed). ANY help woud be very very welcome.

[PHP] Machine name???

2001-07-25 Thread Dominic
I think this only can get the machine name of vistors ISP... It's there anyway to get visters OWN machine name? Thanks!!! Dominic http://php.net/manual/en/language.variables.predefined.php $REMOTE_HOST = gethostbyaddr($REMOTE_ADDR); > It's there anyway to find out the client machine name by us

Re: [PHP] Security Question

2001-07-25 Thread Aral Balkan
Ryan, I don't see how your username / password could be compromised by including it in a connect statement. There's a common warning that you should be careful when naming PHP files with a different extension (if the server doesn't recognize the extension as PHP and thus returns the unparsed file

[PHP] Getting mail() to work in PHP for Windows

2001-07-25 Thread Boget, Chris
I couldn't find anything in the docs about this... What do you need to have installed to be able to use the mail() function (and have mail get sent out) in PHP for Windows? If you could point me to the proper place in the documentation so I can read up on it, I'd be ever so grateful! Chris

[PHP] Re: Supressing warnings on "max file size exceeded"

2001-07-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Bing) wrote: > How do I suppress the following message when posting a file to a > .php-script? > > Warning: Max file size exceeded - file [uploadedfile] not saved in > /home/html/org.begravningar/intradev_html/forum.php on line 0 > > It's a warning on line 0, and even

[PHP] ...No PNG support in this PHP build ....

2001-07-25 Thread Brian C. Doyle
Hello all, I have some code that I have in 2 different directories on my server in the one directory it runs and draws the Image. In another directory it will not? I have both directorys chmod the same the 2 directories are with different owners. What am I doing wrong? The error I am gettin

RE: [PHP] Getting mail() to work in PHP for Windows

2001-07-25 Thread Kraa de Simon
In your php.ini file enter the IP of the SMTP server you want to use. Something like: [mail function] SMTP = 255.255.255.255 sendmail_from = [EMAIL PROTECTED] Search the web for a SMTP server for win32. HTH, Simon. > -Original Message- > From: Boget, Chris [mailto:[EMAIL PROTECTED]]

RE: [PHP] Zip Code Locator?

2001-07-25 Thread Brian Dunworth
> Hey, let me know if you figure out what the extra numbers are > for... I might have a use for this at some point. The last two numbers are latitude and longitude of the registered zip code center for the given zip code. --- Brian S. Dunworth Sr. Softwa

RE: [PHP] new problem

2001-07-25 Thread Jon Haworth
On which OS? For example, on a Linux box, I imagine you could do something like exec("mv old.directory.name new.directory.name"); Cheers Jon -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 15:07 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject

RE: [PHP] can't get gd working at all

2001-07-25 Thread Warren Vail
If the gd extension is not loaded each time php is loaded you will need to cause it to be loaded from your script. http://www.php.net/manual/en/function.dl.php I keep my extensions in a separate directory, off the php root directory, so to load my gd I use the following; dl("extensions/php_gd.d

Re: [PHP] Re: Supressing warnings on "max file size exceeded"

2001-07-25 Thread Bing
Thanks for your input Henrik, The problem isn't allowing for file-size really, I'd like to limit it to say some 500kb, but it's the inability to stop anyone from violating this rule beforehand that triggers the warning. I can't stop anyone from uploading a 600kb file until it's uploaded - and

Re: [PHP] Opening another page in code

2001-07-25 Thread Gunther E. Biernat
>I just want to open another page, sending some parameters, at a point >in a script - without the user clicking on anything (I can do this in >a form - I want to do it WITHOUT the form). > >Like:if($test) { > GO_TO_PAGE (http://www.site.dom/page.php?id=838383); > } > >Ex

[PHP] Troubles with while(!feof($socket_id)) and compiling php-4.0.6 ... help please :(

2001-07-25 Thread Arnauld Dravet - smurfie
Hello, i was using php-4.0.3pl1 until now and never had any problem, except yesterday i had to develop a page on which i have to read on a socket ... problem is that: while(!feof($socket_id)) { echo fgets($socket_id, $len); } does not work: seems that FEOF is never detected so the PHP ente

RE: [PHP] include ("foo.php") not working

2001-07-25 Thread Rudolf Visagie
I've found that when I forget to start and end the include file's code with it sometimes does exactly what you're getting. Regards Rudolf -Original Message- From: Jon Hubbard [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 01:42 To: [EMAIL PROTECTED] Subject: [PHP] include ("foo.php") no

[PHP] ereg_replace

2001-07-25 Thread Clayton Dukes
Can someone tell me why this doesn't work? $home_street = ereg_replace (" " , "+" , $home_street); The input is "123 happy trail" I need the output to be "123+happy+trail" Thanks, Clayton

[PHP] Re:php modules

2001-07-25 Thread Miguel Loureiro
Sorry for taking your time, but I solve my problem, T.Y.   Best RegardsMiguel Joaquim R. Loureiro   [EMAIL PROTECTED]   <    >>> NEXTVISION -  DEVTEAM  www.nextvision.pt<    >>>       

Re: [PHP] Syntax Eyes

2001-07-25 Thread Clayton Dukes
I have a row in sql that is binary data (a jpeg) I need to echo that data to a table on the web page in the form of the original jepg, when I echo it now, I just get the actual data stream. How can I fix this? - Original Message - From: "Mark Roedel" <[EMAIL PROTECTED]> To: "Clayton Du

Re: [PHP] ereg_replace

2001-07-25 Thread Matt Greer
on 7/25/01 10:38 AM, Clayton Dukes at [EMAIL PROTECTED] wrote: > > > Can someone tell me why this doesn't work? > > $home_street = ereg_replace (" " , "+" , $home_street); > > The input is "123 happy trail" > I need the output to be "123+happy+trail" Not exactly what you wanted, but you coul

Re: [PHP] ereg_replace

2001-07-25 Thread Jason Stechschulte
On Wed, Jul 25, 2001 at 11:38:41AM -0400, Clayton Dukes wrote: > Can someone tell me why this doesn't work? Not really. You should tell us why it isn't working, and we can help you to get it working. What is happening? What is all of the relevant code? > $home_street = ereg_replace (" " , "+"

[PHP] #!interpreterDirective and Setting cookies

2001-07-25 Thread Kenneth R. Martinek
Hello all, I'm having a problem setting cookies, when running code using the explicit interpreter directive (#!\php\php.exe). The problem is that PHP cant set cookies because bytes are sent back to the client before the setcookie() (presumably \n or \r 's), but only when the interpreter direc

RE: [PHP] Syntax Eyes

2001-07-25 Thread Mark Roedel
> -Original Message- > From: Clayton Dukes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 10:42 AM > To: Mark Roedel; Php-General > Subject: Re: [PHP] Syntax Eyes > > > I have a row in sql that is binary data (a jpeg) > I need to echo that data to a table on the web page in

[PHP] Re: Machine name???

2001-07-25 Thread Arcadius A.
Hi ! Have a look at : http://php.net/manual/browse-errata.php?let=g There's a code that gives you the right host name .. Arcad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP] ereg_replace

2001-07-25 Thread Rasmus Lerdorf
Use the urlencode() function. Or at the very least use str_replace. And by the way, the ereg_replace() you have works fine. You must be doing something silly. -Rasmus On Wed, 25 Jul 2001, Clayton Dukes wrote: > > > Can someone tell me why this doesn't work? > > $home_street = ereg_replace ("

[PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
Hello everyone, I've hunted on google, read the list archives. Here's what I've been fooling with to upload the file: $data = addslashes(fread(fopen($picture, "r"), filesize($picture))); $len = strlen($data); if ($fp = fopen("$image_path/$p

Re: [PHP] newbie seeks template info

2001-07-25 Thread mike cullerton
devshed has an article using fast template http://devshed.com/Server_Side/PHP/PHPFastTemplate/ on 7/25/01 2:06 AM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Could somebody point me to a good primer--and I mean PRIMER--that explains > how templates work in php. I'm thinking--not too c

Re: [PHP] can't get gd working at all

2001-07-25 Thread Matt Greer
on 7/25/01 9:35 AM, Warren Vail at [EMAIL PROTECTED] wrote: > If the gd extension is not loaded each time php is loaded you will need to > cause it to be loaded from your script. Ok, I tried this and got gd is not loaded I don't know if that's the name of gd on my server though. A search th

Re: [PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
I found the problems: 1. I shouldn't have been using stripslashes() when putting the picture on the filesystem. This would have been necessary for adding the image to a database. 2. Put ENCTYPE=multipart/form-data in . My bad, I didn't include the part of my code in the email. Tyler Longren Ca

[PHP]Formatting problem...

2001-07-25 Thread Chris Cocuzzo
hey- this is a little bit off topic, but it relates. I'm pulling a field called info from my db. When I entered the info into the db in the first place, I added the '\n' character so that the HTML result wouldn't be all on one line. The problem is that when the page displays...the text in that pa

[PHP] Learning PHP

2001-07-25 Thread Kyle Smith
Can someone please make a list of the best places to learn PHP as I have 6 weeks of school holidays and I want to put the m to good use (i have the PHP reference guide from www.oreilly.com and i have the big ass document files from www.php.net) -legokiller666- http://www.StupeedStudios.f2s.com

[PHP] is_file() and is_dir() info

2001-07-25 Thread Gonyou, Austin
I've read a lot about the is_file and is_dir functions, but something is still missing. If I call is_file to tell me if something is a file or not, and it must traverse a large path, e.g. ./dir1/dir2/file.txt, it will almost always fail. Can anyone tell me why, and what a possible work around is?

RE: [PHP] Learning PHP

2001-07-25 Thread Matthew Loff
O'Reilly book and PHP manual? That's the best you're going to get. (Others will recommend other books, but the O'Reilly one is great to start with) Good luck! -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 9:06 PM To: [EMAIL PROTECTED] S

[PHP] Re: Formatting problem...

2001-07-25 Thread Philip Hallstrom
I'm not sure I understand your problem... this is what it looks like on my machine (your url that is) http://www.adhesivemedia.com/~philip/gigs.gif IE 5.5 on w2k On Wed, 25 Jul 2001, Chris Cocuzzo wrote: > hey- > > this is a little bit off topic, but it relates. I'm pulling a field called > in

[PHP] Re: Learning PHP

2001-07-25 Thread Philip Hallstrom
I learned from various sites and the manual and just by doing it which usually meant it would fail cause I'd used Perl's syntax so I'd go find the PHP equivalent :) However, I bought "Professional PHP Programming" for some of our developers who like books. I skimmed it and it's pretty good. I w

Re: [PHP] javascript ?

2001-07-25 Thread Angel Behar
Thanks for the answer but I must admitt that my knowldege of javascript it is almost none, and I really don't know how to use the hide(), show() etc, functions, so if somebody can point me to some site or can give an example of how it works I'm sure I can work around the problem. Thanks in advan

RE: [PHP] Learning PHP

2001-07-25 Thread Jeff Oien
http://www.webdesigns1.com/php Jeff Oien > Can someone please make a list of the best places to learn PHP as I have 6 > weeks of school holidays and I want to put the m to good use (i have the > PHP reference guide from www.oreilly.com and i have the big ass document > files from www.php.net)

[PHP] PHP/Cold Fusion questions:

2001-07-25 Thread SalvatoreJD
Hello... Let me say thank you in advance to those who respond... How well does PHP and Cold Fusion code play together? Can PHP code in CF pages be parsed by PHP server or vise versa- Can CF code in PHP pages be parsed by the CF server? Or will this cause major headaches? The reason I ask is be

RE: [PHP] can't get gd working at all

2001-07-25 Thread Don Read
On 25-Jul-2001 Matt Greer wrote: > I'm trying to get a simple piece of code involving gd functions to work just > to ensure gd is working properly on my server. I took this straight from my > book. All that comes up is a broken image. I talked with my host and they > assured me gd is installed an

[PHP] mysql_pconnect

2001-07-25 Thread Dan Goodliffe
Just a question out of pure curiosity... If an SQL link is opened using, mysql_pconnect when does it actually close? Thanks in advance Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] Installing PHP in WinNT and Apache 1.3

2001-07-25 Thread El Gerva
Hi everyone... I'm really a newbie in PHP. I've got Perl running in Apache, and i want to install PHP 4 (binary) too. These are the lines i added to httpd.conf ScriptAlias /php/ "C:/servers/server1/php/" AddType application/x-httpd-php .php LoadModule php4_module c:/php/sapi/php4apache.dll An

RE: [PHP] is_file() and is_dir() info

2001-07-25 Thread Gonyou, Austin
Will somone on this list please help me in this? All the examples I've come across researching this are WAY too complex for getting around this if someone can confirm my suspicions. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -

[PHP] Perl Splice Equivalent

2001-07-25 Thread Steven Michaels
Hello, I've been wanting to open a file, read its contents, and if one line matches my text, have the program remove that line. The file is in this format (a common text file.): User1 User2 User3 What I want the program to do is to go through each line, and if that line matches User2, then have i

RE: [PHP] mysql_pconnect

2001-07-25 Thread Don Read
On 25-Jul-2001 Dan Goodliffe wrote: > Just a question out of pure curiosity... > > If an SQL link is opened using, mysql_pconnect when does it actually close? > When its 'sleep' time exceeds 'wait_timeout' defined in the server (or possibly never on a working site). $ mysqladmin var | grep

RE: [PHP] Perl Splice Equivalent

2001-07-25 Thread Don Read
On 25-Jul-2001 Steven Michaels wrote: > Hello, > I've been wanting to open a file, read its contents, > and if one line matches my text, have the program > remove that line. The file is in this format (a common > text file.): > User1 > User2 > User3 > What I want the program to do is to go throu

[PHP] scp via `` or exec() or passthru()

2001-07-25 Thread Dennis Gearon
Anyone had any luck using scp to access files on a different box than a script is running? In particular, using a private key that has a pass phrase? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] uploading files to another server from PHP using SSL

2001-07-25 Thread Dennis Gearon
Is it possible to open a 'https://' connection via any functions in PHP? For example, if I have script that I want to use to edit files on another box which has SSL enabled, I download the file using the SSL, and upload it through a script as well? -- PHP General Mailing List (http://www.php.ne

Re: [PHP] uploading files to another server from PHP using SSL

2001-07-25 Thread Vincent Stoessel
Take a look at the curl functionality in the ph manual Dennis Gearon wrote: > Is it possible to open a 'https://' connection via any functions in PHP? For > example, if I have script that I want to use to edit files on another box which > has SSL enabled, I download the file using the SSL, and u

Re: [PHP] can't get gd working at all

2001-07-25 Thread Matt Greer
Ah ha, my host was wrong. gd is not installed on the server I'm on, but they're moving me over to one that has it. Sorry everyone, but I didn't know enough about any of this to be able to verify what they told me. Thanks for all the help. Matt -- PHP General Mailing List (http://www.php.net/

[PHP] Test, please ignore

2001-07-25 Thread Owen Rudge
Sorry about this, but the last time I tried to post (via the newsgroup) I failed. -- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] ISO: Employment Listings at schaffner.net

2001-07-25 Thread Vincent Stoessel
Anyone know what is going on with schaffner.net 's employment listing? I have a resume stored that really need right now as I just got laid from my position as an Internet/LAMP Applications engineer in the Wash,DC area (truly shameless plug). I can not edit or retrieve the resume from his site a

RE: [PHP] Programming by PHP

2001-07-25 Thread Sitkei Pál
Here is my salution with session handling: "; echo ""; echo ""; echo ""; echo ""; echo ""; echo " "; } if (!isset($counter)){ $counter=1; session_register("counter"); } else ++$counter; ?>

[PHP] Why doesn't this simple query work?

2001-07-25 Thread Seb Frost
Driving me mad. Works if I put a string in quote marks instead of the variable $location. $result = mysql_query("SELECT shootID FROM shoots WHERE (location=$location)"); This should work shouldn't it? If it's a problem with the variable being embedded in the query what's the easiest way to o

RE: [PHP] Why doesn't this simple query work?

2001-07-25 Thread Boget, Chris
> Driving me mad. Works if I put a string in quote marks instead of the > variable $location. > $result = mysql_query("SELECT shootID FROM shoots WHERE > (location=$location)"); > This should work shouldn't it? If it's a problem with the variable being > embedded in the query what's the easiest

[PHP] strlen

2001-07-25 Thread David OBrien
I'm having a heck of a time getting something to work like it should I have a script which reads a list of words one per line I want it to display the length of the word a tab then the word. No matter how I code it it still only shows the word alone on strlen. Any ideas? $blen) ? -1 : 1; } ?>

Re: [PHP] Why doesn't this simple query work?

2001-07-25 Thread Jon Yaggie
hmmm i think you need to always have quotes around string regardless of if they are variables . . . $result = mysql_query("SELECT shootID FROM shoots WHERE (location='$location')"); - Original Message - From: "Seb Frost" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Thu

RE: [PHP] is_file() and is_dir() info

2001-07-25 Thread Gonyou, Austin
Please someone help me on this? -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: Gonyou, Austin > Sent: Wednesday, July 25, 2001 12:50 PM > To: Gonyou, Austin; 'Chris Cocuzzo'; [EMAIL PROTECTED] > Subj

[PHP] The BIG Question

2001-07-25 Thread Kyle Smith
Ok this is the big question, in-depth could someone tell me what PHP could be used for other than aking databases (which i canT do) Thanks -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] reading from file

2001-07-25 Thread Stefan Kostopoulos
I am using the script include below to read the content of a file and output it. When I load this script with the adress of a plain html file it outputs everything like expected, except there are some extra characters spread over the file. They come in little string like '40d' or '1000' and ap

[PHP] Exec !?!

2001-07-25 Thread hooger
Hi! I need to run an exe program inside my PHP page. To run this program I do "addcours.exe c toto" in DOS. All my dll's and exe are in the folder C:/WINNT/system32/ My php pages are in the folder C:/WEB/PHP/ Code of my PHP page : ... exec("C:/WINNT/system32/addcours.exe c toto"); ... But it d

RE: [PHP] Why doesn't this simple query work?

2001-07-25 Thread Seb Frost
Ah thank you Jon! I was using double quotes (tried with and without escape slashes). Forgot about single quotes compeletly... - seb -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: 25 July 2001 21:12 To: [EMAIL PROTECTED] Subject: Re: [PHP] Why doesn't this simple q

Re: [PHP] The BIG Question

2001-07-25 Thread Ben Bleything
It can be used for (nearly) anything, it seems. Sure, making dynamic web sites is cool... not necessarily database driven, but perhaps driven by user input. I'm currently using PHP as my primary shell scripting language... I have a collection of scripts that manipulate directories full of digita

  1   2   >