[PHP] Re: dl() issues

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, evan@coeus- group.com says... > Warning: Unable to load dynamic library > '/usr/local/lib/php/DL/libpdf_php.so' - File not found in > /home/xxx/page.php on line 6 > Fatal error: Call to undefined function: pdf_new() in > /home/xxx/page.php on line 11 >

[PHP] Hi can we write a form inside td element of a table?

2002-03-11 Thread Balaji Ankem
Hi, can we give a form element as td inside table element? Thanks in advance Balaji **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended

[PHP] Re: How do I read a tab delimited file?

2002-03-11 Thread Matt Parlane
Hiya... You can optionally pass a third parameter to fgetscsv which tells it which delimiter to use - the default is a comma, but you can use "\t" for a tab, or whatever other delimiters you want. Just remember to put that \t in double quotes because it's an escape character. Matt "Don" <[EMAI

Re: [PHP] Scope problem in while loop

2002-03-11 Thread Randall Perry
Whoops, you're right. Classic 'C' mistake using = instead of ==. Never mind :( > On Mon, 2002-03-11 at 18:51, Randall Perry wrote: >> According to the PHP 4 docs all variables are global unless within a >> function. I've got the following test code which should output 2, but >> outputs 1. The whi

Re: [PHP] File Upload

2002-03-11 Thread ayukawa
I guess, you don't specify the enctype in the form you wrote. Do you write like this? . Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I read a tab delimited file?

2002-03-11 Thread Analysis & Solutions
$Array = explode("\t", $Line); Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y -- PHP

Re: [PHP] How do I read a tab delimited file?

2002-03-11 Thread pong-TC
I never try before, but I think you can use explode or strtok function to chop each field in the line with any delimiter. hope this would help. Pong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I read a tab delimited file?

2002-03-11 Thread Don
Hi, I have a tab delimited file consisting of several lines, one record per line that I have to process. I don't see a function similar to "fgetcsv" for TABS so I've used the "file" function to read the whole file into an array, one line per array element. So far so good. Now I have to proc

[PHP] Comparing two dynamic dates

2002-03-11 Thread Erick
Hello, I've been working on this for a little while now, without success. I want to compare the current date to a certain recurring date (ie: compare todays date to the date of the second Sunday of the a certain month). I have an event that happens on the second Sunday of each month, and I wan

Re: [PHP] File Upload

2002-03-11 Thread Faisal Abdullah
> > Warning: Unable to open 'C:\\Documents and > > Settings\\vlad\\Desktop\\satellite\\florida.jpg' for reading: No such > > file or directory in /var/www/kulchitski/btl/_talkroom_submit.php on > > line 15 Well it says "Unable to open". My guess is the file u want to upload doesn't exist. What d

Re: [PHP] Re: Variables within a string

2002-03-11 Thread Analysis & Solutions
On Tue, Mar 12, 2002 at 11:34:14AM +0800, Jason Wong wrote: > On Tuesday 12 March 2002 11:11, Analysis & Solutions wrote: > > On Mon, Mar 11, 2002 at 08:39:16PM -0500, webapprentice wrote: > > > From: Jason Wong <[EMAIL PROTECTED]> > > > > > > On Monday 11 March 2002 11:10, Chris Cocuzzo wrote: >

RE: [PHP] Can't display PNG images

2002-03-11 Thread Mike Eynon
I have also had some weird problems with PNGs and Netscape. Actually, most appear fine, but PNGs that specify a transparent color do weird things. As well, I have have seen problems with Netscape not loading all images that are created at runtime. Have not tracked this down, but it appears to

Re: [PHP] dynamic query string

2002-03-11 Thread Analysis & Solutions
> and I like, if possible, that someone can send me tips in how is the best > way to concatenate the query string in order to do the search. The users > will have about 8 types of options to search, age (18 - 25, 25-30..), > gender, nationality. My favorite technique is to stick the WHERE's i

Re: [PHP] File Upload

