Re: [PHP] Re: PHP and SOAP

2002-05-03 Thread Cédric Veilleux
Udo, Could you point us to the SOAP classes you've come accross? I am in the same situation as you are but haven't found much yet. There is indeed a SOAP server class from Manuel available at phpclasses.org, this is the first one I've seen. I haven't found a SOAP client class yet.

[PHP] PHP to Excel, Quick Question

2002-05-03 Thread Jay Blanchard
Again, thanks to folks on the list I learned the "stupid IE trick" for opening an Excel worksheet in the browser from a PHP generated table. Here is another quick question...in my DB query for the values I have SUM(IF(If FOO is this, return this number, else return a blank)) that looks like this

[PHP] date wierdness

2002-05-03 Thread ROBERT MCPEAK
On PHP3 where $row["art_date"] == 2002-05-03, $thedate resolves to "Thurs, May 2, 2002" YESTERDAYS DATE! See for yourself, if you wish, here: http://www.endvaw.org/current.php3 What gives. $row = mysql_fetch_array($result); $blah = eregi_replace("-", "/", $row["art_date"]); $thedate = date

Re: [PHP] phpMyAdmin

2002-05-03 Thread Kevin Stone
It's difficult to know exactly what you need, Rodrigo. There is no simple answer to your question. You haven't posted any code so I'm assuming you're either new to PHP, or coding in general. In either case I would highly recommend searching www.php.net. Read the documentation and examples. Whi

Re: [PHP] date wierdness

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, ROBERT MCPEAK wrote: > On PHP3 where $row["art_date"] == 2002-05-03, > $thedate resolves to "Thurs, May 2, 2002" > > YESTERDAYS DATE! > > See for yourself, if you wish, here: > http://www.endvaw.org/current.php3 > > What gives. > > $row = mysql_fetch_array($result); > $b

Re: [PHP] date wierdness

2002-05-03 Thread John S. Huggins
Long ago I saw this same thing and never did resolve it since the easier solution is to let MySQL format the date for you using DATE_FORMAT. Formatting the date using PHP tools from data derived from a query will just drive you nuts. There is some kind of "thing" that MySQL and PHP don't agree o

[PHP] sendmail return-path (not 4 newbies)

2002-05-03 Thread Anthony Rodriguez
PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the "From", "Reply-To", "Return-Path", or any other additional headers included in mail(). Apparently, this problem is faced by

Re: [PHP] sendmail return-path (not 4 newbies)

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 12:48, Anthony Rodriguez wrote: > PROBLEM > > When a php script uses mail() and sendmail, if the e-mail address is > not right, the e-mail is returned to the envelope sender (the hosting > provider), NOT to the "From", "Reply-To", "Return-Path", or any other > additional headers

RE: [PHP] PHP to Excel, Quick Question, DONE

