[PHP] RE: Special dll for query strings?

2002-02-12 Thread maglet
Yes, I tried set "register globals" = on in the php ini. Didn't work. It worked when I made a qyery to the phpinfo(); (then I found my qyery-string listed with the other php-info). But MY page didn't work =( Then I found out that the "php.ini-recommended" I was using didn't suit my purpos

Re: [PHP] Mailing text from a text file.

2002-02-12 Thread DL Neil
Philip, I have the need to be able to mail out a text file. whats the best way that I could do this? =simple answer: use PHP's mail() - RTFM, but be aware that it is not the easiest thing in the world to use. With a simple text msg and no fancy address-headers you should be ok. =if you want

Re: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread DL Neil
> > The error message might be useful, but in any case I think > > you need to enclose the source filename in quotes; also (you > > better check the docs here) if I remember correctly you need > > to give the full path to the source file unless it is in the > > mysql data directory. > > That's rig

Re: [PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread val petruchek
Call phpinfo() and search for necessery variable ($SERVER_NAME maybe) Valentin Petruchek (aki Zliy Pes) *** Cut the beginning*** http://zliypes.com.ua mailto:[EMAIL PROTECTED] - Original Message - From: "Christian Blichmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Februa

[PHP] php extentions problem

2002-02-12 Thread Manu Verhaegen
Hi, We have PowerBSD Virtual Server with apache and php4 We have the following files in the conf directory Access.conf( access file) httpd.conf(virtual hosts) magic mime.types srm.conf I have edit the srm.conf AddType application/x-httpd-php .phtml A

[PHP] Re: function not returning TRUE

2002-02-12 Thread Bart Veldhuizen
Hi Nick, did you double-check your query ($qry)? Run it from the mysql client or from phpMyAdmin to make sure its returning some rows of data. Cheers, Bart Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all > Can anyone see any reason why this function does not

RE: [PHP] PHP Work in New York

2002-02-12 Thread Keith V. (Vance Consulting LLC)
Well, yes there are a number of people, including myself, Sun, Aol and loads of others that are very interested in what is going to emerge as the king of distributed authentication and who will, if anyone, will be the king of providing web services that work. It's a very exciting and new area

[PHP] empty session files stacking up in /tmp on solaris

2002-02-12 Thread austin swinney
a'hoy mates! PROBLEM: empty session files building up in /tmp, about 700+ for a BBS type site of less than 100 users that gets about 19000 hits a day. SYSTEM: PHP Version 4.0.4pl1 Platform: SunOS atari 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-2 BACKGROUND: we were having a problem using se

RE: [PHP] PHP Work in New York

2002-02-12 Thread Jason Murray
> Well, the projects that are underway to create a open source > implementation of the .NET platform as evidence that at least > some people in the *nix world have been quite taken with it... That, and the number of positive mentions its getting on SlashDot in the last week or so. Jason -- P

RE: [PHP] PHP Work in New York

2002-02-12 Thread Michael Sims
At 08:46 PM 2/12/2002 -0800, Keith V. (Vance Consulting LLC) wrote: >On 13 Feb 2002 at 13:33, Jason Murray wrote: > > > > I figure if I'm forced to go M$ I'd much rather use C# that > > > VBScript... > > > > C# actually seems to be getting quite a lot of positive mentions > > in the *nix world at

[PHP] Re: PHP with gd support

2002-02-12 Thread Eric Johnson
> or do I do the configure with > all the other arguements AND --with-gd and then do the > 'make' and 'make install'? Yes, you will have to configure with all the prior options in addition to the --with-gd. A quick way to get your currently compiled options is with the php function phpinfo().

RE: [PHP] PHP Work in New York

2002-02-12 Thread Keith V. (Vance Consulting LLC)
On 13 Feb 2002 at 13:33, Jason Murray wrote: > > I figure if I'm forced to go M$ I'd much rather use C# that > > VBScript... > > C# actually seems to be getting quite a lot of positive mentions > in the *nix world at the moment. > Interesting, where are you seeing them? I am not being a jerk,

[PHP] Re: php_hostconnect: connect failed

2002-02-12 Thread Fred
After further testing, it appears that the function works as expected if I use the IP address rather than the hostname. Perhaps this is an Apache problem, rather than a PHP problem, but I cannot see how. The ServerName is correct in apache and apache responds correctly with redirects etc. Any i

Re: [PHP] PHP Work in New York

2002-02-12 Thread Keith V. (Vance Consulting LLC)
On 12 Feb 2002 at 20:28, Michael Sims wrote: > At 06:27 PM 2/12/2002 -0500, J Smith wrote: > >Last week I looked at some VBScript/ASP code that I kind of need to port to > >PHP. I was mortified. > > It is truly appalling, isn't it? ;) I have actually converted a large > portion of my companies

[PHP] php_hostconnect: connect failed

2002-02-12 Thread Fred
I had been developing a script which needs to include the output of a perl cgi script. Using the rpm versions of Apache 1.3.19 and PHP 4.0.6 I had no problem using the following syntax: $url = http://my.host.com/search.cgi? . $QUERY_STRING; include ($url); Notice that I used the fully qualified

RE: [PHP] PHP Work in New York

2002-02-12 Thread Jason Murray
> I figure if I'm forced to go M$ I'd much rather use C# that > VBScript... C# actually seems to be getting quite a lot of positive mentions in the *nix world at the moment. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Work in New York

2002-02-12 Thread Michael Sims
At 06:27 PM 2/12/2002 -0500, J Smith wrote: >Last week I looked at some VBScript/ASP code that I kind of need to port to >PHP. I was mortified. It is truly appalling, isn't it? ;) I have actually converted a large portion of my companies website from VBScript to PHPthankfully most of the s

RE: [PHP] I have a PHP and Flash5 Problem.

2002-02-12 Thread Douglas Maclaine-cross
Ming! http://www.php.net/manual/en/function.swfmovie.php Don't make the mistake I made and overlook what Flash Action Script is capable of though. Doug -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:43 To: [EMAIL PROTECTED] Sub

Re: [PHP] trouble with headers

2002-02-12 Thread Miles Thompson
You're right Erik. Subtle, ain't it? On the other hand, look how accepting browsers are of malformed HTML. I'm inclined to think that today they see the tag and 'think': "So, we assumed HTML anyway." Cheers - Miles Thompson At 08:57 PM 2/12/2002 -0500, Erik Price wrote: >Sorry, I debugged

Re: [PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
Well, I did this: [mail function] SMTP=mindspring.com sendmail_form=[EMAIL PROTECTED] <...rest I left unchanged...> Still doesn't work. :( BTW I'm using Windows at the moment to develop. -Original Message- "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

Re: [PHP] trouble with headers

2002-02-12 Thread Erik Price
Sorry, I debugged it myself. Don't add extra whitespace lines after you jump out of PHP mode (for instance, at the end of an include file, don't have any extra lines after the '?> PHP-jump-out mark'. The extra lines at the bottom of the functions include file was being interpreted as the end

[PHP] trouble with headers

2002-02-12 Thread Erik Price
I've run into a problem: At the top of each page in my site I have a couple of include files. They handle simple things, really -- a session_start() in one of them, as well as a check for a session variable to make sure that the user is logged in. In another one, I have my database connectio

[PHP] I have a PHP and Flash5 Problem.

2002-02-12 Thread Philip J. Newman
I know that you can generate images with PHP, is there away of generating FLASH docs? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

RE: [PHP] Troubles With Mail Function

2002-02-12 Thread Martin Towell
this is what I've got for that section: [mail function] SMTP = localhost ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only sendmail_path = /usr/sbin/sendmail -t -i ;for unix only, may supply arguments as well (default is 'sendmail -t -i') if

Re: [PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
No I haven't. How do I do that "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Have you set up the [mail function] section of your php.ini file ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Troubles With Mail Function

2002-02-12 Thread Martin Towell
Have you set up the [mail function] section of your php.ini file ? -Original Message- From: Dr. Shim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Troubles With Mail Function Hello. I'm pretty new to PHP, so if this is a dumb

[PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
Hello. I'm pretty new to PHP, so if this is a dumb question, or has been answered already, I'd like to get a link to that answer, or an alternative on how I can solve the problem. :) Anyhow, I have a very simple one line script. A form is filled out and thus the $body variable contains the bod

[PHP] Patch 4.0.6 to 4.1.1

2002-02-12 Thread Gaylen Fraley
I was just getting ready to upgrade to 4.1.1 when I saw the patch that will do this. I have never applied one of these before and I was hoping for an explanation as to how you do this? Thanks. -- Gaylen PHP KISGB v4.00 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Ma

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Philip Hallstrom
> In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Christian Blichmann) wrote: > > > "Cc Zona" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > You can look over the environment vars available to you with a quick call > > > to phpinfo()

RE: [PHP] Mailing text from a text file.

2002-02-12 Thread Jason Murray
> I have the need to be able to mail out a text file. whats > the best way that I could do this? Simple answer: mail(). If you're not sure, www.php.net/mail. More complicated answer: Are you talking about using a text file as a template for the email, using a user-uploaded text file as the *c

[PHP] Mailing text from a text file.

2002-02-12 Thread Philip J. Newman
I have the need to be able to mail out a text file. whats the best way that I could do this? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Jason Murray
> The error message might be useful, but in any case I think > you need to enclose the source filename in quotes; also (you > better check the docs here) if I remember correctly you need > to give the full path to the source file unless it is in the > mysql data directory. That's right, it ne

[PHP] Re: Increment alphabetical character (simple question)

2002-02-12 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > How do I get the ASCII value of a character increment it by one... > and convert back to a character. > > For example: > > I want to grab a char such as "C" and increment it to "D" ??? ord() and chr() will do this. $oldchar = "C"

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi Rick, > > I tries your code but i'm constantly getting some > errors. I modified the line to try and correct the > error, and this is the code i'm using : > > $db = mysql_connect("localhost","mydb","pwd"); > mysql_select_db("mydb",

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Christian Blichmann) wrote: > "Cc Zona" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > You can look over the environment vars available to you with a quick call > > to phpinfo() .

Re: [PHP] Special dll for query strings?

2002-02-12 Thread Girish Nath
Hi Look at php.ini under the register_globals section for how to access GET variables now with PHP4.1.x Regards Girish -- www.girishnath.co.uk - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 12:05 AM Subject: [PHP] Special dll

Re: [PHP] Increment alphabetical character (simple question)

2002-02-12 Thread Michael Sims
At 04:58 PM 2/12/2002 -0600, phantom wrote: >How do I get the ASCII value of a character increment it by one... >and convert back to a character. > >For example: > >I want to grab a char such as "C" and increment it to "D" ??? To answer your first question: "; //Outputs 'C' $letter = chr(or

[PHP] Special dll for query strings?

2002-02-12 Thread maglet
I just reinstalled php to a new path (c:\php). I deleted the php.ini in my winnt folder and used php:s recomended php.ini (I put that one into my c\winnt) renamed to php.ini. But my problem is that a query-string (./index.php?id=12) dosn't seem to work. I cant get access to any $id in my

Re: [PHP] About thumbnail functions

2002-02-12 Thread hugh danaher
don't know about the other questions, but the answer to #2 should be available running phpinfo() hugh - Original Message - From: "M" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 3:43 PM Subject: [PHP] About thumbnail functions > From: "Torkil Johnsen" <[E

Re: [PHP] How do I upload files sent with ?

2002-02-12 Thread Bogdan Stancescu
Ok, I may be too orthodox, but I think you're talking about downloading, right? The proper guidelines are given in the manual (see http://www.php.net/manual/en/features.file-upload.php). For any other specific questions, we are here to help! :-) HTH Bogdan Leif K-Brooks wrote: >I need to up

[PHP] How do I upload files sent with ?

2002-02-12 Thread Leif K-Brooks
I need to upload files sent with in my script, but how? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date and mktime problems on porting to w2k

2002-02-12 Thread peke
Unexpected date error on line 284.   As I say...it works correctly ( the full app) in Linux -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Keep on with date and mktime problems...

2002-02-12 Thread Bogdan Stancescu
That's very flattering, thank you! :-) What I meant in the pvt message was that you should provide some lines /above/ the line issuing the error message, not below it! Bogdan peke wrote: >First of all sorry Bogdan...i didn't mean to answer to you... > >It's a code from a GPL app but i think t

Re: [PHP] Limiting use on public scripts.

2002-02-12 Thread Bogdan Stancescu
Maybe setting up a proprietary request including a predefined hashed (md5) value, for example? Bogdan Kevin Stone wrote: >I have a growing list of simple PHP scripts which we allow our client's >to use on their websites. These are email scripts, postcard scripts, >event calendars, statistics

[PHP] Keep on with date and mktime problems...

2002-02-12 Thread peke
First of all sorry Bogdan...i didn't mean to answer to you... It's a code from a GPL app but i think that´s the part"unexpected problem with date function error" if ($iDiaIni==date("t",mktime(12,0,0,$iMes,$iDia,$iAnio))) { //Hemos llegado al último día del mes $iDiaIni=1; if

RE: [PHP] Limiting use on public scripts.

2002-02-12 Thread Martin Towell
maybe have a client id that they need to send with each request and have the checking script use that, instead of the ip or url, etc -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: [PHP] Limiting us

[PHP] Re: Increment alphabetical character (simple question)

2002-02-12 Thread Philip Hallstrom
Take a look at the ord() and chr() functions. They'll do what you want. On Tue, 12 Feb 2002, phantom wrote: > How do I get the ASCII value of a character increment it by one... > and convert back to a character. > > For example: > > I want to grab a char such as "C" and increment it to "D"

[PHP] mktime and date problems on porting

2002-02-12 Thread peke
windows 2000 php and apache says unexpected error on lines like netx one if ($iDiaIni==date("t",mktime(12,0,0,$iMes,$iDia,$iAnio)))

[PHP] Limiting use on public scripts.

2002-02-12 Thread Kevin Stone
I have a growing list of simple PHP scripts which we allow our client's to use on their websites. These are email scripts, postcard scripts, event calendars, statistics tracking, etc... For maintenance and upgrade purposes we host the scripts in a single location our main account then allow our

RE: [PHP] Parse Error

2002-02-12 Thread Matthew Walker
I'd definitely check Line 19. You probably forgot a ; Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Jason Whitaker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 4:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Parse Error Ok I got this

Re: [PHP] Parse Error

2002-02-12 Thread Jason Whitaker
I was missing a double-quote in a higher line... thanks guys -- Jason Whitaker "Dl Neil" <[EMAIL PROTECTED]> wrote in message 218c01c1b41b$8aaf1050$c200a8c0@jrbrown">news:218c01c1b41b$8aaf1050$c200a8c0@jrbrown... : Ok Jason, : : > "Parse error: parse error, expecting `','' or `';'' in : > c:\www

Re: [PHP] PHP Work in New York

2002-02-12 Thread J Smith
I must be lucky or something, 'cause the place that hired me basically said, "we're developing this, you're coding it, get it done." I was actually told that we'd be going with PostgreSQL and not MS SQL or Oracle or whatever, which was cool to begin with, but the rest of the details (web serv

Re: [PHP] Parse Error

2002-02-12 Thread DL Neil
Ok Jason, > "Parse error: parse error, expecting `','' or `';'' in > c:\www\hosted\witakr\index.php on line 20" > > this is line 20: > > print (" cellpadding=0>"); > > where? Possibly an 'imbalance' starting higher up the code, eg no closing " somewhere? =dn -- PHP General Mailing List (

Re: [PHP] Problems with date and mktime

2002-02-12 Thread Bogdan Stancescu
Maybe posting some code would help... Bogdan peke wrote: >I've ported an app from linux to windows 2000 and now i'm having problems with >functions date and mktime...does anybody knows the reason?. It says unexpected error >and I don´t know what it can be >Thanks in advance > -- PH

[PHP] Problems with date and mktime

2002-02-12 Thread peke
I've ported an app from linux to windows 2000 and now i'm having problems with functions date and mktime...does anybody knows the reason?. It says unexpected error and I don´t know what it can be Thanks in advance

RE: [PHP] How do I send a POST request?

2002-02-12 Thread Anas Mughal
Or use javascript -- if you can't use a form. --- "Philip J. Newman" <[EMAIL PROTECTED]> wrote: > Perhaps use a form? > > On 12/Feb/2002 19:14:48, LaserJetter wrote: > > I'm currently sending an HTTP request for > > clientlogin.php?date=2002-02-12&type=nl and doing > this by opening a socket >

Re: [PHP] Parse Error

2002-02-12 Thread Bogdan Stancescu
What's line 19? Or, better yet, what's the previous statement? (it may span on several lines). Bogdan Jason Whitaker wrote: >Ok I got this error: > >"Parse error: parse error, expecting `','' or `';'' in >c:\www\hosted\witakr\index.php on line 20" > >this is line 20: > >print ("cellpadding=0>"

Re: [PHP] PHP Work in New York

2002-02-12 Thread Peter J. Schoenster
On 12 Feb 2002, at 13:30, George PHP wrote: > So you want to say that PHP is going nowhere in the > States? Maybe we should be doing ASP! You should probably be doing Java, but oh well. Java on M$ with Oracle. I've been hitting the job boards and those are the jobs that are jumping out. If you

RE: [PHP] PHP and CGI

2002-02-12 Thread Job Miller
You can not include php as the output of a perl cgi. the server processes the cgi request, and spits out its results. if the result is php code, it isn't reprocessed by the server. javascript can be printed out, because it is the browser that processes js. php is not processed by the browser.

[PHP] Parse Error

2002-02-12 Thread Jason Whitaker
Ok I got this error: "Parse error: parse error, expecting `','' or `';'' in c:\www\hosted\witakr\index.php on line 20" this is line 20: print (""); where? -- Jason Whitaker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Increment alphabetical character (simple question)

2002-02-12 Thread phantom
How do I get the ASCII value of a character increment it by one... and convert back to a character. For example: I want to grab a char such as "C" and increment it to "D" ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IE Combo Box & File Selector

2002-02-12 Thread Alan McFarlane
Sorry for being of topic, but I'm having great difficulty with this... The following code does NOT use a single border around the combo box as I would have expected. Any ideas as to why not? /* index.html */ 1 -- Alan McFarlane -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Problems with date and mktime on a linux to windows 2000 app porting

2002-02-12 Thread peke
Have anyone has the same problems making the port of a php app to windows 2000 from linux I'm going crazy with that stuff Thanks in advance

[PHP] About thumbnail functions

2002-02-12 Thread M
From: "Torkil Johnsen" <[EMAIL PROTECTED]> Subject: How do I check GD version? To: <[EMAIL PROTECTED]> Cheers all... This mail got rather long, so here are my 3 questions in a short version: 1) What is GD? (fore use with imagecopyresampled function) 2) How can I run a function that wil

Re: [PHP] PHP Work in New York

2002-02-12 Thread John Fishworld
Well as an englishman in Germany - php is pretty damm big here ! A lot more than in the UK ! So maybe he should have stayed in Germany ! lol Although the market has collapsed a bit at the moment ! > I guess I'm lucky living in Australia then - there's quite a few places > using ASP but there's a

[PHP] using POST

2002-02-12 Thread ZILBER,LEONID (HP-NewJersey,ex1)
Hi guys, I have assembled an XML file, encrypted it and now ready to pass it to an outside server. $encryptedXML file contains encrypted value of an XML file How can I send the XML-(URL encoded) within the HTTPS-POST. The reason for sending the cleartext XML URL encoded is to allow for the spec

RE: [PHP] PHP Work in New York

2002-02-12 Thread Martin Towell
I guess I'm lucky living in Australia then - there's quite a few places using ASP but there's a HUGE increase in the number of businesses who are starting to use PHP. Maybe you should all move to Oz?? hehehe :) Martin -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] PHP Work in New York

2002-02-12 Thread Jason Murray
Jason L wrote: > Of course, I am lucky enough to be working in a place which uses > PHP/MySQL for practically everything, and Perl in a few others. > And say ASP, and you are liable to get your head shot off. Same here, everything web-related anyway ... but the head-shot-off attitude is in pl

Re: [PHP] PHP Work in New York

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 05:17 PM, NDPTAL85 wrote: > You know at most places thats a great strategy for getting fired? Have > any others? :) Maybe, it depends on where you work. I don't work for a tech company per se -- and the MIS guys here have no problem with my server (after a

Re: [PHP] PHP Work in New York

2002-02-12 Thread Jason Lotito
- Original Message - From: "NDPTAL85" <[EMAIL PROTECTED]> > > I suppose that's a matter of opinion. One thing's for sure: where I > > work, ASP is the "official" scripting language. If my boss really knew > > the difference, I'd have to use ASP instead. I get around it by not > > bring

Re: [PHP] PHP Work in New York

2002-02-12 Thread NDPTAL85
> On Tuesday, February 12, 2002, at 04:30 PM, George PHP wrote: > >> So you want to say that PHP is going nowhere in the >> States? Maybe we should be doing ASP! > > I suppose that's a matter of opinion. One thing's for sure: where I > work, ASP is the "official" scripting language. If my bos

[PHP] Linux install problem

2002-02-12 Thread wkelleher
I am having problems getting Apache to Make after ./configure --activate-module=src/modules/php4/libphp4.a I get an error on uncompress in function my_uncompress and compress in function my_compress_alloc I read that this may be a mysql issue dealing with zlib but I have been unable to find a

RE: [PHP] Newbie question about links

2002-02-12 Thread Rick Emery
reference the file that you wish to link to: Click here -Original Message- From: Chris Schoeman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:13 PM To: [EMAIL PROTECTED] Subject: [PHP] Newbie question about links I want to make links on my website which doesn't show the

[PHP] Newbie question about links

2002-02-12 Thread Chris Schoeman
I want to make links on my website which doesn't show the original url of that page. How Can I do that? Thankx Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to obtain the script's path?

2002-02-12 Thread Lars Torben Wilson
On Tue, 2002-02-12 at 13:44, Alex Shi wrote: > Hi, > > I have a script need to be launched from terminal, and I want > it to report the script's path. Because this script is required to > be launched from command line, so those Apache env vars > have not effect work, even $PHP_SELF don't work. >

Re: [PHP] why AddType not working for me as expected?

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 05:23 PM, Peter J. Schoenster wrote: > Hi, > > Given that it doesn't seem I can use PHP as a wrapper, I tried the > following: > > AddType application/x-httpd-php .htm .html > > And oddly that did not work (seems to become an unknown type, > gives me the option

Re: [PHP] getting $PHP_SELF's basename

2002-02-12 Thread Lars Torben Wilson
On Tue, 2002-02-12 at 13:32, Erik Price wrote: > > On Tuesday, February 12, 2002, at 04:26 PM, Lars Torben Wilson wrote: > > > echo basename($_SERVER['PHP_SELF']); > > > > http://www.php.net/basename > > > > Thank you Torben. Reading through the annotations on this manual entry, > it looks

[PHP] why AddType not working for me as expected?

2002-02-12 Thread Peter J. Schoenster
Hi, Given that it doesn't seem I can use PHP as a wrapper, I tried the following: AddType application/x-httpd-php .htm .html And oddly that did not work (seems to become an unknown type, gives me the option to download). This worked AddType application/x-httpd-php .ghtm .ghtml And of course

[PHP] How to obtain the script's path?

2002-02-12 Thread Alex Shi
Hi, I have a script need to be launched from terminal, and I want it to report the script's path. Because this script is required to be launched from command line, so those Apache env vars have not effect work, even $PHP_SELF don't work. Can anybody has a solution for this? Thanks in advance for

Re: [PHP] PHP Work in New York

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 04:30 PM, George PHP wrote: > So you want to say that PHP is going nowhere in the > States? Maybe we should be doing ASP! I suppose that's a matter of opinion. One thing's for sure: where I work, ASP is the "official" scripting language. If my boss really

[PHP] Re: IE vertical scrollbars changing color

2002-02-12 Thread Gary
Phil Schwarzmann wrote: > I know this is probably a HTML question and not a PHP question but... > > I just upgraded to Internet Explorer 6.0 and I noticed that some > websites have the ability to change the vertical scrollbar's colors. > > Anybody know how to do this?? > > Thanks!! > >

Re: [PHP] getting $PHP_SELF's basename

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 04:26 PM, Lars Torben Wilson wrote: > echo basename($_SERVER['PHP_SELF']); > > http://www.php.net/basename > Thank you Torben. Reading through the annotations on this manual entry, it looks like I'd be safer using the home-built function after all! Well,

Re: [PHP] PHP Work in New York

2002-02-12 Thread George PHP
So you want to say that PHP is going nowhere in the States? Maybe we should be doing ASP! On Tuesday, February 12, 2002, at 04:21 PM, George PHP wrote: > Hi PHPers, > > I just moved to NYC from Germany and I'm looking for a > job here. > Where would be a good place to look? Probably in German

RE: [PHP] PHP and CGI

2002-02-12 Thread Darren Gamble
Good day. That's not a comment. The #! at the start tells the shell to execute that as the interpreter for the script. Are you sure that you typed it in correctly? Did you install the PHP standalone application? Is it installed in that location? Did you set the file as executable? Did you t

Re: [PHP] getting $PHP_SELF's basename

2002-02-12 Thread Lars Torben Wilson
On Tue, 2002-02-12 at 13:16, Erik Price wrote: > Is there already a built-in function that gets the basename of the > current file? > > I wrote this: > > function get_current_page_name() > { > $current_page_name = explode("/", $_SERVER['PHP_SELF']); > $current_page_name = array_slice($c

Re: [PHP] PHP Work in New York

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 04:21 PM, George PHP wrote: > Hi PHPers, > > I just moved to NYC from Germany and I'm looking for a > job here. > Where would be a good place to look? Probably in Germany. The economy sucks in the States, I'm lucky to be temping (luckier to be using PHP). E

RE: [PHP] PHP Work in New York

2002-02-12 Thread Rick Emery
George, I don't have any job sources for. However, I wondered where you lived in Germany. Ich habe fur drei Jahre in Kaiserlautern gewohnt. Von 1985 bis 1988. Sind Sie Deutscher oder Amerikaner im militar? rick -Original Message- From: George PHP [mailto:[EMAIL PROTECTED]] Sent: Tu

RE: [PHP] PHP and CGI

2002-02-12 Thread Michael R @ Spy
I made some time to test, and no dice. The comment doesn't seem to matter. :( Thanks, -Mike > -Original Message- > From: Darren Gamble [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 3:26 PM > To: 'hugh danaher'; [EMAIL PROTECTED]; php > Subject: RE: [PHP] PHP and CGI >

RE: [PHP] Re: PHP not parsed in HTML

2002-02-12 Thread Michael R @ Spy
Thanks for the suggestions - I'll see what I can do with them! :) -Mike > -Original Message- > From: CC Zona [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 4:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP not parsed in HTML > > > In article <[EMAIL PROTECTED]>,

[PHP] PHP Work in New York

2002-02-12 Thread George PHP
Hi PHPers, I just moved to NYC from Germany and I'm looking for a job here. Where would be a good place to look? George __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (h

[PHP] getting $PHP_SELF's basename

2002-02-12 Thread Erik Price
Is there already a built-in function that gets the basename of the current file? I wrote this: function get_current_page_name() { $current_page_name = explode("/", $_SERVER['PHP_SELF']); $current_page_name = array_slice($current_page_name, -1); return $current_page_name; } but I'm

[PHP] Re: Refreshing a page.

2002-02-12 Thread LaserJetter
If the login form is processed by a PHP script, just do header("Location: newpage.html"); This will either redirect the page in the fram or redirect the whole document in the browser window. LJ "Morten Nielsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

RE: [PHP] Refreshing a page.

2002-02-12 Thread Rick Emery
did you try: http://my.site.com//thispage.html";> -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: [PHP] Refreshing a page. Hi, I got a page, which uses frames. When a user logges in I would lik

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Christian Blichmann
"Cc Zona" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can look over the environment vars available to you with a quick call > to phpinfo() . Thanks for replying, but as Philip stated in his reply to my question its that the actu

[PHP] Refreshing a page.

2002-02-12 Thread Morten Nielsen
Hi, I got a page, which uses frames. When a user logges in I would like to refresh a frame, but I don't know how to do that. Can anybody help me? Thanks, Morten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] session_id()

2002-02-12 Thread Johnson, Kirk
SID is defined on the *first* page request. It is only defined on later requests *if* cookies are disabled in the browser. Kirk > -Original Message- > From: Pax [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 1:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] session_id() >

Re: [PHP] session_id()

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 03:53 PM, Pax wrote: Try "get_defined_constants()" to see what's in your constants array. > $sid_value="&" .SID; > header("location:index.php?error_message=$message$sid_value > > I get the following url: > http://localhost/index.php?error_message=message+goes+

[PHP] Re: PHP not parsed in HTML

2002-02-12 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Spyproductions Support Team) wrote: > I am with a hosting company that doesn't want to parse PHP in HTML files > because they are afraid it will slow down their server(s) too much. > > So. I really like them and don't want to move the site if

RE: [PHP] PHP not parsed in HTML

2002-02-12 Thread Kevin Stone
Hostrocket.com, one of the ISPs we host our clients web sites on, allows us to do this by simply adding the following lines into the .htaccess file in account's home directory.. AddType application/x-httpd-php .html AddType application/x-httpd-php .htm I do not know if this is a general solution

[PHP] session_id()

2002-02-12 Thread Pax
I am newbie here.. I am curious has session_id() the same implementation is SID constant? Do they produce the same result? I have page let's say login.php that where SID is not being parsed by PHP and I am trying to find the cause behind (using PHP4) $sid_value="&" .SID; header("location:index.

  1   2   >