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 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,

[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 //=== //=

[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.

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] 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

[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] 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 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? > > -- > > > --

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
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] 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 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] 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

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] 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] 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] 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] 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

[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] 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] 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 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

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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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
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

[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] 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] 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] 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

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 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] 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 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

<    1   2