2002-05-03 Thread Jay Blanchard
[snip] SUM(IF(If FOO is this, return this number, else return a blank)) that looks like this really SUM(IF(RecordID = '100101', 1, '')) as min1 Which works correctly BUT, if the statement is false it does not show a blank cell in the worksheet, but a "0" (zero). I have tried stuff, 1, '\'' (escap

[PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Gary
Does anyone know of how to put a Word file on a web page without the user being able to save it to their hard drive? And also another issue of making it so they can't print it. Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help php MySql link

2002-05-03 Thread Rodrigo
Hi guys, what I need is how to make the link between the php and the Database. Is this the code for it? ro something like that? Help me guys... If you could tell me what each command line do I'd appreciate it, cause I got almost all from a friend, but is incomplete. The code follows this mes

Re: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 14:11, Gary wrote: > Does anyone know of how to put a Word file on a web page without the > user being able to save it to their hard drive? And also another issue > of making it so they can't print it. If they can read it, they can save it and print it. Nothing you can do to stop

[PHP] PHP vs JSP

2002-05-03 Thread Paras Mukadam
Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .class file and just runs it. i.e. the compiling is "just" the first time !! How does it work in PHP? Does PHP has any way to figure

[PHP] Re: PHP vs JSP

2002-05-03 Thread Michael Kimsal
Paras Mukadam wrote: > Dear all, > How is PHP similar to / different than JSP ? I mean, in JSP the page is > compiled the first time it runs on the web-browser, then the next time it > finds the .class file and just runs it. i.e. the compiling is "just" the > first time !! How does it work in PHP?

[PHP] IMG functions

2002-05-03 Thread Morten Nielsen
Hi, I got an IMG object on my page. It looks like: Is it somehow possible to specify a variable to be set when the user clicks the image? So 2 things are being done? Then it would looks something like: Is this somehow possible? Regards, Morten -- PHP General Mailing List (http://www.ph

[PHP] Re: Help php MySql link

2002-05-03 Thread George Nicolae
$db = ("localhost","databasename","databasepassword"); mysql_select_db("your name?",$db); $result = mysql_query("select column1, column2 from domain", $db); while ($myrow=mysql_fetch_array($result)) echo $myrow["column1"]." - ".$myrow["column2"].""; -- Best regards, George Nicolae IT Manager

[PHP] unexpected T_ISSET

2002-05-03 Thread Luke van Blerk
Hi Does anybody know what this means : Parse error: parse error, unexpected T_ISSET, expecting ',' or ';' in c:\program files\nusphere\apache\htdocs\trusctravel\index2.php on line 8 I've started using Apache on Windows 98 using PHP as a SAPI module. I was using Xitami but needed to use PHP_SE

[PHP] Ignore: unexpected T_ISSET

2002-05-03 Thread Luke van Blerk
Ignore this, I found the error but it was on line 20, not 8 like PHP told me. Anybody had that before? > Hi > > Does anybody know what this means : > > > Parse error: parse error, unexpected T_ISSET, expecting ',' or ';' in > c:\program files\nusphere\apache\htdocs\trusctravel\index2.php on line

Re: [PHP] Ignore: unexpected T_ISSET

2002-05-03 Thread Richard Baskett
Actually I've had that problem before, and once I made my linebreaks UNIX it told me the correct line I was having problems on and it's definitely an error to not ignore since there are problems with your code that you need to fix.. Rick "The only way to have a friend is to be one." - Ralph Wal

[PHP] Postnuke Anyone ?

2002-05-03 Thread Ricardo Fitzgerald
Hi, I've been unsuccesfully trying to add a php script to a postnuke menu. What I did is a simple form, that connects to a mysql database, and inserts data, then some data is retrieved to generate a page with "Welcome $name $lastname ... and so on" The problem is the script must be in the center

[PHP] Libxslt

2002-05-03 Thread Venu Reddy
Hi, I would like to hear from anybody using Libxslt with PHP. If you have been successful can you please send me some sample code. TIA, Venu Reddy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Virus I-Worm/Klez.H (Someone does not like me)

2002-05-03 Thread Steve Buehler
To find out about viruses, you might want to go to a site that deals in them, like http://www.mcafee.com Steve At 06:08 AM 5/3/2002, r wrote: >Hey all, >In the last 14 days i got 9 emails with this virus "I-Worm/Klez.H", though >my virus scanner detected it and told me to trash it, i am really

[PHP] Apache/PHP/Java problem

2002-05-03 Thread Richard Fox
I have Apache 1.3.24, PHP 4.2.0, and Java2SDK installed and working. My problem is, when I boot up and dispatch my phpTest.php script from my browser ".$formatter->format(new Java('java.util.Date')); phpinfo(); ?> I get an error message that the java .so is not found. I start ap

[PHP] XML creation / edit class?

2002-05-03 Thread David McInnis
I am looking for an extension / class that allow me to create and modify XML documents within PHP. I looked at the xml extensions packaged with PHP and it looks like these are used only for parsing XML. In addition to parsing the XML, I need to be able to add / edit and insert nodes. Best examp

Re: [PHP] mssql_prev_result()???

2002-05-03 Thread 1LT John W. Holmes
MSSQL doesn't support LIMIT. You can use TOP, like SELECT TOP 10, * FROM users. I think that's the syntax. I don't know if there is a way to say "return rows from 10 - 20" in MSSQL. ---John Holmes... - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "PHP-general" <[EMAIL

Re: [PHP] phpMyAdmin

2002-05-03 Thread 1LT John W. Holmes
$result = mysql_query("INSERT INTO table (email, login, password) VALUES ('$email','$login','$password')"); ---John Holmes... - Original Message - From: "Rodrigo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 12:58 PM Subject: [PHP] phpMyAdmin > Hi guys, I need

[PHP] Re: Postnuke Anyone ?

2002-05-03 Thread Kirk Babb
How about some code? "Ricardo Fitzgerald" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I've been unsuccesfully trying to add a php script to a postnuke menu. > What I did is a simple form, that connects to a mysql database, and > inserts data, then

RE: [PHP] I-worm/Klez and a GIF query/question

2002-05-03 Thread Maciej Uhlig
> -Original Message- > From: r [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 2:40 AM > To: [EMAIL PROTECTED] > Subject: [PHP] I-worm/Klez and a GIF query/question > I understand that the new version of PHP/GD or whatever does not > support GIF > and i also know for PNG or JPEG

RE: [PHP] I-worm/Klez and a GIF query/question

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 21:51, Maciej Uhlig wrote: > What you could do, is to produce ten digits [0..9] icons as gifs using > commercial software and then display them randomly using the best PHP > script :-) The only problem with that is that it would be pretty easy for a script to parse the page and

[PHP] php zip/store locator code.....

2002-05-03 Thread Andras Kende
Hello All, I looking for a zip / store locator based with php/mysql I find this 2 similar but no luck yet. http://px.sklar.com/author.html?author_id=296 http://www.sanisoft.com/ziploc/ Any where should I look around... Thank, Andras Kende -- PHP General Mailing List (http://www.php.n

[PHP] Create Picture Thumbnails On the gly with PHP

2002-05-03 Thread simos
Hi My Hosting Provider has'nt the GD lib in PHP enabled. Are threre any alternative to create jpg thumbnails in my site without the use of GD lib ?? Thanks in advance for your reply Regards Simos

Re: [PHP] Create Picture Thumbnails On the gly with PHP

2002-05-03 Thread John S. Huggins
ImageMagic works pretty well. You invoke their command line programs using the shell capabilities of PHP. "convert" is the particular command you want. On Fri, 3 May 2002, simos wrote: >-Hi >- >-My Hosting Provider has'nt the GD lib in PHP enabled. Are threre any alternative to >create jpg

Re: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Gary wrote: > Does anyone know of how to put a Word file on a web page without the user > being able to save it to their hard drive? And also another issue of making > it so they can't print it. This is 100% completely impossible. If you want to make data available but you do

Re: [PHP] PHP editing environment

2002-05-03 Thread Paul Roberts
install a webserver (apache?) on your machine and then set up server mappings in homesite so when you switch to browse in homesite your code is parsed. Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Pag" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP] IMG functions

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Morten Nielsen wrote: > I got an IMG object on my page. It looks like: > > > > Is it somehow possible to specify a variable to be set when the user clicks > the image? So 2 things are being done? Then it would looks something like: > > > > Is this somehow possible? Not s

Re: [PHP] I-worm/Klez and a GIF query/question

2002-05-03 Thread Kevin Stone
Then copy the GIFs into a PNG file and display that. Still using GIFs (cuz that's what the guy wants) but displaying PNG. - Original Message - From: "Stuart Dallas" <[EMAIL PROTECTED]> To: "Maciej Uhlig" <[EMAIL PROTECTED]>; "r" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May

Re: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread heinisch
At 03.05.2002 14:11, you wrote: >Does anyone know of how to put a Word file on a web page without the user >being able to save it to their hard drive? And also another issue of making >it so they can't print it. > >Thanks, Gary Aeh, -If one could see the content on a webpage, it has it already on

RE: [PHP] I-worm/Klez and a GIF query/question

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Stuart Dallas wrote: > The only problem with that is that it would be pretty easy for a script > to parse the page and pull out the images being used. You would be > better off finding out what the reasons are behind the request for GIFs > only. I can't think of a single reason

RE: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Jay Blanchard
[snip] >Does anyone know of how to put a Word file on a web page without the user >being able to save it to their hard drive? And also another issue of making >it so they can't print it. > >Thanks, Gary Aeh, -If one could see the content on a webpage, it has it already on it´s machine. Then it cou

RE: [PHP] I-worm/Klez and a GIF query/question

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 15:42, Miguel Cruz wrote: > There are browsers that are still in somewhat common use that cannot > gracefully display PNGs. Try IE 4.5 on a Mac, for instance. In that case, use JPEGs, or am I missing something? -- Stuart -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Jay Blanchard wrote: > You could make it into a PDF, and there is an option to not allow it to be > printed or saved when opened. But I can still do a screen print, or I can > use SnagIt and get a copy of it as a pic that I can print. If you don't want > people to print it or s

[PHP] Re: I-worm/Klez and a GIF query/question

2002-05-03 Thread Hugh Bothwell
"R" <[EMAIL PROTECTED]> wrote in message 007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn">news:007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn... > at the end of the form he wants a "key" gif...(A gif with a number) > that is automatically generated and that number has to be entered into the > text

Re: [PHP] Re: I-worm/Klez and a GIF query/question

2002-05-03 Thread Jason Wong
On Saturday 04 May 2002 04:58, Hugh Bothwell wrote: > "R" <[EMAIL PROTECTED]> wrote in message > 007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn">news:007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn... > > > at the end of the form he wants a "key" gif...(A gif with a number) > > that is automatically

RE: [PHP] Help php MySql link

2002-05-03 Thread John Holmes
> $db = ("localhost","databasename","databasepassword"); maybe add in a MySQL_connect() somewhere in there??? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php zip/store locator code.....

2002-05-03 Thread John Holmes
Try this: http://www.phpclasses.org/browse.html/package/522.html ---John Holmes... > -Original Message- > From: Andras Kende [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 1:23 PM > To: [EMAIL PROTECTED] > Subject: [PHP] php zip/store locator code. > > Hello All, > > I lo

RE: [PHP] ODBC number of rows?

2002-05-03 Thread Andrew Hill
Brian, This returns -1 for most drivers in a Select, but should return appropriate info in an Update, Alter, Insert, etc. If you need the feature when returning rows of data, you may simply create a loop and increment a counter variable as you iterate over the result se5t. Best regards, Andrew

Re: [PHP] Re: I-worm/Klez and a GIF query/question

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Hugh Bothwell wrote: > NOTE that for someone sufficiently persistent, they could still > pattern-match the generated image to retrieve the number and > auto-register that way. (I could write a PHP file to do that, too :-) The standard procedure is to vary the offset, rotation

[PHP] php_network_getaddresses

2002-05-03 Thread Julian
Hey All, I get the following error: Warning: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/home/roshi/htdocs/includes/rightcont_nanciesorg.inc.php on line 57 Warning: fopen("http://www.nancies.org/news/rss/","r";) - Bad file descriptor in /usr/home/rosh

Re: [PHP] php_network_getaddresses

2002-05-03 Thread Miguel Cruz
nslookup is not a good exclusive tool for testing local resolver problems, because it may do its own resolution. Try just pinging www.nancies.org from the command line. miguel On Fri, 3 May 2002, Julian wrote: > Hey All, > I get the following error: > > Warning: php_network_getaddresses: geta

Re: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Mike Eheler
... which still doesn't stop you from taking screenshots of the pages, and printing those. Mike Jay Blanchard wrote: > [snip] > >>Does anyone know of how to put a Word file on a web page without the user >>being able to save it to their hard drive? And also another issue of making >>it so they

[PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
Hey PHP General List, I have code like this(code starts at 100 line and has lots of outputs): if($news==del) { if(!$nr) { show_news_menu(); show_news_del(); } else if($nr) { if($do_del) { $online = @mysql_connect($d

[PHP] Another doubt in Solaris-PHP install

2002-05-03 Thread Emiliano Marmonti
Hi people, I've downloaded gcc package, make package and libtool package for proper compiling. I have finished the config process. When I try to make appears: libtool: ar not found make[1] Error 1 But I can invoke libtool I'm using Solaris 8 under a SPARC machine Thanks a lot. -

Re: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis

2002-05-03 Thread Mike Eheler
In .htaccess: auto_prepend_file "/dev/null" auto_append_file "/dev/null" Mike Stefen Lars wrote: > Usually, I use the Apache directive to add the prepend option. > > I already tried setting another prepend option in the apache directives, > but it seems one does not overwite the other. I trie

Re: [PHP] if cant use header what should i use? or how to dothis?

2002-05-03 Thread Jason Soza
I think it's because you need an absolute URL in there as opposed to the relative one you're using, i.e. "Location: http://www.example.com/menu?pg=news"; Try that, and try looking here: http://www.php.net/manual/en/function.header.php HTH, Jason Soza - Original Message - From: Mantas

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
It's possible, but is it really recommended? Wouldn't the .htaccess/.htpasswd file have to be owned by the apache user, which might leave it open to being overwritten by any kind of a weak/exploitable script? Mike Josh & Valerie McCormack wrote: > I've used the script phtaccess, which I think

[PHP] SQL session handler problem

2002-05-03 Thread Trond Arve Nordheim
Hi! I just wrote a SQL session handler class using some info from the example at http://gateway.digitaria.com/~chris/php/mysql_session_handler/. And.. everything works perfectly, until I attempt to set a session variable, and the custom write function get's executed. It seems that the data param

[PHP] Re: SQL session handler problem

2002-05-03 Thread Trond Arve Nordheim
On Sat, May 04, 2002 at 01:10:14AM +0200, Trond Arve Nordheim wrote: > $session->setHandler(); /* This will define session handlers */ That's $session->setHandler($session) of course.. getting tired here ;) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security."

Re[2]: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
Hey PHP General List, well i cant do that...because i have lots of outputs before it..and i need them all..so..what should i do? error is like that: Warning: Cannot add header information - headers already sent by (output started at C:\webaz\st\admin\menu.php:26) in C:\webaz\st\admin\menu.php o

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread serj
You could use fopen() to connect to the file via ftp therefore keeping the .htaccess file owned by the user for increased security. Josh Boughner On Fri, 3 May 2002, Mike Eheler wrote: > It's possible, but is it really recommended? Wouldn't the > .htaccess/.htpasswd file have to be owned by t

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread Miguel Cruz
Thus leaving the FTP account's password in view of the httpd, which is even worse... miguel On Fri, 3 May 2002, serj wrote: > You could use fopen() to connect to the file via ftp therefore keeping > the .htaccess file owned by the user for increased security. > > Josh Boughner > > On Fri, 3

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Mantas Kriauciunas wrote: > I have code like this(code starts at 100 line and has lots of > outputs): >Header("Location: menu?pg=news"); << wrong > i have problem with Header, how should i change it? any suggestions? > is there any other function

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread serj
Im not exactly sure why that is worse, could you elaborate a little? Josh On Fri, 3 May 2002, Miguel Cruz wrote: > Thus leaving the FTP account's password in view of the httpd, which is > even worse... > > miguel > > On Fri, 3 May 2002, serj wrote: > > You could use fopen() to connect to the

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Michael Kimsal
Mantas Kriauciunas wrote: because i have lots of outputs before it..and i need them all..so..what should i do? If you need them, why are you redirecting away from them? You can't 'need' to display something and simultaneously 'need' to redirect away from that same something. Michael Kims

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
You also can't overwrite files using the fopen() method. You'd need to FTP in, then delete the file, then fopen() it.. or just do the whole thing in one FTP session (write to a temp file, upload it, erase the temp file). Mike Miguel Cruz wrote: > Thus leaving the FTP account's password in vie

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
If someone can overwrite your .htaccess there's a chance they can also view files through the same exploit (possibly). They could then get your FTP login info, and do a lot more damage than just removing password access to an area. Mike Serj wrote: > Im not exactly sure why that is worse, cou

[PHP] Function library

2002-05-03 Thread Mrdini
Hi folks, I have a function library, which I'd like to alter for my purposes, to allow PNG images to be stored. The only problem is I can't make head nor tails of the code. It does not seem to call any GD functions, even though it says it's supposed to. Could anyone explain basically what this

RE: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread John Holmes
>else if($do_cancel) { >Header("Location: menu?pg=news"); << wrong Why can't you just check for $do_cancel at the beginning of the script. If you really have to re-direct to another page, why do you have to ouput anything before hand? It's not going to

RE: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread John Holmes
Except that the file can't exist. If it does, fopen() will cause an error. You can use ftp_connect() instead...as per the MANUAL. ---John Holmes... > -Original Message- > From: serj [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 5:24 PM > To: Mike Eheler > Cc: [EMAIL PROTECTED]

Re: [PHP] php/.htaccess/.htpasswd

2002-05-03 Thread serj
Being that the files are owned by their respective users, I would imagine that would make it pretty difficult for the .htaccess file to be overwritten, if someone found a way to overwrite the file couldn't that person overwrite any file owned by the ftp user anyway? also I don't see how someon

Re: [PHP] Re: I-worm/Klez and a GIF query/question

2002-05-03 Thread r
Hey, Thanks for replying, Do you by any chance have the code or functions that i can use to do this? even to output on jpeg should be ok. Cheers, -Ryan - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 2:21 PM Subject: Re: [PHP]

Re[2]: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
Hey 'PHP General List', Got your email on:Friday, May 03, 2002, 7:59:29 PM writing: : >>else if($do_cancel) { >>Header("Location: menu?pg=news"); << wrong JH> Why can't you just check for $do_cancel at the beginning of the script. JH> If you reall

Re: [PHP] Another doubt in Solaris-PHP install

2002-05-03 Thread Billy S Halsey
Emiliano, Make sure that /usr/ccs/bin is in your path. That's where ar(1) lives. /bsh/ Emiliano Marmonti wrote: >Hi people, >I've downloaded gcc package, make package and libtool package for proper compiling. >I have finished the config process. >When I try to make appears: > >libtool: ar not

[PHP] Re: XML creation / edit class?

2002-05-03 Thread Manuel Lemos
Hello, David McInnis wrote: > I am looking for an extension / class that allow me to create and modify > XML documents within PHP. I looked at the xml extensions packaged with > PHP and it looks like these are used only for parsing XML. > > In addition to parsing the XML, I need to be able to a

[PHP] I want to use a mailer other than sendmail

2002-05-03 Thread Alex Shi
Hi, I am using PHP 4.0.4pl1 on RH 7.0. I know PHP uses sendmail as it's default mailer. However on my system sendmail has never been working well. So I am thinking that if it is possible to configure php to use my ISP's SMTP server instead of using the sendmail. Any one can help me out how to d

RE: [PHP] I want to use a mailer other than sendmail

2002-05-03 Thread John Holmes
>From php.ini: [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only ;sendmail_path = Enter the name of your SMTP server on the first line, instead of localhost. If you use mindspring, for

RE: [PHP] I want to use a mailer other than sendmail

2002-05-03 Thread Rasmus Lerdorf
Uh, John, note the "for win32 only" in your reply, then note the "RH7.0" in the question. Alex, the real answer is to just turn your sendmail into a SMTP passthrough. It is dead simple to do. Locate your sendmail.cf file. (Yeah, I can already hear the screams of anguish, but this file isn't act

Re: [PHP] I want to use a mailer other than sendmail

2002-05-03 Thread Alex Shi
Thank you, Rasmus. I am going to try your way right away.. Alex > Alex, the real answer is to just turn your sendmail into a SMTP > passthrough. It is dead simple to do. Locate your sendmail.cf file. > (Yeah, I can already hear the screams of anguish, but this file isn't > actually all tha

[PHP] Re: I want to use a mailer other than sendmail

2002-05-03 Thread Manuel Lemos
Hello, Alex Shi wrote: > Hi, > > I am using PHP 4.0.4pl1 on RH 7.0. I know PHP uses sendmail as it's default > mailer. However on my system sendmail has never been working well. So > I am thinking that if it is possible to configure php to use my ISP's > SMTP server instead of using the sen

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread serj
The way I designed the script was so that each time they want to save changes to their htaccess file through the script they have to enter their password. So I never have to actually save the password anywhere in the script. On Fri, 3 May 2002, Mike Eheler wrote: > The problem is not in them be

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
The problem is not in them being able to overwrite the .htaccess *and* getting your FTP password.. those are the cons for both solutions we have presented, respectfully. Right now the ideal solution seems to be this: save new .htaccess to a temp file save new .htpasswd to a temp file use PHP's

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
Ahh. I didn't really consider that. Excellent idea. Mike On Fri, 2002-05-03 at 21:58, serj wrote: > The way I designed the script was so that each time they want to save > changes to their htaccess file through the script they have to enter their > password. So I never have to actually save the

[PHP] Apache-2.0.35 + 4.2.0RC4: not seeing index.php

2002-05-03 Thread David Jackson
I'm trying to trouble shoot a problem with a site hosted on a local ISP. They're running Slackware-8.0,apache-2.0.35 and PHP4.2.0RC4 and virtual hosting? The problem is the site not seeing index.php as default directory index? The SA assured me that both the DirectoryIndex and AddType are setup u

Re: [PHP] Re: Postnuke Anyone ?

2002-05-03 Thread Ricardo Fitzgerald
> How about some code? > > > Here is the code   INTEGRACION REGIONAL  LA HACE QUIEN TRABAJATEXTO   UNIDOS E INTEGRADOS  ELEGIMOS NUESTRO DESTINOTEXTO   Registrarse  Nombre Apellido País ArgentinaBrasilBoliviaChileParaguayUruguay Email Alia

[PHP] Displaying contents of MySQL Table {!?}

2002-05-03 Thread Liam MacKenzie
Hi all, got a problem here... This bit of script works, but it displays the results the wrong way. I have to scroll to the end of the page to see the last bit of data entered into the database, I want the last bit of data entered to be displayed first. $date $comment "; } } ?> Is

Re: [PHP] Displaying contents of MySQL Table {!?}

2002-05-03 Thread Jason Wong
On Friday 03 May 2002 15:08, Liam MacKenzie wrote: > Hi all, got a problem here... > > This bit of script works, but it displays the results the wrong way. Computers are never wrong. They just do what they are told. > I have to scroll to the end of the page to see the last bit of data entered >

<    1   2