Re: [PHP] new line function

2004-09-01 Thread John Holmes
Curt Zirzow wrote: $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring); on retrosopect.. reading into that regex i get: unix: sets the standard to use \n windows: can't really decide on \r or \n so just uses them both mac: goes oposite of everybody and used \r instead. It seems OS's can simply be d

Re: [PHP] new line function

2004-09-01 Thread Curt Zirzow
* Thus wrote Curt Zirzow: > * Thus wrote John Holmes: > > Tonny Robertus wrote: > > > > >is there any function to replace \n to that we can see the results in > > >html source code (not in preview)? > > > > $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring); on retrosopect.. reading into that

Re: [PHP] new line function

2004-09-01 Thread Curt Zirzow
* Thus wrote John Holmes: > Tonny Robertus wrote: > > >is there any function to replace \n to that we can see the results in > >html source code (not in preview)? > > $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring); again.. your the master of perfection :) unix, dos, mac.. no matter, it s

Re: [PHP] General copyright question

2004-09-01 Thread Curt Zirzow
* Thus wrote Kevin: > Hi there, > > I have seen some scripts that are copyrighted and one can not modify or use > it for purpose. There are many variations in the conditions. My questions > are... > > 1) Are these scripts legally copyrighted. I mean do we need to register the > script at some off

Re: [PHP] new line function

2004-09-01 Thread John Holmes
Tonny Robertus wrote: is there any function to replace \n to that we can see the results in html source code (not in preview)? $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring); -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Pr

[PHP] new line function

2004-09-01 Thread Tonny Robertus
hi, is there any function to replace \n to that we can see the results in html source code (not in preview)? i tried nl2br, str_replace, and ereg_replace. but all of them work just in page preview. when i looked in page source, the strings remain the same. here i enclose strings i got in page

RE: [PHP] General copyright question

2004-09-01 Thread Ed Lazor
Google: "how to copyright" > -Original Message- > From: Kevin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 8:41 PM > To: [EMAIL PROTECTED] > Subject: [PHP] General copyright question > > Hi there, > > I have seen some scripts that are copyrighted and one can not modi

[PHP] General copyright question

2004-09-01 Thread Kevin
Hi there, I have seen some scripts that are copyrighted and one can not modify or use it for purpose. There are many variations in the conditions. My questions are... 1) Are these scripts legally copyrighted. I mean do we need to register the script at some office or what? 2) If yes how can I ma

Re: [PHP] print at a specific time

2004-09-01 Thread Brent Clements
Sorry forgot to enclose the variable values. doh! I needs more coffee! -Brent - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "Brent Clements" <[EMAIL PROTECTED]> Cc: "devil_online" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 10:12 PM Sub

Re: [PHP] print at a specific time

2004-09-01 Thread John Holmes
Brent Clements wrote: $minute = 01; Be careful with the leading zeros... that's interpreted as an Octal number by PHP, but Octal 1 == Decimal 1 in this case. :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.p

Re: [PHP] print at a specific time

2004-09-01 Thread Brent Clements
- Original Message - From: "devil_online" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 9:05 PM Subject: Re: [PHP] print at a specific time > and to print at minutes too, kije 9h01? > > thanks > "John Holmes" <[EMAIL PROTECTED]> wrote in message > new

RE: [PHP] Re: mail() function problem

2004-09-01 Thread Lone Wolf
What you need to do is set your SMTP server inside the php.ini file... [mail function] SMTP = smtp.server.com ; for win32 only sendmail_from = [EMAIL PROTECTED] ; for win32 only ;sendmail_path = ;for unix only, may supply arguments as well ; (default is sendmail -t) The test string I used t

Re: [PHP] Re: mail() function problem

2004-09-01 Thread Pahlevanzadeh Mohsen
If you use Windows as your server,You must install M$Exchange server.It is a mailserver under Windows. Of course,If you want to install Linux,I can help u. It has benefit for u. Even i made a group on yahoo "phplovers". You can join to my group & will get help. It has 56 members. My email address i

Re: [PHP] print at a specific time

2004-09-01 Thread devil_online
and to print at minutes too, kije 9h01? thanks "John Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > devil_online wrote: > > > Hi, I want to print or echo something in a specific time like 9.pm. > > how can i do it? > > if(date('H')==21) > { echo "'tis 9pm and all is well?";

Re: [PHP] print at a specific time