2002-03-11 Thread Faisal Abdullah
> if(!userfile) >echo "ERROR"; > > $filelocation="/tmp"; Does C:\tmp exist? > > copy($userfile, $filelocation) > > The message I get in my browser is: > Warning: Unable to open 'C:\\Documents and > Settings\\vlad\\Desktop\\satellite\\florida.jpg' for reading: No such > file or directory in

[PHP] File Upload

2002-03-11 Thread Vlad Kulchitski
Hi, Can anyone help with file upload? I am uploading file through the form And on the page where I get the variables from the form I say: if(!userfile) echo "ERROR"; $filelocation="/tmp"; copy($userfile, $filelocation) The message I get in my browser is: Warning: Unable to open 'C:\\Do

RE: [PHP] Scope problem in while loop

2002-03-11 Thread Demitrious S. Kelly
I may be wrong, but that's exactly what I ended up having to do... but don't quote me - I'm just learning OOP http://www.apokalyptik.com/forum/viewtopic.php?topic=140&forum=6&0 -Original Message- From: Randall Perry [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 6:52 PM To: [EM

Re: [PHP] Re: Variables within a string

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 11:11, Analysis & Solutions wrote: > On Mon, Mar 11, 2002 at 08:39:16PM -0500, webapprentice wrote: > > From: Jason Wong <[EMAIL PROTECTED]> > > > > On Monday 11 March 2002 11:10, Chris Cocuzzo wrote: > > > $foo = "Entry for " . $HTTP_POST_VARS["name"]; > > > > $foo = "Ent

Re: [PHP] Can't display PNG images

2002-03-11 Thread Frank
>OUTPUT from phpinfo() >--- >GD Supportenabled >GD Version1.6.2 or higher >WBMP Support enabled but does it say GD Support enabled GD Version 1.6.2 or higher . . . PNG Support enabled . . . ? If the line with "PNG Support enabled" is not th

[PHP] dynamic query string

2002-03-11 Thread Rodrigo Peres
Hi list, I have my data distribuited across 3 tables, that I'm using left join to retrieve data from them. Now I need to make a search system in this tables and I like, if possible, that someone can send me tips in how is the best way to concatenate the query string in order to do the search. The

[PHP] Re: phpMyAdmin Change Root pwd ... Now no access

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > OK, here its goes. I learned of this neat little app "phpMyadmin" add= > ed a > password to root and now I get no access. > checked the my.ini and php.ini for possible problems there. they are s= > et > with passwords to the root. bo

[PHP] Re: Returning to a Shell Script

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have a PHP script which echos several lines, with \n newlines. > > I want to return this to the Shell Script, with > > return=$( bank.php ) > > and print $return out. However, it doesn't know how to print new > lines. Does anyon

Re: [PHP] Scope problem in while loop

