[PHP] ref IRC

2002-01-02 Thread Marc
Hi all, I have a few problems. I'm trying to write a PHP script that will function as a webchat. Currently I have soms problems. How can I get each line of the in/output ? This is what a part of what I currently have: \n"; if($nick == "") { $nick = "Testing"; } fput

[PHP] using php for keywords

2002-04-10 Thread Marc
hi how can i use php to list keywords in search engines ?!? how to index a website keywords via php =) plz mail thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP in Novell Web Server?

2001-10-03 Thread Marc
I was wondering if it is possible to create a configuration with Novell Netware, Novell Web Server, PHP and Oracle. Does anybody have experience with such a configuration? Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] PHP unlink Errors

2009-01-13 Thread Marc
Do you have php_safe_mode enabled? If's that's the case, try turning it off and then run your script again. Alice Wei wrote: Hi, I have a snippet below that I would like to delete a file. However, I keep getting kicked out because of permission errors, when my folder permission is 0777.

Re: [PHP] Online Part Time Job Available

2009-02-16 Thread Marc
.com Best regards, Stephanie Cunningham Die in a fire. /Marc -- http://bithub.net/ Synchronize and share your files over the web for free My Twitter feed http://twitter.com/MarcSteinert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tripple The Fun

2009-03-24 Thread Marc
And yeah, I really got too much spare time >echo 'won\'t it just end up as lots of echos and prints?'; > >?> > >2009/3/24 abdulazeez alugo > >>Hello guys, >> >> The list seems boring to me today so I've come up with an idea (you can >> call it a challenge). What if we all wrote to this thread

Re: [PHP] PHP + MySQL - Load last inserts

2009-03-30 Thread Marc
For instance: SELECT * FROM table ORDER BY primary_key DESC LIMIT 0, 3; Greetins from Germany Marc -- Sync and share your files over the web for free http://bithub.net My Twitter feed http://www.twitter.com/MarcSteinert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2009-04-06 Thread Marc
anual on operators I did fine &= discussed but that's the >flip and it's use makes no sense in the context of setting a database >handle. > >Any tips would be appreciated. With the =& operator, PHP creates references: http://phpbuilder.com/manual/en/lang

Re: [PHP] kill php.exe window

2009-04-06 Thread Marc
>I need to exit php.exe window after completing an assigned task. Does anyone >knows how to close, exit, kill or stop the window Run your PHP.exe by using appending "& exit" to your command. For instance: php.exe [YOUR COMMAND ARGS] & exit Greetings from Germany Marc

[PHP] optimisation sending mails

2004-03-04 Thread Marc
hi, I need every week to check mails in a database and send them on e-mail to a mailinglist server to synchronise the datas. I work with two mailing servers and 4 mailinglists (2 on each server). so I need to send 4 lists in mail : one to server 1 with liste A one to server 1 with liste B on

[PHP] Re: optimisation sending mails

2004-03-05 Thread Marc
Manuel Lemos wrote: > Hello, > > On 03/04/2004 10:38 PM, Marc wrote: >> I need every week to check mails in a database and send them on e-mail to >> a mailinglist server to synchronise the datas. >> >> I work with two mailing servers and 4 mailinglists (2 on e

[PHP] Re: phpinfo page doesn't display anything

2002-12-12 Thread Marc Werther
hi, try to change ur line into: "Jody Cleveland" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 84CFA712F666B44A94CE6BE116BAF4B0B4E09F@MAIL">news:84CFA712F666B44A94CE6BE116BAF4B0B4E09F@MAIL... > Hello, > > I need to change something in my php.ini file, and in searching for where it > is, I found t

[PHP] fsockopen problem

2002-12-12 Thread Marc Werther
fp); return $result; } else { $result = 0; #--fclose($fp); return $result; } } Thx 4 ur help, Marc Werther Student -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strange behavior on backtick operator execution environment

2003-01-16 Thread Marc Cluet
Hi guys I have upgraded from PHP 4.2.2 to PHP 4.3.0 and some of my php script got broken due to that. This scripts use backticks to execute functions, the problem is the environment where that functions are executed. I have this test code: $dir=`pwd`; echo "I am on directory: $dir"; ?> If I ex

[PHP] build menu with mysql data

2003-01-21 Thread Marc Bleuler
ur explanations I'm a PHP beginner... :-) thanks Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] build menu with mysql data

2003-01-21 Thread Marc Bleuler
_description"; print ""; print ""; print ""; print ""; print ""; ++$i; } -

[PHP] nstalling PHP

2003-03-18 Thread Marc Bakker
e php code and returning html code, Apache returns the index.php file! What did go wrong here Thanks for any tips, Marc Apache 1.3 php 4.3.1 Windows 2000 SP3 mySQL 3.23.55 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL qusetion

2003-03-19 Thread Marc Bakker
s value doesn't change. Funny thing is that in tab 'Environment' under 'Uptime' the value doesn't change - even after restarting the server. Is this tool buggy? Thanks, Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] explicit dot in open_basedir

