[PHP] User/Group rights system?

2004-05-11 Thread david david
PEAR::Auth seems only to support basic user authentication. Thanks, David __ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 -- PHP General Mailing List

[PHP] Clean Open Source PHP extranet app?

2004-05-09 Thread david david
source and it's only available as a hosted service. (??!?) Is there a similar open source application written in PHP/MySQL? Googling for such a project just returned a bunch of PHPnuke/Portal type applications. Not at all what I need. Any i

[PHP] passthru() problem

2003-07-02 Thread david
I'm trying to get the output of a shell command with PHP This is the command I'm Trying to execute, I also tried using system instead of passthru Both cases "passthru" and "system" Outputed "2" but should have outputted something like this: standalone FTP daemon [17899]: 21852 geiri

[PHP] POSIX seteuid and similar

2003-07-20 Thread David
Hi, I am trying to create a small php program where I can control users processes. As far as I see I require Apache to run as root in order to do this (Note: I wish to access it via a webpage run through a browser). At the moment all pages are executed as user 'apache' (UID #48 in this case). Ot

Re: [PHP] [Newbie Guide] For the benefits of new members

2003-08-14 Thread David
. My process is: - Look in a manual Search the web PHP websites and newgroups Then post on a newsgroup My thought is someone out there has had a simular problem, and solved it, then hopefully they will share the solution. David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com

[PHP] strtotime no longer accepting many dates?

2002-10-29 Thread David
itive unix timestamp??? Please help. Thanks David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: manual/eng

2003-08-31 Thread David
[EMAIL PROTECTED] wrote: Hi all, I tried to download the manual of php wget http://www.php.net/manual/en/ I got a lot of files but not linked to read off line the links where all to the website. http://www.php.net/manual/en/faq.php http://www.php.net/manual/en/zend.configuration-macros.php Can som

[PHP] Re: manual/eng

2003-08-31 Thread David
[EMAIL PROTECTED] wrote: Hi all, I tried to download the manual of php wget http://www.php.net/manual/en/ I got a lot of files but not linked to read off line the links where all to the website. http://www.php.net/manual/en/faq.php http://www.php.net/manual/en/zend.configuration-macros.php Can som

[PHP] Re: manual/eng

2003-08-31 Thread David
David wrote: [snip] Sorry for being trigger happy there :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Explode and multple lines

2003-09-09 Thread David
Sweet T wrote: Hello, I am using php to explode the lines of a text file (delimited by a comma), break it into an array, and echo only one of the array elements. I have accomplished all of this, but it only echos the text for one line. How do I get php to scan multiple lines? I tried to introdu

[PHP] Re: mail function

2003-09-11 Thread David
If you are doing Windows, you set up SMTP in the php.ini to your mail server, mine is SMTP = 192.168.16.2, and I also set up sendmail_from = [EMAIL PROTECTED] -- Kind Regards David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com/davec/techsitedb/ "Deepen

[PHP] how to trap eval error?

2003-11-18 Thread david
E_USER_WARNING | E_USER_NOTICE); set_error_handler('myHandler'); eval('$return = $function($input);'); that does seem to make the error stop appearing but my handler is still not called. any idea? thanks! david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to trap eval error?

2003-11-18 Thread david
// function does not exists } which works quit nicely for now. not sure if that's a good thing to do. thanks! david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to trap eval error?