2002-03-11 Thread Lars Torben Wilson
On Mon, 2002-03-11 at 18:51, Randall Perry wrote: > According to the PHP 4 docs all variables are global unless within a > function. I've got the following test code which should output 2, but > outputs 1. The while loop creates it's own class object (which seems strange > since it isn't explicitl

[PHP] Scope problem in while loop

2002-03-11 Thread Randall Perry
According to the PHP 4 docs all variables are global unless within a function. I've got the following test code which should output 2, but outputs 1. The while loop creates it's own class object (which seems strange since it isn't explicitly instantiated by my code; I would think it would cause er

[PHP] dl() issues

2002-03-11 Thread Evan Nemerson
Warning: Unable to load dynamic library '/usr/local/lib/php/DL/libpdf_php.so' - File not found in /home/xxx/page.php on line 6 Fatal error: Call to undefined function: pdf_new() in /home/xxx/page.php on line 11 [xxx@x php-4.1.0]$ ls -Al /usr/local/lib/php/DL/libpdf_php.so lr

Re: [PHP] phpMyAdmin Change Root pwd ... Now no access

2002-03-11 Thread Greg Donald
On Mon, 11 Mar 2002, Daniel Negron/KBE wrote: >OK, here its goes. I learned of this neat little app "phpMyadmin" added a >password to root and now I get no access. >checked the my.ini and php.ini for possible problems there. they are set >with passwords to the root. both .ini's > >What am I m

[PHP] Re: Variables within a string

2002-03-11 Thread webapprentice
Oh, so that's how you deal with indexed variables inside of double quotes... I can't believe that has eluded me for so long... --- From: Jason Wong <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Mon, 11 Mar 2002 12:09:

[PHP] Can't display PNG images

2002-03-11 Thread Narvaez, Teresa
Hello, Background info: I'm running o PHP 4.1.1 on a linux server kernel(2.2.16). o Using Netscape Communicator 4.75 o Compiled and installed the gd(1.8.4) library Problem(2 problems): 1.- The following code won't display an image(I get an ic

[PHP] Re: 'undef' as an argument value

2002-03-11 Thread Alan McFarlane
function foo( $arg1, $arg2 = null ) { .. as before .. } -- Alan McFarlane Rodent Of Unusual Size <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > An odd request.. I want to have optional function arguments > that *aren't* defined unless values are explicit

Re: [PHP] http header with target problem

2002-03-11 Thread Michael P. Carel
You mean this header('Window-target: _top'); header("Location:index.php?expire=0"); > On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: > > > > I have here a problem regarding auto redirecting a Frame supported page upon > > session timeout. I'm redirecting the page upon session

Re: [PHP] "undefined symbol: compress" during install?

2002-03-11 Thread Michael Sims
At 05:58 PM 3/11/2002 -0500, Erik Price wrote: >Ho! I have just RTFG'd, which I wish I had done before posting. Looks >like I have omitted the --with-zlib parameter in the ./configure of >PHP. I had it last time b/c I was following a tutorial, and omitted it >this time since I didn't think I

Re: [PHP] Sessions interfering with one another

2002-03-11 Thread Adam . Whitehead
Thanks. Worked wonders. I was a bit wary of using session_name() earlier because the documentation on that function is pretty awful. --- Adam Whitehead Systems Developer - CSM Limited Ph. (08) 8936 3165 ** Mobile (0411) 241 120 E-mail: [EMAIL PROTECTED]

Re: [PHP] http header with target problem

2002-03-11 Thread Analysis & Solutions
On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: > > I have here a problem regarding auto redirecting a Frame supported page upon > session timeout. I'm redirecting the page upon session timeout to > header("Location:index.php?expire=0"); . But i want that to redirect with a > sp

Re: [PHP] Sessions interfering with one another

2002-03-11 Thread Richard Baskett
Well then rename the session cookieid.. By using session_name() this way it doesn¹t use the default name specified by your php.ini file. Cheers! Rick "Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the peop

Re: [PHP] Sessions interfering with one another

2002-03-11 Thread Adam . Whitehead
Sounds good, but I'm not actually setting the cookie, PHP session code does the setting of the cookie. --- Adam Whitehead Systems Developer - CSM Limited Ph. (08) 8936 3165 ** Mobile (0411) 241 120 E-mail: [EMAIL PROTECTED]

[PHP] http header with target problem

2002-03-11 Thread Michael P. Carel
Hi to all, I have here a problem regarding auto redirecting a Frame supported page upon session timeout. I'm redirecting the page upon session timeout to header("Location:index.php?expire=0"); . But i want that to redirect with a specified target tags with TARGET=_top to exit in the FRAME page. A

Re: [PHP] Sessions interfering with one another

2002-03-11 Thread Richard Baskett
Can't you just rename the cookie something else for your piece of software? They wont write over each other if they have different names... Rick You will never be happy if you continue to search for what happiness consists of. You will never live if you are looking for the meaning of life. - Alb

[PHP] Re: Multi-Densional Array Sorting?

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Okay - here's one for you. Probably something really small and stoopid which I'm >fergeting, but I don't mind a little egg on my face as long as I can figure out the >problem. > > Since you may or may not be down, I've included plenty

[PHP] Re: Can no one help with this opendir problem?

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, > I wrote a few days ago and have heard nothing - can ANYONE help with this: > > > I've got a script that is installed on a Solaris machine that is having > difficulties, and I'm wondering if anyone can help. The script is trying

[PHP] Re: get data from query before while loop

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have a mysql query that I need to echo a variable from "once" before I go > into the while loop which would list the entire contents of the array. The > field shown once will not be displayed in the while looped contents. So > theoreti

[PHP] Re: Help w/ "join" syntax

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > When I call the following script, $qry_1 doesn't work (No Query # 1!). > > set_time_limit(300); > $connection=mysql_connect("localhost","wagner","???") or die ("No > connection!"); > $db=mysql_select_db("sbwresearch",$connection) or d

[PHP] Re: Link probleme

2002-03-11 Thread David Robley
In article <025e01c1c8eb$21fbe2b0$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hy, > In the page seriefr.php there is the code in a SWITCH loop.The problem is that when >we use the link nothings happen. The value of the variable val don't change. if >someone know why can you explain it to me

[PHP] Re: PHP based search engine

2002-03-11 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, > > Does anyone know of a PHP based search engine for a website? I was using > Fluid Dynamics on my site - as I've got some sections of the site in a > MySQL database, and some sections are just static pages. However, it seems

[PHP] Sessions interfering with one another

2002-03-11 Thread Adam . Whitehead
Hi All I am having a problem with two pieces of software written in PHP interfering with each other's sessions. That software is Squirrelmail, and another piece of software I have written (a web-based administration site for schools). I think part of the problem might lie in the cookies that are

[PHP] Re: Monetary Information

2002-03-11 Thread David
David wrote: > > Hi, > > I need to store monetary (UK) information in a text file. However, it > is possible to either not put in the pence details, or to add more than > one decimal point or >3 numbers after the decimal point. > > Does PHP have a function which takes a number and puts it into

RE: [PHP] SOAP

2002-03-11 Thread Kearns, Terry
This does indeed help tremendously. My problem is that while I do use Linux at home for all my PHP development, I have to use Windows at work :( I've already stretched the friendship by coercing them to use PHP instead of CF/ASP. I was thinking of looking at XMLRPC but I wanted to run with SOAP

Re: [PHP] "undefined symbol: compress" during install?

2002-03-11 Thread Erik Price
On Monday, March 11, 2002, at 05:21 PM, Erik Price wrote: > I just finished doing my re-install of PHP, updated to 4.1.2. Or so I > thought... everything went smoothly, I got all the right success > messages during the ./configure and make processes, and thought I was > ready to go -- but a

[PHP] Monetary Information

2002-03-11 Thread David
Hi, I need to store monetary (UK) information in a text file. However, it is possible to either not put in the pence details, or to add more than one decimal point or >3 numbers after the decimal point. Does PHP have a function which takes a number and puts it into a locale-formatted number (in

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Collins, Robert
Try it like this $letter="a" $result =mysql_query("SELECT * FROM emply_info WHERE Lname LIKE'$letter%' ORDER BY Lname, Fname DESC",$db); Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Chuck

Re: [PHP] Re: A stupid question...

2002-03-11 Thread liljim
You're using the wildcard in the wrong place. Should be "like '$letter%'"; Or, "left(column, 1) = '$letter'"; use a die() and mysql_error() to report problems to the browser: $result =mysql_query("SELECT * FROM emply_info WHERE LEFT(Lname, 1) = '$letter' ORDER BY Lname, Fname DESC",$db)

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Rick Emery
I just noticed your WHERE clause is incomplete. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 4:33 PM To: 'Chuck "PUP" Payne' Cc: PHP General Subject: RE: [PHP] Re: A stupid question... To help you diagnose the problem, I suggest: $query =

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Rick Emery
To help you diagnose the problem, I suggest: $query = "SELECT * FROM emply_info WHERE Lname ORDER BY Lname, Fname DESC LIKE'%$letter'"; print "$query\n"; $result =mysql_query("$query) or die("error: ".mysql_error()); This will tell you: (1) whether your query is what you expected (2) what mysql

[PHP] phpMyAdmin Change Root pwd ... Now no access

2002-03-11 Thread Daniel Negron/KBE
OK, here its goes. I learned of this neat little app "phpMyadmin" added a password to root and now I get no access. checked the my.ini and php.ini for possible problems there. they are set with passwords to the root. both .ini's What am I missing here...should I juyst remove the password from

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Chuck \"PUP\" Payne
$result =mysql_query("SELECT * FROM emply_info WHERE Lname ORDER BY Lname, Fname DESC LIKE'%$letter'",$db); $letter="a" That's what I tried. Chuck -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 5:25 PM To: 'Chuck "PUP" Payne'; liljim Cc: PHP

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Rick Emery
What do you mean " it doesn't like the "LIKE" Please provide the query statement you used and the response from the application -Original Message- From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 4:22 PM To: liljim Cc: PHP General Subject: Re: [PHP] Re: A s

Re: [PHP] Re: A stupid question...

2002-03-11 Thread Chuck \"PUP\" Payne
Ok, I have tried this but no luck...I have included the page I have been working on. I have it list everything now but last name. # This what I want to change so that I can do it by letter # $result =mysql_query("SELECT * FROM emply_info ORDER BY Lname, Fname DESC",$db); I have tried everything

[PHP] "undefined symbol: compress" during install?

2002-03-11 Thread Erik Price
I just finished doing my re-install of PHP, updated to 4.1.2. Or so I thought... everything went smoothly, I got all the right success messages during the ./configure and make processes, and thought I was ready to go -- but as I confidently started up Apache, I was greeted with this message:

Re: [PHP] QUERY STRING question

2002-03-11 Thread Hiroshi Ayukawa
I guess they are almost same. But, the contents of $QUERY_STRING are different. Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] QUERY STRING question

2002-03-11 Thread jhj hjhjhj
Hey again list, Anybody know what the diffrance in using "%20" and "+" as a space in the query string is? Josepablo Pérez _ Do You Yahoo!? La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx -- PHP Genera

[PHP] Returning to a Shell Script

2002-03-11 Thread David
I have a PHP script which echos several lines, with \n newlines. I want to return this to the Shell Script, with return=$( bank.php ) and print $return out. However, it doesn't know how to print new lines. Does anyone know how to do this? Thanks in advance -- PHP General Mailing List (ht

[PHP] Help with form validate script and the way it handles redirections.

2002-03-11 Thread jhj hjhjhj
Hey People: I made a form validator script, it redirects you back to the page you were before if you have an error. To do this iam putting a hidden entry that is $REQUEST_URI . So if the script needs to redirect you back itll do this: header("Location: ?$reference&message=another_message");

Re: [PHP] --with-xml set by default?

2002-03-11 Thread Lars Torben Wilson
On Mon, 2002-03-11 at 13:14, Erik Price wrote: > Hello, > > I have a quick question, as I recompile my PHP installation up to 4.1.2: > > Is the --with-xml option to ./configure a standard these days? I seem > to remember that in my initial PHP 4.0.6 installation I used this > parameter, but I

Re: [PHP] session OR variables

2002-03-11 Thread Jan Rademaker
On Mon, 11 Mar 2002, Vlad Kulchitski wrote: > The question is how reliable the session is? In other words > I understand session works based on cookies right? So if the client > browser has cookies disabled the session is not going to work > right? Not per se, cookies is one way of using sess

Re: [PHP] 'undef' as an argument value

2002-03-11 Thread Rodent of Unusual Size
"Johnson, Kirk" wrote: > > http://www.php.net/manual/en/function.func-num-args.php will > return the number of arguments passed to the function. Bingo! That will do the trick.. Thanks *very* much! -- #kenP-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, op

Re: [PHP] Unknown Error Reason

2002-03-11 Thread David
Hi. Sorry to bother you. I want to return my PHP script to a shell, and I have line breaks in it. However, the shell doesn't like newlines as far as I can tell (it puts it all one line). In my program, the line is split by \n. Can anyone help me with this issue? Thanks David. David wrote: >

[PHP] Test

2002-03-11 Thread Sánchez
Hello Pablo Sánchez. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] 'undef' as an argument value

2002-03-11 Thread Johnson, Kirk
http://www.php.net/manual/en/function.func-num-args.php will return the number of arguments passed to the function. Kirk > -Original Message- > From: Rodent of Unusual Size [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 2:25 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] 'und

[PHP] session OR variables

2002-03-11 Thread Vlad Kulchitski
Hi, I have a question. I am working on a submit form that will ask you for confirmation of info. I.e. I need to move values submitted via form through 2 different pages. One of the ways to do it is via session_start(). Another way to do is it via storing variables in a QUERY_STRING and that's my

Re: [PHP] Unknown Error Reason

2002-03-11 Thread David
Thanks! I think I've been working too hard :) David. Rick Emery wrote: > > First: change - > if(file_exists($info[5]){ > to - > if(file_exists($info[5])){ > > Second: ensure the file permissions are set to rwxrwxr-x for bank.php > > -Original Message- > From: David [mailto:[EMAIL PRO

Re: [PHP] 'undef' as an argument value

2002-03-11 Thread Rodent of Unusual Size
Rick Emery wrote: > > function foo($arg1_required, $arg2_optional="") > if ($arg2_optional=="") { > print "not passed"; > } > else { > print "explicit"; > } > } No, I said 'undef' because I mean 'undefined'. The argument can have *any* value; I need to know when

[PHP] --with-xml set by default?

2002-03-11 Thread Erik Price
Hello, I have a quick question, as I recompile my PHP installation up to 4.1.2: Is the --with-xml option to ./configure a standard these days? I seem to remember that in my initial PHP 4.0.6 installation I used this parameter, but I just did [root@localhost] # ./configure --help | grep 'xml'

RE: [PHP] 'undef' as an argument value

2002-03-11 Thread Rick Emery
function foo($arg1_required, $arg2_optional="") if ($arg2_optional=="") { print "not passed"; } else { print "explicit"; } } -Original Message- From: Rodent of Unusual Size [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 3:17 PM To: [EMAIL PROTECTED

RE: [PHP] Unknown Error Reason

2002-03-11 Thread Rick Emery
First: change - if(file_exists($info[5]){ to - if(file_exists($info[5])){ Second: ensure the file permissions are set to rwxrwxr-x for bank.php -Original Message- From: David [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 3:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Unknown Err

[PHP] 'undef' as an argument value

2002-03-11 Thread Rodent of Unusual Size
An odd request.. I want to have optional function arguments that *aren't* defined unless values are explicitly passed. Sorta the equivalent of function foo($arg1_required, $arg2_optional=undef) if (isset($arg2_optional)) { print "explicit"; } else { print "not passed

[PHP] Unknown Error Reason

2002-03-11 Thread David
Hi, When I try to run this, I get an error saying "invalid file permissions" and will not run. However, I then run it using php -q bank.php and this works fine. Unfortunately, there is a parse error on line 68 (apparantly) which I cannot figure out. Can anyone help me here? Thanks in advance,

Re: [PHP] Selecting a Queried Row

2002-03-11 Thread Andre Dubuc
Hi Hugh, Thank you so much for the code: it's exactly what I was looking for. Sorry about the delay in replying: we had a major power outage: went out Saturday at 8 p.m. and we finally got it back Monday at 3:15p.m. (with multiple on/offs!). The phone went dead as well. Great fun! Anyway, I'

[PHP] Re: dynamic startpage in flash...

2002-03-11 Thread Jordan S. Jones
In the HTML for embedding the Flash Movie, do something like this: http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0 ,0" id=projector WIDTH=100% HEIGHT=200%> http://www.blabla.com/mailTarget.php?target=6";); ?>"> http://www.blabla.com/mailTarget.php?target=6";); ?>" quality=hig

[PHP] header() problem??

2002-03-11 Thread James E. Hicks III
I am trying to replace a perl script with the following PHP code. The perl code acted like a redirector, sending you to a different script depending on the value of the submit button. The following replacement code written in PHP works quite well until the postString exceeds some unknown size (Thi

RE: [PHP] using ahref tag in $msg variable

2002-03-11 Thread Kevin Stone
If you want to use HTML tags in your email you can add to $mailheaders .= "Content-type: text/html\n"; -Kevin -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 12:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] using ahref tag in $msg variable O

Re: [PHP] index.php question

2002-03-11 Thread Jordan S. Jones
That means that it isn't getting passed off to the PHP executable or dll. Instead, it is getting sent to the client as plain text.. Go to the "Home Directory" tab in the IIS admin. From there, click on "Configuration". Add an Application Mapping for .php. Restart IIS, and you should be good. Jo

Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-11 Thread hugh danaher
please try the following and let us know what the results are. - Original Message - From: "Ceyhun Güler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 12:41 AM Subject: Re: [PHP] parse error? how can I print spesific message for all error mesage > $dir

[PHP] Re: PHP group in spanish

2002-03-11 Thread Angel Fenoy
Frank wrote: > How know a PHP group that is in spanish?. > > Thanks beforehand... > Frank.- http://www.phpes.com/ Saludos Àngel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Syntax for attaching a PDF file

2002-03-11 Thread Todd Cary
I am not sure of the correct syntax for attaching a PDF file to an email message using mail(). Any help is greatly appreciated since the documents are confusing for me. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it is

Re: [PHP] ImagePng: No PNG support in this PHP build

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 01:42, Josep Raurell wrote: > Hello. > > I alwais get this message, i try with the gd and libpng librarys from the > SuSE 7.0, and after uninstalling with the sources librarys. > (gd works ok) > > The result is the same: > > ImagePng: No PNG support in this PHP build > > T

RE: [PHP] Check "@" in Record & show Error in mail() !!

2002-03-11 Thread Rick Emery
$result = mysql_query("SELECT * FROM sms where email LIKE \"%@%\" ORDER BY ID DESC",$db); -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 12:18 PM To: RIVES Sergio Cc: [EMAIL PROTECTED] Subject: [PHP] Check "@" in Record & show Error in m

Re: [PHP] using ahref tag in $msg variable

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 02:12, Claudia Smith wrote: > I would like to know how to code my mail msg to accept an tag > > my current code is: > > $msg = "$username wants you to check out \"The AdVentures of AdWoman: > AdWoman's Dilemma.\"\n\n"; > $msg .= "Play for a chance to win a Caribbean c

Re: [PHP] Netscape Vs. IE

2002-03-11 Thread Gary
Vlad Kulchitski wrote: > Hi, > > Someone replied to my post about browsers incompatibilities but I lost > the message, can someone remind me how to set up the background image: > > > > I mean I need another command that will tell to load image as a bg. I am > trying to use background-image:fi

Re: [PHP] index.php question

2002-03-11 Thread Daniel Negron/KBE
do you happen to have an answer for IIS. I alreazdy tried to add index.php to the list of documents, along with index.asp, index.html, and so on.But I still get the same result. Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, In

[PHP] upload script problems.

2002-03-11 Thread Brian Lee
Hello, I am trying to fix a upload script that doesn't seem to be working anymore. I had it up an running for a few months but it broke last week. I don't think that there was anything changed on the server. I am using php 4.0.4pl1. Any help you could give me would be great. I get this erro

Re: [PHP] limiting the livetime of a session possible?

2002-03-11 Thread Samuel Ottenhoff
The last person gave you a way to do it without using php.ini Re-read the reply. 1) you can create a timestamp column last_access in your USERS table 2) every time that user hits a page, you need to update that column 3) every time the user asks for a new page, see if the last access is less

Re: [PHP] php.ini ...

2002-03-11 Thread Marcel Besancon
Hi, thanks for last posting. But that doesn't work with me. Don't ask me why. I will try further. Maybe I have better luck with this 4.1.2 version. I was told that the php_gd.dll is included there. Thanks a lot, Sincerely Marcel -- registered Fli4l-User #0388 "Ray Hunter" <[EMAIL PROT

[PHP] PHP/Apache install question

2002-03-11 Thread Chuck Bearden
I would like to be able to build PHP using the apxs of an existing Apache install, but I want to inhibit 'make install' from placing the libphp4.so file in the apache directory and from modifying its httpd.conf. I want the libphp4.so placed in the PHP target directory, so that I can symlink t

Re: [PHP] Image upload and scaling

2002-03-11 Thread Samuel Ottenhoff
Someone just mentioned ImageMagick... Check it out: http://www.imagemagick.org/ ImageMagickTM is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF.

Re: [PHP] php.ini ...

2002-03-11 Thread pong-TC
Go to your PHP directory and open backup folder inside. It should have php.ini right there. That is a real one, and you can use it. Hope, this would help. Pong [EMAIL PROTECTED] writes: >Hi, it's me again, > >when I used the PHP 4.0.6 I had a php.ini with a lot of entries. Now, >at >Version

Re: [PHP] index.php question

2002-03-11 Thread Samuel Ottenhoff
# # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html Sam On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to the mailin

[PHP] index.php question

2002-03-11 Thread Omland Christopher m
Hi all, I'm new to the mailing list, I hope I'm in the right spot. I have installed php, and .php files work fine, unless they are my index file. For example http://whatever.com/~jondoe/info.php will work. But if I make a index.php file and go to http://whatever.com/~jondoe it wont work. I can vie

[PHP] using ahref tag in $msg variable

2002-03-11 Thread Claudia Smith
I would like to know how to code my mail msg to accept an tag my current code is: $msg = "$username wants you to check out \"The AdVentures of AdWoman: AdWoman's Dilemma.\"\n\n"; $msg .= "Play for a chance to win a Caribbean cruise presented by Carnival Cruise Line and Contus.com.\n\n";

Re: [PHP] [GD] quality of image after resize

2002-03-11 Thread Hiroshi Ayukawa
I had the same situation before. At that time, I used Imagemagick and run it as another process. GD is actually poor quality in resizing images, but Imagemagick is not poor. Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top -- PHP General Mailing List (http://www.p

Re: [PHP] phpMyAdmin

2002-03-11 Thread Thomas Edison Jr.
With the phpMyAdmin, you get a "Config.inc" file. You will have to change the parameters (username, password, database) etc., in order to access your phpMyAdmin. T. Edison Jr. --- "Chuck \"PUP\" Payne" <[EMAIL PROTECTED]> wrote: > I have a client that has install phpMyAdmin but > can't get into

[PHP] Check "@" in Record & show Error in mail() !!

2002-03-11 Thread Thomas Edison Jr.
Hi, I'm using the following code to get Email Address stored in a table in my Database : $myrow[email] "); } while ($myrow = mysql_fetch_array($result)); } else { echo "Sorry, no records matching your criteria were found!"; } ?> But there are some records where the user has enter

Re: [PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Julio Nobrega Trabalhando
It would register a session variable name 'from_form' equal to $_REQUEST; The name 'from_form' was just an example, you need to change it according to your needs, if you wish. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca "Zara E Gonzalez" <[EMAIL PROTECTED]>

  1   2   >