2002-11-18 Thread Marc Delisle
should I be able to open a file in "./tmp", which is a subdir under /www/marc? Thanks, Marc Delisle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] explicit dot in open_basedir

2002-11-18 Thread Marc Delisle
./tmp with no explicit dot in the path of open_basedir, and I cannot reproduce this behavior on my server. Marc BigDog wrote: The explicit dot is to tell the system that you want the current working directory. So by saying "./tmp" you want the tmp (directory or file) that is loca

[PHP] HTTP HEAD request using curl??

2003-09-30 Thread Marc Richards
ed is the headers, I don't have curl support compiled in and I probably won't bother compiling in if it can't do HEAD (I'll just use fopen). Has anybody been able to do this? Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP HEAD request using curl??

2003-09-30 Thread Marc Richards
lution? > Well that is plan b, it would have been a little easier with curl though. At least this way I don't have to recompile and add curl support. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help on using PEAR DB

2003-12-16 Thread marc serra
Hi, I am Using PEAR DB and i got this error after I have upgraded php4 to php5. Fatal error: Only variables or references can be returned by reference in /var/www/php/lib/php/DB/common.php on line 766 Could anybody tell me what I can do to resolve that error. Regards, Marc.

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Marc Greenstock
ect to burn the midnight oil on this one. Marc "Ben Ramsey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I guess that's good enough reason for me. As far as connecting with > sockets, though: you should connect from Flash to the PHP file, not from > PHP to

[PHP] IRCG - php windows extension HELP!

2004-01-20 Thread Marc Greenstock
error for each dll that the module can not be found. Has anyone installed IRCG as an extension for windows? Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Win32 and *NIX

2001-01-17 Thread Marc Clerc
Is there a difference in the way PHP parses scripts in various operating systems? I've gotten opinions that say PHP under Linux parses more/different code than does under Windows NT. Thanks -Marc

RE: [PHP] how do i check if a server is online ?

2001-02-27 Thread Marc Swanson
u want: system("ping -c 1 www.someurl.com", $retval); if($retval == 0) { #server is alive } else { #server is down } HTH -Marc- #/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/# #Marc Swanson | \|||/ # #MSwanson Consulting | /o o\ # #

[PHP] database abstraction module

2001-03-14 Thread Marc Boeren
se mail them directly to me ([EMAIL PROTECTED]) as I'm not subscribed to this list. I'ld be happy to help, though! Cheerio, Marc. Guidance Rotterdam BV http://www.guidance.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx.h

2001-04-18 Thread Marc Boeren
mboeren Wed Apr 18 05:31:08 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx.h Log: Added DBX_CMP_TEXT and DBX_CMP_NUMBER constants and support for them in the dbx_cmp_desc and dbx_cmp_asc functions. The old method of passing a string "number" is now no

[PHP-CVS] cvs: php4 /ext/dbx dbx_pgsql.c

2001-04-18 Thread Marc Boeren
mboeren Wed Apr 18 05:34:53 2001 EDT Modified files: /php4/ext/dbx dbx_pgsql.c Log: Removed some old commented code (Mc) Index: php4/ext/dbx/dbx_pgsql.c diff -u php4/ext/dbx/dbx_pgsql.c:1.6 php4/ext/dbx/dbx_pgsql.c:1.7 --- php4/ext/dbx/dbx_pgsql.c:1.6

[PHP] Advanced Help Needed

2001-04-19 Thread Marc Davenport
inding the site entirely. Has anyone ever seen this? Help would be much Marc Davenport

RE: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Marc Boeren
probably not the place to default to... Cheerio, Marc. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Marc Boeren
/windows/currentversion...) I think it's one of these... Cheerio, Marc. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Using the > key in documents (Newbie needs help)