2003-11-18 Thread david
Cpt John W. Holmes wrote: > From: "david" <[EMAIL PROTECTED]> > > >> i found a solution (hopefully) with: >> >> if(function_exists($function)){ >> eval('$return = $function($input);'); >> }else{ >> // fu

[PHP] fsocketopen questions

2003-12-08 Thread David
Dear All, I write a php scripts to use the function of fsocketopen to gather some data on the web, everything is perfect when I test the scripts on the apache server installed in my pc. But when I upload the codes to the server I hosted, I always got a time out error, even after I enlarge the tim

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread david
Websphere or whatever other CMS has its own module in php4/ext (in fact, that would give users more choice, thus that'd be better). My own 2 cents. > Just my 2 cents (and given without intent to offend). > > > -- > Colin Viebrock > Co-Founder, easyDNS Technologies Inc. > http://www.easyDNS.com/ > -- David -- 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: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread david
e with PHP. > > > - Is the midgard group willing and interested in playing by the php-dev > > rules? In particular, "Thou shalt never break the CVS build" is one of the > > 'higher laws' around here :) > > Yes, unfortunatly you can't tell a blind person not to bump into walls in an unknown >place ;) > More documentations on PHP m4 macros would help. > > > Zeev > > > > > > > -- > David -- David -- 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] Re: fsockopen nntp stalls

2001-12-26 Thread David
hmm, does it work with smaller newsgroups? such as php\'s one which have ~30 groups. when i wrote my own reader (using fsockopen also), i found that stalls are usually because of my own error(eg, article not found, etc) you can take a peek at jim winstead\'s code from http://lists.php.net/snap

[PHP] Re: Security bulletin?

2001-12-28 Thread David
this is a great idea, maybe the admins can setup a php.security or something like that? >Hello everybody! > >Apart from the usual best wishes for 2002, I have a >question: does >anyone know of a good security list/newsletter/bulletin >for PHP? >Actually, any kind of good source would be grea

[PHP] file uploading => dumping into ram?

2002-01-03 Thread David
hi all, I wes doing some file upload stuff with php when i noticed that as the file is being uploaded, the entire file is stored in ram until it\'s finished. obviously, we know the problems associated with this(use up a lot of ram for large files), i\'m just wondering, is this going to be fi

Re: Re: [PHP] file uploading => dumping into ram?

2002-01-03 Thread David
he file to the >hd. > >-- > >Chris Lee >[EMAIL PROTECTED] > > > >\"David\" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> hi all, >> >> I wes doing some file upload stuff with php when i noticed

[PHP] Re: session question (4.1.1)

2002-01-03 Thread David
how did u check? with a if? u should use the session_is_registered function instead, http://www.php.net/manual/en/function.session-is-registered.php if(!session_is_registered(\"user\")){ print \"invalid user\"; exit; } // your other code here and yes, turning off register globals is a good ide

[PHP] Re: PHP Security Alert for Apache/Win32

2002-01-06 Thread David
Wow!, i tried it and it really works, this is serious man! is there a fix around it without safe mode like GED suggested? >Folks running Apache/Win32 should read this: > >http://www.securiteam.com/windowsntfocus/5ZP030U60U.html > >If you run in CGI mode you likely have a line similar to >the

[PHP] Re: Re: PHP Security Alert for Apache/Win32

2002-01-06 Thread David
I tried playing with ScriptAlias settings, but i given up. I now use the the Apache module instead of cgi. To change over to the Apache module: copy php4ts.dll to the windows/system(win9x/Me) or winnt/system32(winNT/2000/XP) directory. then inside httpd.conf: LoadModule php4_module c:/php/sap

[PHP] Re: Http request

2002-01-08 Thread David
just use post to send your username/password to the servlet >Hi, > >Can anyone tellme how I can do a http request to a servlet >from a PHP?? > >I mean, I have a username and password which I want to >send in a string(variable) to >a Servlet which authentifies >it and responses back in XML for

[PHP] Re: Send output before header location

2002-01-12 Thread David
>How can I output before send header >I see some site some output and after that it Jump to >other site >Is that maked by header localtion ?? no, if there\'s output first, then it\'s not using header(\"Location: whatever.php\"), because headers MUST be sent before any other output to the brows

[PHP] Re: I need help

2002-01-19 Thread David
If i\'m not wrong, you did not specify the php extensions dir in php.ini correctly, mine is: extension_dir = c:/php/extensions assumming c:\\php\\extensions is the php extensions are stored. pls tell me if it works, i\'ve got some oracle questions to ask u if u don\'t mind ;) >Dear Sir, >

[PHP] Re: PHP Chat REALTIME

2002-01-22 Thread David
hey, i thought about this problem last time, i figured out that there's NO WAY to do this in php, (the auto refresh does not count). somebody pls prove me wrong. intrested to continue this discussion David >I need to build a php-chat (online support system), but in >realtime. >

Re: Re: [PHP] ok, I ask again.. how to encrypt to be able to match

2002-01-22 Thread David
u used password() to encrypt the value in mysql? u can get back a encrypted value of a value by doing a "select password('secret');" in mysql, it will return u the encrypted value, check this value against the encrypted password in mysql. is this what you're asking? :) >I've asked this sever

[PHP] Re: CGI vs. ISAPI

2002-01-27 Thread David
use the ISAPI module since you are using with IIS >'m fairly new to PHP, having worked with ColdFusion in the >past. Can somebody shed >some light on to the key >differences between the CGI installation and the ISAPI >>installation. I working with IIS on Win2k and using MySQL >for a db server.

Re: re: [PHP] Paypal Instant Payment Notification

2002-01-29 Thread David
simply change the fsocketopen's socket from 80 to 443 (SSL port) > I'm thinkin' the problem is that I'm not posting to > https://www.paypal.com/blah, but to > http://www.paypal.com/. How do I use the posttohost > function (or some other function) to post securely? -- PHP General Mailing Li

[PHP] Re: [URGENT] PHP as an apache module on windows under cygwin

2002-02-02 Thread David
why would you need cygwin am i missing something? there's Win32 binaries availiable for apache check out: http://www.apache.org/dist/httpd/binaries/win32/ as for running it as a module for Apache(Win32), check this out: http://sg.php.net/manual/en/install.apache.php many people prefer using t

[PHP] Re: Making apps

2002-02-11 Thread David
graphical user interface. You can use Glade for a VB style of designing the GUI. http://gtk.php.net/ is the address. Regards, David --- http://php.warpedweb.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Decode Encoded text in phpMyAdmin

2002-02-14 Thread David
Hello, How can I decode encoded text/numbers in my phpMyAdmin? I looked at BASE64, but thats not it. Any help is great. Thanks Example: 8e73b27568cb3be29e2da74d42eab6dd -- - Dave Visit http://www.geocities.com/earthtohorny for info on Computers and Upgrading. -- PHP General Mailing

Re: [PHP] Decode Encoded text in phpMyAdmin

2002-02-15 Thread David
So then there's no way to get it decoded :(. Ah well, thanks for your help anyway. -- - Dave Visit http://www.geocities.com/earthtohorny/ for info on Computers and Upgrading. "Joffrey Van Wageningen" <[EMAIL PROTECTED]> wrote in message 00f101c1b570$d4697450$[EMAIL PROTECTED]">news:00f101c1b570

[PHP] Re: ".htaccess login id"

2002-02-18 Thread David
Mohamed Ismail Bulale said something on 19 Feb 2002, in php.general: > > To get username and password with php, use this below code: > Best regards, > > Bulale Or you could use the varibles $PHP_AUTH_USER & $PHP_AUTH_PW & $PHP_AUTH_TYPE. http://www.php.net/manual/en/features.http-auth.php

[PHP] Unknown Error Reason

2002-03-11 Thread David
in advance, David Apthorpe. #!/usr/bin/php -q -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unknown Error Reason

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

Re: [PHP] Unknown Error Reason

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

[PHP] Returning to a Shell Script

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

[PHP] Monetary Information

2002-03-11 Thread David
ber (in this case UK), or do I have to make one? David. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Monetary Information

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

[PHP] Superglobals....

2002-03-23 Thread David
.. is there away to make a variable global across all functions, like the $_* type vars? Without putting global $_SERVER, $_GET, $_POST, $_REQUEST, $_SESSION, $_COOKIE; at the top of each function. Thanks! David -- --- WarpedWeb.Net http://www.warpedweb.net/ -- PHP General Mailing List

[PHP] Re: Superglobals....

2002-03-23 Thread David
Jason Sheets said something on 24 Mar 2002, in php.general: > You might remind them that anything under PHP 4.1.2 has a security > whole that can be exploited remotely, my web host refused to upgrade > until they learned about the security implications of not doing so. > > Jason The are runn

[PHP] HTML Character Parsing

2002-04-11 Thread David
: remove anything that might be harmful (eg FORM, etc) 4. If NO: Add replace CR/LF with The idea is that normal formatting such as , , , is ok, but I do not want off illegal stuff. I want something a little like Slashdot's stuff. Easy?? anyone know anything about this? Thanks David R --

[PHP] Re: Making graphics

2002-04-11 Thread David
Another option (Maybe not the easiest, but so pretty: Newer version of Delphi/Kylix allow for web-based application deployment. You could use this and a nice graphics component like Teechart, etc. Ron Allen wrote: > Here is what I want to do. > > I am taking a poll and I would like

[PHP] Display HTML links as links in Blobs or TEXT output

2001-10-26 Thread David
I have a TEXT or BLOB field in my database and everthing works great when I display it in my browser with PHP except HTML links are not clickable (appear as normal text). How do I display the links in the BLOB field as actual HTML links on my web page? While I'm on the subject: How do I displ

[PHP] Display HTML linksas links in BLOB output

2001-10-26 Thread David
I have a TEXT or BLOB field in my database and everthing works great when I display it in my browser with PHP except HTML links are not clickable (appear as normal text). How do I display the links in the BLOB field as actual HTML links on my web page? While I'm on the subject: How do I displ

[PHP] Display HTML links as links in BLOB output

2001-10-26 Thread David
I have a TEXT or BLOB field in my database and everthing works great when I display it in my browser with PHP except HTML links are not clickable (appear as normal text). How do I display the links in the BLOB field as actual HTML links on my web page? While I'm on the subject: How do I displ

[PHP] eregi_replace help!

2001-12-05 Thread David
#LINK##(.*)(.*)###ELINK###", "http://";, \\2) ? trim(\\2) : (strtolower(str_replace("\\", "_", eregi_replace("(/| |:|\*|\?|<|>|\|)","_",trim(\\2.".php")).">\\1", $page); 1. I dont think the regular express i

[PHP] thanks

2001-12-15 Thread david
been using php for a few months now, just wanted to say a big THANK YOU to all the developers for such a wonderful language, thanks guys! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

[PHP] Re: connect to a file outside the web space.

2001-12-15 Thread David
Are you trying to let the user download the file? if so, can try something like this >If one creates a file outside the web space on a server. >How doe\'s one connect to >this from a HTML or PHP page? > >As I understand it. It is not as simple as normal html >link. -- PHP General Mailing

[PHP] Re: Question for you MySQL gurus...

2001-12-16 Thread David
have you tried MySQL Front? it\'s a really nice win32 client, check it out from: http://www.anse.de/mysqlfront/ screenshot: http://www.anse.de/mysqlfront/images/mysqlfront.gif >I have a huge project I am in the midst of developing (something similar to >www.allmusicguide.com except exclusivel

[PHP] Re: http message

2001-12-17 Thread David
use fsockopen http://www.php.net/manual/en/function.fsockopen.php to \"talk\" to the remote host. >Is there a way for PHP to attempt to open a URL and return > the HTTP response >header? > For example, I want to make a PHP page which will redirect a visitor to a > mirror site if it encounters

Re: Re: [PHP] PHP 4.10: any way to override register_globals = OFF

2001-12-17 Thread David
you can do this to get what u want: foreach($_GET as $key => $val){ $$key = $val; } this is what u want to do, right? :) >for all in $_GET >{ >$[varname] = $_GET[varname] >} -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Random

2001-12-19 Thread David
should be because rand() can\'t generate such a large number for u. use $max_random_number = getrandmax(); to check http://sg.php.net/manual/en/function.getrandmax.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Socket functions

2001-12-19 Thread David
Hi, just wondering if anyone have tried the socket functions in php http://www.php.net/manual/en/ref.sockets.php does it work on win32(apache)? i tried the simple TCP/IP example on that page but it does\'nt work for me. I\'m using 4.1.0 and enabled that entension already. -- PHP General Mail

Re: Re: [PHP] Re: Random

2001-12-19 Thread David
yeah, my linux(Mandrake 8, Apache 1.3.22, PHP 4.1.0) box also gives me a 6 digit integer each time too. but when i tried on my win32 (Win2k, Apache 1.3.22, PHP 4.1.0), it is limited to a max of 32767 as indicated with getrandmax(). the origional author of the problem probably using windows to

[PHP] Re: Book.

2001-12-19 Thread David
hmm, this how i use php for cron jobs: #!/usr/local/bin/php // location of php binary then just ask cron to run this script at your wish of time interval >I have a good understanding of PHP. I like to read more >documentation advanced PHP topics and also some more >information on how to run

[PHP] PHP Logo?

2001-12-21 Thread David
hmm, i remember not too long ago, people were suggesting a new logo for php... wondering why nobody\'s discussing it now? or am i missing something? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread David
o. thanks David > >Two items in the new 4.10 change-log caught my attention: > >* Introduced a new $_REQUEST array, which includes any >GET, POST or >COOKIE variables. Like the other new variables, this >variable is also >available regardless of the context. (Andi &a

Re: Re: Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread David
ok, thanks Phillips! >The new vars will be listed and described in the manual >eventually (fairly soon). >For now, read the above release >notes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Auto submit form

2001-06-30 Thread David
How do I autoload a selection from a drop down menu form based on the selection without having to click a submit button? -- 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 administr

[PHP] Loop an INSERT 10 rows from a Form

2001-07-14 Thread David
The form is no problem but how do INSERT 10 ROWS with one insert statement. I figure some kind of loop like I did with the form. When form is submitted: $query = "INSERT INTO songs VALUES ('$id', '$songname','$rating','$video', '$album_id', '$movie')"; $result = mysql_db_query("movies", $query

[PHP] Problem Inserting Array of Rows from form

2001-07-15 Thread David
I am trying to insert an array of rows or values from a PHP form into a MySQL database. There are six columns in the table songs: id, songname, rating, video, album_id, movie. Here is what I get when I submit the form Add songs for Record Array INSERT INTO songs VALUES (' 1, blah', ' ***', ' 45',

Re: [PHP] Problem Inserting Array of Rows from form

2001-07-15 Thread David
e fields trying to be inserted into a table with six elemets. > > You should have a print of the mysql_error() in your debug code ... I bet if > you did that's what it would tell you:) > > On Sun, Jul 15, 2001 at 07:17:00AM -0600, David wrote: > > I am trying to insert an

Re: [PHP] Re: Problem Inserting Array of Rows from form

2001-07-15 Thread David
SERT INTO songs VALUES (' 2', ' test', ' ***', ' ', ' 1', ' ')MySQL error 0: id[0]=: 3 ID[1]: 3 Songname[1]: test Rating[1]: *** Video[1]: Album ID[1]: 1 test was added to the database James Tan wrote: > dear david, > > did u kno

[PHP] Pass variables with PHP_SELF?

2001-07-15 Thread David
How do you pass a variable that was passed from one form to another form and then to PHP_SELF? The first part works fine: I passed a variable from one form to another page with a form using blah.php?id=$id&songsinalbum=$songsinalbumbut when someone submits the second form the value of $songs

[PHP] cURL - Error 400

2009-04-15 Thread David
Hi I was wondering if anyone could please help me with this cURL script since I keep getting error 400 from the web server: http://pastebin.ca/1392840 It worked until around a month ago which is when they presumably made changes to the site. Except I can't figure out what configuration option i

Re: [PHP] cURL - Error 400

2009-04-15 Thread David
Except I also need to POST data to the server to login. After I've logged in, I then need to use cookies to maintain a session. Doing that via file_get_contents() just isn't possible. Thanks On Thu, Apr 16, 2009 at 2:30 AM, haliphax wrote: > On Wed, Apr 15, 2009 at 10:36 AM, Da

Re: [PHP] cURL - Error 400

2009-04-16 Thread David
Apr 16, 2009 at 11:48 PM, haliphax wrote: > On Wed, Apr 15, 2009 at 9:17 PM, David wrote: > > Except I also need to POST data to the server to login. After I've logged > > in, I then need to use cookies to maintain a session. > > > > Doing that via file_get_con

Re: [PHP] cURL - Error 400

2009-04-17 Thread David
On Fri, Apr 17, 2009 at 8:20 PM, haliphax wrote: > On Thu, Apr 16, 2009 at 11:41 PM, David wrote: > > Hi, > > > > Sorry, that didn't work. The website is still returning error 400 with > > CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled. > > > &

Re: [PHP] cURL - Error 400

2009-04-17 Thread David
On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard wrote: > On Fri, Apr 17, 2009 at 12:41 AM, David wrote: > > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: > > > >> On Wed, Apr 15, 2009 at 9:17 PM, David > wrote: > >> > Except I also need to POST

Re: [PHP] cURL - Error 400

2009-04-20 Thread David
On Mon, Apr 20, 2009 at 9:35 PM, haliphax wrote: > On Fri, Apr 17, 2009 at 7:58 AM, David wrote: > > On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard > wrote: > >> > >> On Fri, Apr 17, 2009 at 12:41 AM, David > wrote: > >> > On Thu

[PHP] change database from mysql to mssql

2004-05-16 Thread David
? Any brief suggestion or link to some good tutorial/paper would be very much appreciated. David Oilfield China Lottery Online Co. Ltd Email:[EMAIL PROTECTED] Mobile:13521805655 Phone:010-83557528-263

[PHP] why i could not use DB.php?

2004-05-18 Thread David
hp on line 2 Fatal error: main(): Failed opening required 'DB.php' (include_path='.;d:\php\PEAR') in D:\Apache2\htdocs\dunj\test\member\connectDatabase.php on line 2 what happened? i am convinced that the DB.php exists under the directory 'd:\php\PEAR'. =

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, I got this error at browser : Fatal error: Call to undefined function: import_request_variables() in /var/www/html/zm.php on line 21 - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Kalpin Erlangga Silaen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, Thank you for your suggestions, may I will upgrade my php to newer version for better results. Regards, Kalpin Erlangga Silaen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 'application' variables not available? Alternatives?

2007-09-07 Thread david
only parts required at execution from, say, a database would surely be too costly in db calls? Anyone have any ideas about what I could do? Many thanks, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 'application' variables not available? Alternatives?

2007-09-08 Thread david
Thanks very much for that Vidyet. This is going to be a massive help. "Vidyut Luther" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi David, > I'd say your best bet is to use memcached. This will allow the > variables you specified to stay in me

[PHP] simple product selection guide

2007-09-26 Thread David
This is probably pretty basic but : I'd like to create a page where the end result is the product(s) listed based on certain criteria selected by the user, so I would like a drop down menu or other means that they select from and based on that selection a second list apears and then a third list

[PHP] PHP Accelerator

2004-11-06 Thread David
. - After Burner - APC - ionCube PHP Accelerator - Turck MMCache for PHP Thanks, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiling PHP with external mySQL libraries

2005-01-06 Thread DAvid
1) Does adding 'shared,' as a ./configure option mean the module is compiled as an external, dynamically loaded module as compared to the module being statically linked into the 'exe' file? So that adding 'shared,' means I must add a line in the PHP ini file to load the extension (or load with a

[PHP] italic, bold and underline with GD ?

2005-11-06 Thread David
Can we use some function with GD to make text italic, bold and/or underline? http://php.net/imagettftext I see we can change size and font, but not style it's not possible in PHP? Thanks in advance David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Confused on Session Register

2002-04-15 Thread Lash, David A (David)
Hi All I was trying to write a PHP session and was confused whether to use session_register or $_SESSION. Anyone know when to use either of these? (Or an interpretation of the following line)? Use of $_SESSION (or $HTTP_SESSION_VARS with PHP 4.0.6 or less) is recommended for security and code

[PHP] How to obtain unique XML Elements

2002-11-23 Thread David Pratt
Anyone have a simple technique for obtaining a unique list of elements from an XML file? Am looking for something that will identify the first opening tag ie and the single tag so that I get an array of tags that I can print out. Having a bit of trouble with regex to get something to work. Bas

[PHP] File uploads...

2002-11-25 Thread David Russell
tually saves the attachment into a database. How would I re-do this? What I would preferably do is have the script AddAttachment for each $_FILES[] there might be. If I need to change it from an array type ($userfile[]) in the calling script, I can easily do this. Can someone help me? Thanks

[PHP] Dumb POST Array question

2002-11-25 Thread David Russell
Hi all, I have a multiple select called Consultants[] In one page. On the target page, how would I reference it? Would it be: $_POST['Consultants'][0] $_POST['Consultants'][1] Etc Or something else? Thanks David Russell IT Support Manager Barloworld Optimus (Pty) Ltd Tel:

[PHP] Form trouble

2002-11-25 Thread David H
Hi, After I submited a query, if I use back then forward again the form will resubmit itself. Which I do not want. Does anyone have a solution for this problem? Thanks, David __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now

RE: [PHP] Form trouble

2002-11-25 Thread David H
But what about updates to the database...? Is there away not to have the information send to the server at all? Thanks, David --- Clint Tredway <[EMAIL PROTECTED]> wrote: > When the form is submitted check the database with > the info that is > being submitted. If a record matches

[PHP] Pear vs Phplib vs adodb

2002-12-03 Thread David Eisenhart
what specific circumstances?) Cheers, David Eisenhart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] need advice on template engine

2002-12-03 Thread David Eisenhart
a result. Hope that this convinces you to give Smarty a go, David Eisenhart > http://smarty.php.net seems polular > > J > > > on 04/12/02 12:40 AM, Alexander A. Savenkov ([EMAIL PROTECTED]) wrote: > > > Hi PHP. > > > > Suggest me which template engine is more popu

[PHP] Re: Help on OOP

2002-12-09 Thread David Eisenhart
> if anyone can suggest the best tutorial on OBJECTS and CLASSES, I'll be grateful. for a very well written treatment (albeit no tutorials) of most things PHP (including OOP) I'd recommend O'Reilly's book Programming PHP (by Rasmus Lerdorf and Kevin Tatroe). David E

[PHP] Re: Help Please

2002-12-10 Thread David Eisenhart
ate the first approach - a properly designed database will generally always pay divis in the long run. Hope that this helps. David Eisenhart "Spiderwebb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From: "SpiderWebb" <[EM

[PHP] Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
I am going through the introductory tutorial on http://www.php.net/ and am stuck on this page: http://www.php.net/manual/en/tutorial.forms.php I have been able to get all of the examples up to this point to work. The form is simple: it asks for a text "name", a text "age" and has a submit button.

[PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Make sure your form is sent through the method="POST" > > "David Scott" <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > > I am going through the introd

[PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
Using $_REQUEST["variable"] causes the script to work. Why is this? And, why can I not use $_POST? "David Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am going through the introductory tutorial on http://www

Re: [PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
vars are in the http request, but > $_POST[""] contains nothing as the other poster noted: mehtod="post" > > >>-Original Message- > >>From: David Scott [mailto:[EMAIL PROTECTED]] > >>Sent: Tuesday, December 10, 2002 1:20 PM > >>To: [EMAI

[PHP] Thank you all for your help.

2002-12-10 Thread David Scott
I corrected the typo and and $_POST works correctly now. I don't know why it didn't work the first time I corrected the typo (I think that I had to re-publish my web site or somesuch), nonetheless it is working now. Thank you all. "David Scott" <[EMAIL PROTECTED]&g

[PHP] Re: PHP Editor Browser View? (Beginner Question)

2002-12-11 Thread David Eisenhart
If your local machine is running Windows you could also use Personal Web Server or IIS (whichever comes with your Windows) for the web server (of course you will also need a local copy of php, but this is very easy to set up) David Eisenhart "Ubergoober" <[EMAIL PROTECTED]>

  1   2   3   4   5   6   7   8   9   10   >