2004-09-01 Thread John Holmes
devil_online wrote: Hi, I want to print or echo something in a specific time like 9.pm. how can i do it? if(date('H')==21) { echo "'tis 9pm and all is well?"; } -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.php

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Jason Wong
On Thursday 02 September 2004 08:30, blackwater dev wrote: > the date is a very good question? Here is the info from my system > > -rwxr-xr-x1 root root 1371932 Sep 1 19:50 /usr/bin/php > > Not sure why its showing that date - Apache has been restarted. But that's probably your php-

Re: [PHP] PHP Cached Templates

2004-09-01 Thread raditha dissanayake
rogue wrote: On Sep 1, 2004, at 12:01 AM, raditha dissanayake wrote: charles kline wrote: On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote: rogue wrote: Sorry if this is the wrong place for this post. I am having problems where PHP templates that I modify via ftp are not showing changes for

[PHP] Need direction on PHP-CLI MUD Server

2004-09-01 Thread Don Myers
Hello, I have been banging my head trying to figure out how to design a MUD Server using PHP-CLI as the server and PHP-CLI as the "command" language. (telnet front end at this point) I have found the great Pear Net_Server which seems to work really good for Alpha and the Forking Mode is great to r

Re: [PHP] phpbb multiforums

2004-09-01 Thread raditha dissanayake
Xongoo!com: Central unit wrote: Holla friends, I have a code which separates phpBB forums, but run into problems because of cookies when *switching between forums*. Should I get rid of cookies entirely (I am rewriting entire code to passing $forum variable) or something may be done (still I am lear

Re: [PHP] Handling XML output in a slim way

2004-09-01 Thread raditha dissanayake
Markus Fischer wrote: Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('%s', makeXmlSave($name), makexmlSave($contentOfItem)); [...] makeXmlSave() makes sure that quotes, ampersand, < and > are properly esc

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Jennifer Goodie
-- Original message from blackwater dev : -- > the date is a very good question? Here is the info from my system > > -rwxr-xr-x 1 root root 1371932 Sep 1 19:50 /usr/bin/php > > Not sure why its showing that date - Apache has been restarted. > Are you sure apache i

[PHP] print at a specific time

2004-09-01 Thread devil_online
Hi, I want to print or echo something in a specific time like 9.pm. how can i do it? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
the date is a very good question? Here is the info from my system -rwxr-xr-x1 root root 1371932 Sep 1 19:50 /usr/bin/php Not sure why its showing that date - Apache has been restarted. On Wed, 01 Sep 2004 22:29:41 +, Jennifer Goodie <[EMAIL PROTECTED]> wrote: > --

[PHP] My problem

2004-09-01 Thread Pahlevanzadeh Mohsen
Dears, My mysqld is up. I inserted mohsen as username,& md5 of mohsen as password. I have mem as bank.usernames as my table.& i have user & pass as my fields. i inserted mohsen as user & md5 of it as pass. It are meaning : mohsen : 80393af8b3d99736c8b0d49d9a9da4ffxxx But my code isn't work: "; ec

Re: [PHP] Re: mail() function problem

2004-09-01 Thread Pahlevanzadeh Mohsen
Please switch to a UNIX box.For example Fedora. Because it has everythings that you need. --- Dre <[EMAIL PROTECTED]> wrote: > I'm using an Apache server .. doesn't it come with a > sendmail program ?? > I really don't know > > "Jasper Howard" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL

Re: [PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread Ben Tew
On Wed, 1 Sep 2004 13:28:24 -0400 "John Holmes" <[EMAIL PROTECTED]> wrote: From: "Btew" <[EMAIL PROTECTED]> I need a php server side image map script. Or rather a script that will examine x,y coords and determine if they could fall within any of a number of area polygon or rect tags. Then you

Re: [PHP] Function Problem

2004-09-01 Thread Jim Grill
> I'm having a problem with a php application; > > I have two files: one is ccadduser wich adds users to a controlcenter > that I am currently designing for a website. > > In that ccaduserfile I call for a function checkpermission(); this > function is defined in another file called ccfunctions > >

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread James Kaufman
On Wed, Sep 01, 2004 at 04:39:51PM -0400, blackwater dev wrote: > I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds > It all appears to compile correctly, except the info page does not > reflect the config was done with mssql at all. below is a snippet of > the confi

Re: [PHP] mail() function problem

2004-09-01 Thread James Kaufman
On Wed, Sep 01, 2004 at 06:09:04PM +0300, Dre wrote: > Hi > I was trying to use the mail() function, but it did not work, maybe because > of some settings problem or something that I can't figure out > > I went online and tried to execute the following > //=

Re: [PHP] mail() function problem

2004-09-01 Thread Pahlevanzadeh Mohsen
Please install a mailserver until your SMTP server will be up. When your SMTP server is down,mail func doesn't work. My suggesstion: Please work under UNIX systems. Yours,Mohsen --- Dre <[EMAIL PROTECTED]> wrote: > Hi > I was trying to use the mail() function, but it did > not work, maybe because

[PHP] Re: mail() function problem

2004-09-01 Thread Jasper Howard
i use apache on my windows xp machine and have never gotten around to settings up any kind of sendmail program, I'm pretty sure you have to download one or atleast its some extra configuration. -- -->> Jasper Howard :: Database Adminis

Re: [PHP] importing DBF data into mysql

2004-09-01 Thread Thornton
This is probably what your looking for http://www.coolnet.cz/miro/dbf2mysql/dbf2mysql.tar.bz2 It should handle your needs On Wed, 2004-09-01 at 14:08, PHP Junkie wrote: > Ave, > > Is there a PHP script that is able to import or convert DBF data into mySQL > tables? > > I need to get my DBF da

[PHP] Re: mail() function problem

2004-09-01 Thread Dre
Sorry .. but I'm really so new at this I'm using Apache Server on a MS Windows XP Pro. OS, and I'm trying to send a mail through a form .. what do I need to install or configure to be able to do this. thanks in advance "Dre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Jennifer Goodie
-- Original message from blackwater dev : -- > I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds > It all appears to compile correctly, except the info page does not > reflect the config was done with mssql at all. below is a snippet of >

[PHP] Re: mail() function problem

2004-09-01 Thread Dre
I'm using an Apache server .. doesn't it come with a sendmail program ?? I really don't know "Jasper Howard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > do you have a sendmail program on your testing server? > > -- > > > --

[PHP] Re: Function Problem

2004-09-01 Thread Jasper Howard
the checkpermission(); function should be run before php can pharse anything farther down the script, try putting an exit; after the header() statement. -- -->> Jasper Howard :: Database Administration Velocity7 1.530.470.9292 http://w

[PHP] Re: mail() function problem

2004-09-01 Thread Jasper Howard
do you have a sendmail program on your testing server? -- -->> Jasper Howard :: Database Administration Velocity7 1.530.470.9292 http://www.Velocity7.com/ <<-- "Dre" <[EMAIL P

[PHP] Function Problem

2004-09-01 Thread Matthias Bauw
I'm having a problem with a php application; I have two files: one is ccadduser wich adds users to a controlcenter that I am currently designing for a website. In that ccaduserfile I call for a function checkpermission(); this function is defined in another file called ccfunctions When a user do

RE: [PHP] xml tags interfere with php tags

2004-09-01 Thread Justin Palmer
Hi, print ''; Regards, Justin -Original Message- From: Josh Close [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 11:08 AM To: PHP Subject: [PHP] xml tags interfere with php tags How do I get an xml tag to work with a php script? php is trying to parse that. -Josh

[PHP] importing DBF data into mysql

2004-09-01 Thread PHP Junkie
Ave, Is there a PHP script that is able to import or convert DBF data into mySQL tables? I need to get my DBF data into mySQL and PHPMyAdmin couldn't handle it. Another problem I have is I'm running a MAC OS X... There is a very simple and efficient DBF2MYSQL program for windows but not for MAC.

[PHP] mail() function problem

2004-09-01 Thread Dre
Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following //=== //=

[PHP] mail() function problem

2004-09-01 Thread Dre
Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following //=== //=

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Ben Ramsey
Just try --with-mssql=/usr/include instead. Is that where freetds is installed for you? I think it's in /usr/local for me, so I use --with-mssql=/usr/local. Blackwater Dev wrote: I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds It all appears to compile correctly,

Re: [PHP] stream wrappers

2004-09-01 Thread jarell
I do check it for a limit, there's lots of other code that doesn't really involve checking to see whether a file was completely downloaded by a client. This doesn't too because the $location in one of the funcs. would be empty, but I think the main part is there. Is there some way to control whe

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds It all appears to compile correctly, except the info page does not reflect the config was done with mssql at all. below is a snippet of the config switches that were used. --enable-ftp \ --enable-magi

Re: [PHP] Re: register global off

2004-09-01 Thread Marek Kilimajer
$_POST, not $POST Afan Pasalic wrote: I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the example I wrote still

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Matt M.
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close <[EMAIL PROTECTED]> wrote: > How do I get an xml tag to work with a php script? > > > > php is trying to parse that. you could just echo it at the top ';?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Re: register global off

2004-09-01 Thread John Nichel
Afan Pasalic wrote: I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the example I wrote still doesn't work: nam

Re: [PHP] stream wrappers

2004-09-01 Thread John Holmes
From: "jarell" <[EMAIL PROTECTED]> Here's my db_update function then your code with some mods: function update_db($location) { require_once('/usr/home/doc/mysqlconnect.php'); $query = "SELECT dl_count FROM downloads WHERE filelocation = '$location'"; $result = mysql_query($query); $dl_count = mys

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
We just tried again with the -mssql switch but it still doesn't seem to be therethe -mssql isn't on the info page...I don't have a clue... http://mwvre.ht-tech.net/info.php On Wed, 01 Sep 2004 15:08:41 -0400, Ben Ramsey <[EMAIL PROTECTED]> wrote: > Like I and others have said, you need to com

Re: [PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread John Holmes
From: "Ben Tew" <[EMAIL PROTECTED]> So what I essentially need is a PHP client side image map script, because the final data will go to other PHP scripts. No, what you need is a client side image map which is unrelated to PHP. People actually use image maps? Do you really think you're hiding the

Re: [PHP] Re: register global off

2004-09-01 Thread John Holmes
From: "Afan Pasalic" <[EMAIL PROTECTED]> After submitting $HTTP_POST_VARS['SubmitForm'] has value 'Submit' and $POST['SubmitForm'] is empty. Because it's $_POST and not $POST? If that's just at typo, check your code for typos, too. Did you ever tell us what version of PHP you're using? ---John H

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
When I run it from the command line it works. But if I run it through Apache it does not work. Tim John Holmes wrote: From: "Tim Wolgemuth" <[EMAIL PROTECTED]> This is the way that the customer waits to do it. Here is the sample code that is being included: print "this is a test2"; ?> Well

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Comex
'?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread John Holmes
From: "M. Sokolewicz" <[EMAIL PROTECTED]> Josh Close wrote: How do I get an xml tag to work with a php script? php is trying to parse that. -Josh turn OFF short_open_tag in php.ini, or using the PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're using that). or echo ''; or '?>

Re: [PHP] PHP Cached Templates

2004-09-01 Thread rogue
On Sep 1, 2004, at 12:01 AM, raditha dissanayake wrote: charles kline wrote: On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote: rogue wrote: Sorry if this is the wrong place for this post. I am having problems where PHP templates that I modify via ftp are not showing changes for like 1 minut

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
I'll do something similar to this. I don't want to have to turn short tags off :P -Josh On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski <[EMAIL PROTECTED]> wrote: > > > > How do I get an xml tag to work with a php script? > > > > > > > > php is trying to parse that. > > ' ?> > > ugly, huh

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Steve Edberg
At 1:08 PM -0500 9/1/04, Josh Close wrote: How do I get an xml tag to work with a php script? php is trying to parse that. -Josh You probably want to turn the short-open-tags option off, so PHP doesn't recognize the As they say on http://us4.php.net/basic-syntax the use of short-tags i

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Larry E . Ullman
How do I get an xml tag to work with a php script? php is trying to parse that. Either turn off the Short Tags setting in your php.ini file or have PHP echo out that line. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Ben Ramsey
Just do it like this: '; ?> Josh Close wrote: How do I get an xml tag to work with a php script? php is trying to parse that. -Josh -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for mor

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
Afan Pasalic wrote: I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables This just means that they don't occupy the same space

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Michal Migurski
How do I get an xml tag to work with a php script? php is trying to parse that. ' ?> ugly, huh? I'm not sure if there is a better way, but I use the above to prevent erroneous PHP parsing of xml declarations regardless of short_open_tags setting, and to keep my text editor's syntax highlighting

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
On Wed, 2004-09-01 at 14:05, Afan Pasalic wrote: > I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. > > php.net manual: Note that $HTTP_POST_VARS and $_POST are different > variables and that PHP handles them as such > http://us4.php.net/reserved.variables > > ? > >

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
I was hoping there was another way around it. if not, I could do that I guess. -Josh On Wed, 1 Sep 2004 14:06:18 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: > The simplest answer is to either turn off short tags or change the short tag > which php uses. > > You can do either by editin

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Ben Ramsey
Like I and others have said, you need to compile PHP --with-mssql Blackwater Dev wrote: No, I was using the mssql functions which I want to use. I tried the dbx functions example: $link = dbx_connect('mssql', $mssqldbhost,"",$mssqldbuser,$mssqldbpass); but go the error that the mssql module isn't l

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
I think I am a little bit "confused" about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the example I wrote still doesn't work: name After submittin

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread M. Sokolewicz
Josh Close wrote: How do I get an xml tag to work with a php script? php is trying to parse that. -Josh turn OFF short_open_tag in php.ini, or using the PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're using that). -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
No, I was using the mssql functions which I want to use. I tried the dbx functions example: $link = dbx_connect('mssql', $mssqldbhost,"",$mssqldbuser,$mssqldbpass); but go the error that the mssql module isn't loaded. On Wed, 1 Sep 2004 14:06:55 -0400, John Holmes <[EMAIL PROTECTED]> wrote: > Fr

Re: [PHP] stream wrappers

2004-09-01 Thread jarell
Here's my db_update function then your code with some mods: function update_db($location) { require_once('/usr/home/doc/mysqlconnect.php'); $query = "SELECT dl_count FROM downloads WHERE filelocation = '$location'"; $result = mysql_query($query); $dl_count = mysql_result($result, 0, "dl_count"); $

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
Sorry guys, my mistake: This thing doesn't work: if(isset($HTTP_POST_VARS['SubmitForm']) == 'Submit') i added isset() on wrong place. Thanks to everybody! Afan Afan Pasalic wrote: That's exactly what I did. I overwrite the existing .htaccess with "my" (that has php_flag register_global off) in roo

Re: [PHP] register global off

2004-09-01 Thread Afan Pasalic
In Local Value column is shown Off. that means it is Off ? Aha. Sorry, didn't know that one. Thanks John. Afan John Holmes wrote: From: "Afan Pasalic" <[EMAIL PROTECTED]> Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpi

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
That's exactly what I did. I overwrite the existing .htaccess with "my" (that has php_flag register_global off) in root directory of my web site (actually: /client/home/afan/docs/.htaccess - place where my web site is stored). And I have a permission and it really overwrote the existing .htacce

Re: [PHP] register global off

2004-09-01 Thread John Holmes
From: "Afan Pasalic" <[EMAIL PROTECTED]> Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpinfo() it shows me Master value for register_global: On an .htaccess change would show up in the Local Value column, not the Master Value

Re: [PHP] stream wrappers

2004-09-01 Thread John Holmes
- Original Message - From: "jarell" <[EMAIL PROTECTED]> To: "John Holmes" <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 2:05 PM Subject: Re: [PHP] stream wrappers Does the stream_open function in your example actually check if the file has already been downloaded? No... I don'

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
On Wed, 2004-09-01 at 12:37, Afan Pasalic wrote: > Me again with same thing. > I added to > .htaccess php_flag register_globals off > but it still doesn't work. > When I list phpinfo() it shows me Master value for register_global: On > On my local computer (localhost) it shows me Off. > I need it

[PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
How do I get an xml tag to work with a php script? php is trying to parse that. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Dan Joseph
Hmm, I do see the MS SQL listed under DBX, but I don't see the --with=mssql in the configure line. Only psql and mysql. Does that need to be in there also? -Dan Joseph > -Original Message- > From: blackwater dev [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 1:19 PM > T

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread John Holmes
From: "blackwater dev" <[EMAIL PROTECTED]> I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get t

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Jennifer Goodie
-- Original message from blackwater dev : -- > I need some help...I am helping a local business with a site which > needs to connect to a mssql db, my webhost uses linux and compiled php > with the freetds library and when I go to the info page..it does show > Microsoft

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Marek Kilimajer
blackwater dev wrote: I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get the errors "called to

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Frank M. Kromann
Hi, You should compile php with this option --with-mssql or --with-mssql=/path/to/freetds. This will enable the mssql extension. Enabling the DBX extension is not enough. DBX is just a wrapper arround other extensions. You still need to compile each of these extensions. - Frank > I need some h

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
Actually, I think I read your message wrong... it should be: php_flag register_globals Off Ben Ramsey wrote: The Master value will remain On since it's On in php.ini and the Local value (the value for the directory in which phpinfo() is run) will be Off since that directory has an .htaccess file

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
The Master value will remain On since it's On in php.ini and the Local value (the value for the directory in which phpinfo() is run) will be Off since that directory has an .htaccess file turning register_globals Off. If you want to affect all of your sites, change the setting in php.ini or in

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
All right, so I did something smart for a change... I went to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and grabbed pcre 4.5 and installed it. My distro has the RPMs for pcre 3.9 installed, so I don't know what the problem was, but I configured PHP --with-pcre-regex=/usr/local after

[PHP] register global off

2004-09-01 Thread Afan Pasalic
Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpinfo() it shows me Master value for register_global: On On my local computer (localhost) it shows me Off. I need it to be Off. I tryed with: php_value register_globals 0 doesn't

Re: [PHP] Re: [PHP5]__get, __set and isset()

2004-09-01 Thread Marek Kilimajer
Catalin Trifu wrote: Hi, Is this really a bug. I think not. There is no variable $o->a or $a->b in the class OO there is only the variable $elem and $a and $b is a member of that array So ... The fact that PHP5 provides __set and __get magic functions does not mean that the

Re: [PHP] Re: Broken data within an Array

2004-09-01 Thread Comex
That still makes no sense.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MSSQL, PHP and Linux

2004-09-01 Thread Ben Ramsey
If freetds has been compiled and installed in the default location for it (/usr/local), then php needs to be configured --with-mssql=/usr/local Blackwater Dev wrote: I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compil

Re: [PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread John Holmes
From: "Btew" <[EMAIL PROTECTED]> I need a php server side image map script. Or rather a script that will examine x,y coords and determine if they could fall within any of a number of area polygon or rect tags. Then you'll have $_REQUEST['myimage_x'] and $_REQUEST['myimage_y'] as the coordinates

[PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get the errors "called to undefined function mss

Re: [PHP] Please, Refresh Your Paypal Account

2004-09-01 Thread Felix
omg. what a bad phishing attempt. perhapse someone should try to php or sql inject the phishing site ;) On Tue, 31 Aug 2004 19:45:24 -0400, Paypal Services <[EMAIL PROTECTED]> wrote: > Sign Up | Log In | Help > > Dear PayPal Customer > > This e-mail is the notification of recent innovations tak

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
Still having the same problem with PCRE. Here's the error I get now: -c /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c: In function `php_pcre_match': /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: `PCRE_INFO_NAMECOUNT' undeclared (fir

[PHP] Adding a realtime monitoring console

2004-09-01 Thread Kelly Hallman
I'm developing a web-based framework ("the application") and would like to implement an ncurses-based realtime monitoring facility ("the console"). The application currently writes events to a database history table, but I don't think having a console that constantly requeries that table would be

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Curt Zirzow
* Thus wrote Ben Ramsey: > I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat > Enterprise Linux ES v.3 machine. Here's the make error: > > -o libphp4.la > ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated > collect2: ld returned 1 exit status > make: *** [libphp4

[PHP] Re: Handling XML output in a slim way

2004-09-01 Thread Daniel Schierbeck
Markus Fischer wrote: Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('%s', makeXmlSave($name), makexmlSave($contentOfItem)); [...] makeXmlSave() makes sure that quotes, ampersand, < and > are properly esc

[PHP] phpbb multiforums

2004-09-01 Thread Xongoo!com: Central unit
Holla friends, I have a code which separates phpBB forums, but run into problems because of cookies when *switching between forums*. Should I get rid of cookies entirely (I am rewriting entire code to passing $forum variable) or something may be done (still I am learning php :) Code below: if ($

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: "Tim Wolgemuth" <[EMAIL PROTECTED]> This is the way that the customer waits to do it. Here is the sample code that is being included: print "this is a test2"; ?> Well tell the customer he's wrong! ;) Seriously... what if you try something like include('http://www.google.com'), does that

[PHP] [RESOLVED] mail functions problems

2004-09-01 Thread AceZero2790
Problem resolved. I set my SMTP server in php.ini to my ISP's SMTP server, smtp.comcast.net, and now everything works. Thanks everyone who helped me with this even though it is sort of off-topic. -Andrew

[PHP] Re: Handling XML output in a slim way

2004-09-01 Thread Torsten Roehr
"Markus Fischer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like > > [...] > $xml .= printf('%s', makeXmlSave($name), makexmlSave($contentOfItem)); > [...] > > makeX

Re: [PHP] Re: Mail Functions help

2004-09-01 Thread Jason Wong
On Wednesday 01 September 2004 22:50, [EMAIL PROTECTED] wrote: > I did some research and found out that my ISP's SMTP server is > smtp.comcast.net. That's what we like to see. > If I configure my mail functions to connect to this should my script be > able to send e-mails? > > Research and Experi

  1   2   >