2001-05-15 Thread Marc Johnson
Greetings fellow devs! I am new to PHP (having tried my hand at running ASP/SQL here at the house. No, I didnt chose ASP, it just happened to be the software I had when I decided to mess with dynamic content. My problem is probably really simple. I am learning to use PHP via online documents and

[PHP] Newbie needs help! '>' closing PHP Tag

2001-05-15 Thread Marc Johnson
Greetings fellow devs! I am new to PHP (having tried my hand at running ASP/SQL here at the house. No, I didnt chose ASP, it just happened to be the software I had when I decided to mess with dynamic content. My problem is probably really simple. I am learning to use PHP via online documents and

Re: [PHP] Newbie needs help! '>' closing PHP Tag

2001-05-15 Thread Marc Johnson
the wrong damn page (the test side). After pulling my hair out for an hour, I have since deleted my test folders and moved them to the live side and learned Homesite will not support PHP tags (until I get in there and mess with it). Thank you for you help though... Marc "Its when you thin

[PHP] unshift a key value pair

2002-01-09 Thread Marc Logghe
ount($arr); } it is a nice trick but this did not really convince me. When you have eg an array like this: $a = array("foo"=>"bar", "foo2"=>"bar2") and you do an array_shift operation, you end up with ("foo2"=>"bar2"). So it is r

Re: [PHP] unshift a key value pair

2002-01-09 Thread Marc Logghe
That's exactly what I did to make it work I gave up playing with array_unshift. Thanks anyway. Marc "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message 087501c198ff$45961270$0b01a8c0@ANDreY">news:087501c198ff$45961270$0b01a8c0@ANDreY... > Try array_merge()

[PHP] Re: unshift a key value pair

2002-01-09 Thread Marc Logghe
. Thanks for your fast response Marc "Cc Zona" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Marc Logghe) wrote: > > > So it is really easy to *remove* a key-value pa

[PHP] strange problem

2002-01-18 Thread Marc Logghe
certain key is "%coding" (I know, I know, I should not use non-alphanumerics, but it used to work) and this key I cannot use anymore: php does not take %coding, nor '%coding', nor "%coding". Can someone help me out ? Marc -- PHP General Mailing List (http://www.p

Re: [PHP] strange problem

2002-01-18 Thread Marc Logghe
what the heck !? I would never think on that but you are absolutely right. It all worked again after replacing straights with curlies. Is PHP going the perl way ? Thanks a million for this tip. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] when 1+1 is not equal to 2... STRANGE float behavior

2002-01-21 Thread Marc Swanson
95) to be equal to 9961.00 . In the case of this problem, all variables in question are of type double at time of comparison. ideas? I tried casting to various different types without success. I'd prefer not to round if at all possible... Thanks! -- - Marc

Re: [PHP] when 1+1 is not equal to 2... STRANGE float behavior

2002-01-21 Thread Marc Swanson
t;false"; } ?> now outputs "true". :-) -- - Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax:(603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com - -- PHP General Mailing List (http://www.php.net/) To un

[PHP] wierd function behavior within classes.. Bug?

2002-01-24 Thread Marc Swanson
a bug? I believe I found that it happens with all functions within a class (not just constructors). Thanks -- - Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax:(603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com ---

Re: [PHP] wierd function behavior within classes.. Bug?

2002-01-24 Thread Marc Swanson
d bandwidth! -- ----- Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax:(603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[PHP] kill assoc array entry?

2002-01-30 Thread marc beyerlin
hi, is it possible to kill an enrtry in an assoziative array, like: array["first"]="räuber hotzenblotz"; array["second"]="schneewitchen"; array["third"]="rapunzel"; kill array["second"]; any idea? greets, marc --

[PHP] wincvs?

2002-02-01 Thread marc beyerlin
ts wrong ??? greetings, marc /repository login: no such repository cvs login: authorization failed: server cvs.php.net rejected access to /repository login for user pserver:cvsread -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

[PHP] problem with fwrite and parsing the written file

2002-02-01 Thread Marc Mittag
nks to all replies! Yours, Marc --- http://www.marcmittag.de/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] compiling the php sources

2002-02-18 Thread Marc Cuypers
Hello, I'm using FreeBSD 4 on an intel machine. I'd like to use phpgroupware. It makes use of IMAP. How can I find out that PHP4 on my server is compiled with the IMAP option? I tried to compile the PHP4 source, and it complains about an rfc822.h file. What IMAP sources should I inst

[PHP] replace digits

2002-03-18 Thread Marc Bleuler
Hello all, Im trying to replace the first two digits (41) from a telephone no. with a 0 (zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My php programming experiance is not very high so if any body could provide a code example thank you very mutch for help Marc

[PHP] mail() error checking function

2002-03-22 Thread Marc Bleuler
a .= "From: SMS to E-Mail <[EMAIL PROTECTED]>\n"; $extra .= "X-Sender: <[EMAIL PROTECTED]>\n"; $extra .= "X-Mailer: PHP\n"; $extra .= "X-Priority: 3\n"; $extra .= "Return-Path: <[EMAIL PROTECTED]>\n"; mail ($recipient, $subject, $

[PHP] Build static with Apache 2.0.35

2002-04-08 Thread Marc Delisle
Is PHP 4.1.2 (or 4.2.0) supported only with apxs2, or can I build it static into Apache 2.0.35? And is it still true that running static is faster than DSO? Thanks. -- Marc Delisle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New to web / PHP development. Please take pity on me.

2002-04-12 Thread Marc Shlaes
I made the simplest program I could to try to figure out why my session_start() isn't working. PHPINFO tells me that 1. Sessions are enabled. 2. The path c:/temp is shown so php.ini is doing the right thing The path exists and can be successfully written to from the OS The OS is WIN98 running A

[PHP] Semaphore for Windows

2002-04-14 Thread Marc Schecker
Hi, how can I use the shared memory functions for windows. I read before, that it is possible. Who can help me? Thanks! Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_insert_id + mysql_pconnect = race condition??

2001-11-21 Thread Marc Swanson
hanks! -- - Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax:(603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] open_basedir: what is a typical setting?

2001-12-14 Thread Marc Delisle
Hi, I would like to know from sysadmins, what do you put usually in your open_basedir? It is mostly "."? This is to check if/how we could make phpMyAdmin's dump uploads work on an open_basedir server. Thanks. -- Marc Delisle phpMyAdmin dev

[PHP] What do admins put in their open_basedir

2001-12-14 Thread Marc Delisle
ound the problem, if practical. Thanks. Marc Delisle phpMyAdmin dev. team -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] What do admins put in their open_basedir?

2001-12-14 Thread Marc Delisle
Hi, I am checking if phpMyAdmin's dump file uploads could work well in a open_basedir environment. So I would like to know if sysadmins generally put "." in their php.ini open_basedir variable, or if they put a special directory. Thanks. -

[PHP-CVS] cvs: php4 /ext/dbx CREDITS INSTALL LICENSE Makefile.in config.m4 dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Marc Boeren
module (database abstraction) to the repositorty (/ext/dbx). Compiles under Linux (--enable-dbx) and Windows. Supports MySQL and ODBC modules (more to be added later). @ Added dbx module (database abstraction) to the repository. (Marc) Index: php4/ext/dbx/Makefile.in +++ php4/ext/dbx

[PHP-CVS] cvs: php4 /ext/dbx EXPERIMENTAL

2001-03-22 Thread Marc Boeren
mboeren Thu Mar 22 04:26:24 2001 EDT Added files: /php4/ext/dbx EXPERIMENTAL Log: no comment :) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Marc Boeren
mboeren Thu Mar 22 07:14:35 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_mysql.c dbx_odbc.c dbx_mysql.h dbx_odbc.h php_dbx.h Log: Changed C++ style comments to C-style comments (Marc) #I hope I got 'em all @Changed C++

[PHP-CVS] cvs: php4 /ext/dbx .cvsignore LICENSE dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-23 Thread Marc Boeren
are unable to | + | obtain it through the world-wide-web, please send a note to | + | [EMAIL PROTECTED] so we can mail you a copy immediately. | +--+ | Author : Marc Boeren <[EM

[PHP-CVS] cvs: php4 /ext/dbx Makefile.in dbx.c dbx.dsp dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h

2001-03-23 Thread Marc Boeren
mboeren Fri Mar 23 06:50:17 2001 EDT Modified files: /php4/ext/dbx Makefile.in dbx.c dbx.dsp dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h Log: Fixed compile errors for Postg

[PHP-CVS] cvs: php4 /ext/dbx dbx.c

2001-03-26 Thread Marc Boeren
mboeren Mon Mar 26 00:26:07 2001 EDT Modified files: /php4/ext/dbx dbx.c Log: Removed #include php_config.h, since it was not necessary (Mc) Index: php4/ext/dbx/dbx.c diff -u php4/ext/dbx/dbx.c:1.5 php4/ext/dbx/dbx.c:1.6 --- php4/ext/dbx/dbx.c:1.5

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_odbc.c dbx_pgsql.c

2001-04-02 Thread Marc Boeren
mboeren Mon Apr 2 01:51:36 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_odbc.c dbx_pgsql.c Log: Inserted a few extra initialisations, just in case. Had some problems in a different module, this solved it there, hance the added insurance. (Mc) In

[PHP] PHP Error

2001-04-09 Thread Marc Dondlinger
tdocs/phptest/Quake.lu/www/settings.php:15) in /www/htdocs/phptest/Quake.lu/www/settingsystem.php on line 6 Any idea what's wrong with my php script ? I'm looking up to your help Thanks , bye Marc Dondlinger (aka HiGhPwR) [EMAIL PROTECTED] http://www.quakeXtreme.com http://www.qua

[PHP-CVS] cvs: php4 /ext/dbx dbx.c

2001-04-09 Thread Marc Boeren
mboeren Mon Apr 9 04:53:39 2001 EDT Modified files: /php4/ext/dbx dbx.c Log: Added optional 'comparison_type' parameter to compare functions, to force either text or number comparison. (Mc) Index: php4/ext/dbx/dbx.c diff -u php4/ext/dbx/dbx.c:1.7 ph

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h

2001-04-11 Thread Marc Boeren
mboeren Wed Apr 11 01:14:57 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h Log: Added a database member to the dbx_link object. Since e.g. mysql reuses c

Re: [PHP] HOW TO: Reload a frame with a different URL? [LONG]

2001-06-27 Thread Marc Johnson
Richard, Thanks for the reply. However, it's not what I was looking for. :) I already have all the login and password stuff. What I'm trying to do is reload a different frame with a new html document once the user logs in. Thanks again, MarcJ In article <045b01c0fee3$a33eb140$6401a8c0@Ly

Re: [PHP] HOW TO: Reload a frame with a different URL?

2001-06-27 Thread Marc Johnson
Elias, This is what I'm looking for (I think). Just a quick question though. Does the tag have to be in the same php page that this line of code is contained in? The reason I ask is because no matter where I put this line of code (with the needed modification, my frameset is "main") it wi

[PHP] ereg_replace

2001-07-04 Thread Marc Logemann
array = array ("", "value1", "value2"); $string = "foo <$1> bar <$2>"; output: foo $parmarray[1] bar $parmarray[2] i want of course: output: foo value1 bar value2 any ideas? thx in advance --- Marc Logemann Morelogs G

[PHP] FTP Resume

2001-07-27 Thread Marc Bradshaw
Is there an easy way to implement FTP Resume in PHP? I need to log into our ftp server using username/password through a proxy and resume download of a logfile. Downloading the entire thing each time would take too long. I also need to check the dates of some files. Thanks, -- Marc

[PHP] Regular expressions

2001-08-08 Thread Marc Davenport
an be found? or have a regular expression that can do this? cheers, Marc Davenport -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] POST from the script

2001-08-14 Thread Marc Hanlon
pt at the other end to take GET variables instead of POST values so I need a way for the PHP script to send POST values. Thanks, Marc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Re: Help, I'm so close!!!

2001-08-15 Thread Marc Hanlon
rm-urlencoded\r\n"); fwrite($fp, "Content-length: " . strlen($dataToSend) . "\r\n\r\n"); fwrite($fp, $dataToSend); for($result = ""; !feof($fp); $result .= fread($fp, 100)); fclose($fp); return $result; } Many thanks to Brad Jackson who provided

[PHP] Re: PHP within .html files

2001-08-16 Thread Marc Hanlon
rsed as PHP are .php and .php3, I think this is the normal setup for web servers. Marc. P.s. Would u not like to show your support for PHP by displaying the .php extension? "Paul S." <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > My UNIX apache serve

[PHP] Problems with connections to mySQL

2001-08-20 Thread Marc Hanlon
ink it runs out of connections cause every 10 mins or so Apache says it cannot connect to the SQL server and I have to restart the Apache service to get it going. Any advice would be very welcome. Marc. P.s. I am in the process of d/l the latest mySQL but I have little faith in this problem be

Re: [PHP] File Upload Problem Solving?

2001-09-01 Thread Marc Davenport
#x27;m assuming that you are trying the same file for all people, but if not then the one person that can upload might just be uploading a smaller file than the rest. Just a thought. You may want to use is_uploaded_file() and move_uploaded_file() if you are using PHP 4.0.2 or greater. hope t

Re: [PHP] chewing up apache logs

2001-09-18 Thread Marc Swanson
e is set up to grab log data from .logs/data so you may have to change that and also it is set up to process 3 websites since I am runnning one main site and 2 virtual hosts. Just trim that stuff out. Hope that helps! -- ----- Marc Swanson MSwanson Consulting Phone:

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Marc Swanson
on where the users are chained to IE anyway HTH -- - Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax:(603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com - -- PHP General Mailing List (http://www.ph

[PHP] Question about for

2004-07-25 Thread Henri Marc
Hello, I woudlike to use a loop: for ($i=1;$i<11;$i++) But instead of incrementing with 1, I would like to increment by 2. So $i would be 1,3,5,7,9. I tried to find the answer may be with "step" but couldn't find anything. Thank you for your help. Dave Vou

[PHP] Replace a button by an image

2004-07-30 Thread Henri Marc
Hello, Is it possible to replace a button by an image with PHP? Thanks! Dave Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger e

[PHP] Another problem with grids and checkboxes

2004-07-31 Thread Henri Marc
Hello, I have another problem with my program. Again! Here it is: I have some grids. To make it simple, let's say I have two grids like this: 1 2 3 1 2 3 Each grid has 3 numbers, 1, 2 and 3. There is grid[1][

Re: [PHP] Another problem with grids and checkboxes

2004-08-03 Thread Henri Marc
Hello, > > 1 > name="grid[1][1]" value="1" type="checkbox"> > > > [snip] > > 1 > name="grid[2][1]" value="1" type="checkbox"> > > > > Is there a reason you're sending a 1, 2 or 3 value > with the checkboxes? Well, I thought it was the good way to do. It helps me to

[PHP] Image and variable

2004-08-10 Thread Henri Marc
Hello, I would like to use a variable instead of an image file name in a html page with this instruction: '; ?> I tried but the image doesn't show up. Is it impossible or do I do something wrong? My goal is to have a random image print in the page, that's why I want to use a variable. Thank you

Re: [PHP] Re: Image and variable

2004-08-10 Thread Henri Marc
Hello, > Variables in single-quoted strings are not > evaluated. Either user double > quotes or concatination: Thank you very much all for your help, specially Kevin Waterson for his complete program. It was simple, I always make some mistakes with those quotes :-( Another problem still related t

[PHP] How to get a unique series of numbers?

2004-08-20 Thread Henri Marc
Hello, I want to generate a few numbers and those numbers must not be generated two times. For example the user chooses to have two series of 5 numbers. then I have to generate (with MT_RAND) two series of 5 numbers. No problem for the first, then the second must be different from the first. I hav

RE: [PHP] How to get a unique series of numbers?

2004-08-23 Thread Henri Marc
Hello, > I would take each number and place it in an array. > Then for each Thank you very much. It has been really very helpful for me. Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur ht

[PHP] How does work shorten url services?

2004-09-18 Thread Henri Marc
Hello, I know that some web sites offer a service to shorten long url. It is very useful when your site is hosted by your Internet provider for example, and that you have a long url. Or when you want to send it in an e-mail. tinyurl.com does that for example. The principle is that you enter your l

Re: [PHP] How does work shorten url services?

2004-09-18 Thread Henri Marc
Hello, > Those sites (because there are more) just put the > urls in a database, and > assign an ID to each one. > > Then, a program (that can be made in any language) > queries the database for > the given ID, and get the long URL. Then it > redirects to that URL and that's > all. Ok, it is like

Re: [PHP] First PHP program

2008-12-13 Thread Marc Steinert
ough it's not free: http://www.zend.com/en/products/studio/ If you need something free, try weaverslave: http://www.weaverslave.ws/ Hope, I could help you. Marc -- http://bithub.net/ Synchronize and share your files over the web for free -- PHP General Mailing List (http://www.php.net

[PHP] dynamic forms

2008-12-16 Thread Marc Fromm
being filled out? Thanks Marc

Re: [PHP] Variable as an index

2008-12-21 Thread Marc Steinert
MikeP schrieb: I have tried putting the quotes all over and all I get is: 'Array[U]'. Try to avoid accessing the two-dimensional array $users inside a string. Use echo's ability to accept multiple parameters: echo '', $users[$x]['U'], ''; Or by concating the string with the .-Operator:

Re: [PHP] Variable as an index

2008-12-21 Thread Marc Steinert
German Geek schrieb: Why is the first method faster and uses less memory? Because the concatenation operator first reassembles a new string, stores it in memory then passes this newly created string to the echo function, if I'm not misstaken. -- http://bithub.net/ Synchronize and share yo

Re: [PHP] setting up FTP account names via PHP

2009-01-05 Thread Marc Steinert
Merlin Morgenstern schrieb: Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate individual ftp name and passwords f

Re: [PHP] How can a script tell if there's a MySQL problem?

2009-01-09 Thread Marc Steinert
Brian Dunning schrieb: I have one server that's pretty busy and runs into "Too many connections" from MySQL from time to time, and needs to have MySQL restarted to clear it up. I've tried everything I can think of to have PHP take note of this error but continue executing with other stuff, bu

Re: [PHP] RewriteRules

2009-01-12 Thread Marc Steinert
get the idea): RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)$ /$2.php?purl=$1 /Marc -- http://bithub.net/ Synchronize and share your files over the web for free -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOCUMENT_ROOT errors

2009-02-09 Thread Marc Fromm
r/www/html/lan/ztezt/student_alerts/index.php on line 5 My current versions are: httpd-2.2.6-1.fc6 php-5.1.6-3.7.fc6 php-pear-1.4.9-4 (one error above mentions pear) Marc

Re: [PHP] syntax

2009-02-24 Thread Marc Steinert
Terion Miller wrote: $query .= " WHERE stamp < NOW()-7 "; I have no clue here on this Try $query .= " WHERE stamp < SUBDATE(NOW(), INTERVAL -7 DAY)"; instead. Marc -- http://bithub.net/ Synchronize and share your files over the web for free My Twitt

Re: [PHP] syntax

2009-02-24 Thread Marc Steinert
Marc Steinert wrote: Terion Miller wrote: $query .= " WHERE stamp < NOW()-7 "; I have no clue here on this Try $query .= " WHERE stamp < SUBDATE(NOW(), INTERVAL -7 DAY)"; instead. Marc Damn, hit the send-button too fast. Replace -7 with 7. Sry for sp

  1   2   3   4   5   >