[PHP] OT Match Against

2004-03-08 Thread Richard Baskett
Do you have any idea why this query: SELECT hh_listings.listID, listingName, phone, email, held, venderID, hh_listings.disabled, hh_listings.deleted, hh_listings.levelID, levelName, islandName FROM hh_listings, hh_listlevels, hh_islands WHERE hh_listings.levelID=hh_listlevels.levelID AND hh_listin

[PHP] gd for windows not working

2004-03-08 Thread Joe Patiani
On Tue, 9 Mar 2004, Mehdi Achour wrote: > > guess. But the php extension not working. I need the php_gd2.dll running, > > I`ve copied it into system dir. But it`s still not working. > > > > Please tell me the solution, so I can use the gd dll in my windows. -- PHP General Mailing List (http:/

[PHP] Re: date() before 1 Jan 1970...

2004-03-08 Thread Ben Ramsey
Ben Ramsey wrote: $old_date = mktime(0, 11, 18, 1, 1, 1903); echo date("Y-m-d H:i:s", $old_date); Argh! I had the numbers reversed. It should be: $old_date = mktime(18, 11, 0, 1, 1, 1903); But you get the idea... -- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/Peo

[PHP] Re: date() before 1 Jan 1970...

2004-03-08 Thread Ben Ramsey
Check out the manual: http://www.php.net/strtotime Theoretically, this should work: $old_date = strtotime("January 1, 1903 18:11 pm"); echo date("Y-m-d H:i:s", $old_date); But all that echoes is: 1969-12-31 18:59:59 On that manual page, you'll see the following note: Note: The valid range of a t

Re: [PHP] new session in new window

2004-03-08 Thread Tim Traver
Chris, ok, let me start over a little bit... what I meant by the session data getting stored locally is that it is local to the web server, not locally on the client browser. I understand how session variables work. I just said local, and i was thinking server...sorry about that... what i mea

[PHP] Re: using mail() for multiple email address...

2004-03-08 Thread trlists
On 8 Mar 2004 Adam Reiswig wrote: > Normally, the two emails would end up in the same pop account but don't > seem to be when I use the above script. If I send to one or the other > they receive appropriately, but if I send to both at the same time, I > only receive one email, not both. If anyon

Re: [PHP] new session in new window

2004-03-08 Thread trlists
On 8 Mar 2004 Tim Traver wrote: > I sent a new session ID with the link to the new window like this : > > > > but all it does is change the current session id to the new one, so if I go > back to the main window, it carries the new session into it. I think this is trickier than it sounds. Ca

Re: [PHP] new session in new window

2004-03-08 Thread Chris Shiflett
--- Tim Traver <[EMAIL PROTECTED]> wrote: > I sent a new session ID with the link to the new window like this : > > > > but all it does is change the current session id to the new one, so if > I go back to the main window, it carries the new session into it. Yeah, you're only using one browser,

[PHP] Re: MYSQL & Image functions

2004-03-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I am trying to use any of the image functions with image data from a > mysql database. I can get these functions to work from files on the > server but for some reason, not out of the database. If any one has > gotten this to work, code y

[PHP] date() before 1 Jan 1970...

2004-03-08 Thread adwinwijaya
Hello php-general, how to display date like Monday, 1 January 1903 18:11 pm in php ? (since the date() function only able to display date before 1970) (and why it only support date after 1 Jan 1970) ? thanks -- Best regards, adwin -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Retrieving Browser SSL Info in PHP

2004-03-08 Thread Daniel Collins
Hello, My problem is this: I wish to have extremely highly secure sessions. I have instituted full SSL, tuned apache, and set the web server security such that there is very low possiblity of internal session hijacking. However, I am concerned about the session fixation problem (as well as a dir

[PHP] Re: Why is this happening

2004-03-08 Thread Ben Ramsey
This happens because register_globals is turned off in php.ini. In fact, it's best to leave it this way. Read the manual to find out why: http://www.php.net/variables-predefined Bryan Bateman wrote: This does not work: require('languages/' . $language . '/' . basename($PHP_SELF)); This does

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
Hello all, I have a strange problem with the mail() function. It may not be php at all. I have multiple email accounts at my website. I just started testing the mail() function to learn how it works. When I send to multiple address' separating them via a comma, all goes well until I send th

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
Hello all, I have a strange problem with the mail() function. It may not be php at all. I have multiple email accounts at my website. I just started testing the mail() function to learn how it works. When I send to multiple address' separating them via a comma, all goes well until I send the sa

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
Hello all, I have a strange problem with the mail() function. It may not be php at all. I have multiple email accounts at my website. I just started testing the mail() function to learn how it works. When I send to multiple address' separating them via a comma, all goes well until I send the sa

Re: [PHP] Changing Default Charset

2004-03-08 Thread Span
I think it can't work if the server has set the default_charset in the (Bphp.ini . (B (Beg: (Bif in php.ini has: (Bdefault_charset="gb_2312" (Bthen only changing the charset in html page didn't work. (B>>header('Content-type: text/html; charset=UTF-8'); (B (B (B- Original Message

RE: [PHP] Need Help in shoppin cart

2004-03-08 Thread Ryan A
> > Sir, > > I am a web developer, I had made many sites like shooping cart, > > mangement leads etc. > > you *had* made? what happened to them? did they walk away or something? > > > Iam comfortable in PHP as well as in ASP & iam ready to make sites > > in just $500. > > you can make a website

RE: [PHP] Back Button produces Parse Error

2004-03-08 Thread Martin Towell
I haven't had anything like this happen to me, but maybe it's not line 52, maybe it's line 51 or 50 that's the problem... HTH Martin > -Original Message- > From: Jough P [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 9 March 2004 12:43 PM > To: PHP > Subject: [PHP] Back Button produces Parse

Re: [PHP] PHP logging into htaccess Auth

2004-03-08 Thread daniel
> > How exactly does your protection scheme work? The directories with the flash videos are protected using htaccess > > If you're using PHP to read files (from a .htaccess protected > directory) there is no need to use: > > username:[EMAIL PROTECTED]/directory/to/protect > > PHP is not subjec

Re: [PHP] PHP logging into htaccess Auth

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 07:50, [EMAIL PROTECTED] wrote: > > username:[EMAIL PROTECTED]/directory/to/protect [snip] > Is there any other possible way to login dynamically with a script to > access files ? If not i'll have to store the files outside the web > directory and header load them. These

RE: [PHP] Need Help in shoppin cart

2004-03-08 Thread Chris W. Parker
New Session on Thursday, February 22, 2001 2:58 AM said: > Sir, > I am a web developer, I had made many sites like shooping cart, > mangement leads etc. you *had* made? what happened to them? did they walk away or something? > Iam comfortable in PHP as well as in

[PHP] Back Button produces Parse Error

2004-03-08 Thread Jough P
Anyone else had this problem where one of your PHP pages produces some output for a user to click on. The user clicks on one of these links which causes some behavior, then clicks their browsers BACK button. Now the original PHP page is producing a parse error. My particular parse error says:

RE: [PHP] Why is this happening

2004-03-08 Thread Martin Towell
have you got register_globals turned on or off? Martin > -Original Message- > From: Bryan Bateman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 9 March 2004 12:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Why is this happening > > > This does not work: > require('languages/' . $language

[PHP] Why is this happening

2004-03-08 Thread Bryan Bateman
This does not work: require('languages/' . $language . '/' . basename($PHP_SELF)); This does: require('languages/' . $language . '/' . basename($_SERVER['PHP_SELF']); Why -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] install mysql and mysqli together

2004-03-08 Thread Raditha Dissanayake
Hi, Installing mysqli by itself is complicated enough (or at least it does not run smoothly). I also had this need but gave up on it in the end. You can see my experience with this at http://www.raditha.com/mysql/mysqli.php my final solution was to install both php4 and php 5 :-( all the best

Re: [PHP] new session in new window

2004-03-08 Thread Tim Traver
hthat didn't work. I sent a new session ID with the link to the new window like this : but all it does is change the current session id to the new one, so if I go back to the main window, it carries the new session into it. The reason I'm doing the access control through sessions is s

Re: [PHP] Question on data loading

2004-03-08 Thread Miles Thompson
It's the old story Normalize your tables Use indexes on commonly called fields Fetch items only as needed, within reason. Remember that the web is stateless, so when you zero in for more data you will be refreshing the page from the server. One thousand items is very few for a database, try

RE: [PHP] PHP logging into htaccess Auth

2004-03-08 Thread Sam Masiello
I believe that using "http://"; in the front of the URL is required when using this syntax. --Sam [EMAIL PROTECTED] wrote: > Hi there i am having issues trying to get php to log into a htaccess > protected directory. I used be able to simply have the username and > password in the url like > u

Re: [PHP] Re: Variables inside a function

2004-03-08 Thread Jason Davidson
you can reference the vars as well, but i would guess with some logic changes you could avoid the problem your having? Referencing .. $blah = ''; function add(&$blah, $something, $somethingElse) { $something ++; $somethingElse ++; $blah = $something + $somethingElse } John Kaspar <[E

[PHP] Re: Variables inside a function

2004-03-08 Thread John Kaspar
use the global keyword... http://www.php.net/manual/en/language.variables.scope.php On 3/7/2004 6:17 PM, Nathan Croker wrote: I am relatively new to PHP. But something I can't seem to make work is when I call one of the functions I have made and a variable is set inside that function eg. funct

Re: [PHP] new session in new window

2004-03-08 Thread Chris Shiflett
--- Tim Traver <[EMAIL PROTECTED]> wrote: > As an administrator, you log in to the main application. session id's > keep track that you are authenticated, and who you are. > > In the application, you can get a list of the other users on the > system. From that user list, I want to be able to launc

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
great thanks =) regards Patrick "Chris Shiflett" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > --- Patrik Fomin <[EMAIL PROTECTED]> wrote: > > How should you do it?, i mean i have 3 pages with some forms on two of > > em First page = some general information to fill in Second

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > How should you do it?, i mean i have 3 pages with some forms on two of > em First page = some general information to fill in Second page = more > deep informationand last page to confirm and store in the database. > What methods is there to do this? se

Re: [PHP] PHP logging into htaccess Auth

2004-03-08 Thread daniel
> Hi there i am having issues trying to get php to log into a htaccess > protected directory. I used be able to simply have the username and > password in the url like > username:[EMAIL PROTECTED]/directory/to/protect > > now i get invalid syntax, any ideas ? > > -- > PHP General Mailing List (http

Re: [PHP] new session in new window

2004-03-08 Thread Tim Traver
Chris, ok, here's what the application is about. As an administrator, you log in to the main application. session id's keep track that you are authenticated, and who you are. In the application, you can get a list of the other users on the system. From that user list, I want to be able to laun

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
How should you do it?, i mean i have 3 pages with some forms on two of em First page = some general information to fill in Second page = more deep information and last page to confirm and store in the database. All pages i got is in one single php file to be able to move between them, eg if they di

[PHP] PHP logging into htaccess Auth

2004-03-08 Thread daniel
Hi there i am having issues trying to get php to log into a htaccess protected directory. I used be able to simply have the username and password in the url like username:[EMAIL PROTECTED]/directory/to/protect now i get invalid syntax, any ideas ? -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Very, very wiered problem

2004-03-08 Thread Marek Kilimajer
Mário Gamito wrote: Hi, I have this site at http://www.dte.ua.pt/ticct I don't know why, but it has a very strange behaviour. If you visit it and make a few reloads or browse through the site you'll see that *randomly* it shows only a blank page or an error saying it cannot find file whatever_fil

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > i got a page that i devided up into 3 diffrent pages, > to call i use value="1"> > or 2-3, but i found out that you can just write the url: > mypage.php?step=1 to get to step one, is there anyway to get rid of > that possibility Yes, you can use $_POS

RE: [PHP] PHP and GET/POST

2004-03-08 Thread Vincent Jansen
If you let your script decide which page to load by examining $_POST['step'] You should get the desired behaviour. Seems like you have register_globals = on in your php.ini file and you're testing the variable $step (not the best of practices) Hope this helps. Vincent -- PHP General Mail

Re: [PHP] new session in new window

2004-03-08 Thread Chris Shiflett
--- Tim Traver <[EMAIL PROTECTED]> wrote: > What I want to be able to do is to open a new window from my > application that has a new session, without disturbing the current > session. Can you elaborate on this a little? This approach seems very odd to me, and I feel certain that it must be unnece

RE: [PHP] new session in new window

2004-03-08 Thread Vincent Jansen
I quess you should start another session with another name session_name("newApp"); session_start(); Vincent -Original Message- From: Tim Traver [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 maart 2004 0:01 To: Jason Davidson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] new session in new window

Re: [PHP] Problems with upload

2004-03-08 Thread kringla
Hi I am also running debian, and if I have safe_mode=On I am unable to upload images and get the following warnings. The code works if I disable safe_mode, but I have to get it working with safe_mode also. If I ever will see any money stream to me from my 'boss'... -

[PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
Hi, i got a page that i devided up into 3 diffrent pages, to call i use or 2-3, but i found out that you can just write the url: mypage.php?step=1 to get to step one, is there anyway to get rid of that possibility, since you enter diffrent information in each of the pages and submit it, and i dont

Re: [PHP] new session in new window

2004-03-08 Thread Tim Traver
Hthat would mean that anywhere I used sessions I would have to specify a window name, right ? and where do I determine the window name ? not sure that would work with what I want to do...I just want to start a new window like I would start it if I opened a fresh IE window. Each of thos

[PHP] install mysql and mysqli together

2004-03-08 Thread Juergen Mueller
Hi, i would like to install the standard mysql extension together with the new mysqli extension. the documentation say, that in this case the bundled libmysql libary in PHP cannot be used. furthermore it recommended to use the client libaries installed by MySQL below Version 4.1 in /usr/mysql res

Re: [PHP] new session in new window

2004-03-08 Thread Jason Davidson
could create an array to hold the same session? This may not at all be what your looking for, but ive used something similar to this when building a wizard class to handle storing states in wizard steps. like $_SESSION['mySessions']['WindowOne'] = array($userid, $loginTime, $etc) $_SESSION['mySes

[PHP] new session in new window

2004-03-08 Thread Tim Traver
Hi all, I am programming an interface using PHP and rely on sessions to keep state. What I want to be able to do is to open a new window from my application that has a new session, without disturbing the current session. I know that I can kill the current session and start a new one, but that's

Re: [PHP] Very, very wiered problem

2004-03-08 Thread Brian Drexler
I've run into a similar problem before and it seems like the problem was with permissions on the file. You may want to double check those. Brian - Original Message - From: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:43 PM S

Re: [PHP] Very, very wiered problem

2004-03-08 Thread Ryan A
Hey, I dont really know the cause of your problem but I would put in a bunch of echo statements to "pin down" the area where you are getting the random char, then you could go in and debug a bit more easily. HTH. Cheers, -Ryan On 3/8/2004 10:15:47 PM, Mário Gamito ([EMAIL PROTECTED]) wrote: > H

Re: [PHP] Question on data loading

2004-03-08 Thread Jason Davidson
I think your best bet is to only show product titles, and possibly a bit of the summary or something in the catalogue, then have the user click the product to view full information on it. this takes 2 db calls, one to load the limited info of all products, and one to load all info on one product.

Re: [PHP] Re: Mail Function

2004-03-08 Thread Stuart
Will wrote: My sendmail_from is as follows: sendmail_from = [EMAIL PROTECTED] Did you restart Apache (assuming you're using the module) after making this change? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Stuart
Ben Ramsey wrote: Anyone know of any kind of character limit in php or mssql (yes, Microsoft SQL Server) for entering long text into a text column (of around 4,055 characters in length--that's where it's cutting off)? Have a look in php.ini - IIRC there are 2 options that affect this. -- Stuart

[PHP] Very, very wiered problem

2004-03-08 Thread Mário Gamito
Hi, I have this site at http://www.dte.ua.pt/ticct I don't know why, but it has a very strange behaviour. If you visit it and make a few reloads or browse through the site you'll see that *randomly* it shows only a blank page or an error saying it cannot find file whatever_file.php although it's

[PHP] Question on data loading

2004-03-08 Thread marc serra
Hi, I'm currently designing a website with a catalogue containing lots of products (more than 1000). To reduce response time to database, I want to know if there is a solution like loading all objects in memory for all users like a servlet could do in java and after giving to each people conne

Re: [PHP] Disowning apache processes

2004-03-08 Thread Michal Migurski
>I am writing a control panel for a gamehost using PHP, which calls a bash >script (which wraps around another) to control game servers > >Right now once the bash scripts are running the PHP script that called >them is unavailable for any more users, and if apache is restarted the >bash script is k

[PHP] Disowning apache processes

2004-03-08 Thread Antony Seedhouse
I am writing a control panel for a gamehost using PHP, which calls a bash script (which wraps around another) to control game servers Right now once the bash scripts are running the PHP script that called them is unavailable for any more users, and if apache is restarted the bash script is kill

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
My mistake. Good one on the spelling I can't believe I missed that one alex hogan > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: Monday, March 08, 2004 12:26 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Variables inside a function > > On Tuesd

Re: [PHP] 500 Internal Server Error.

2004-03-08 Thread Michal Migurski
>Hi all, >I've this problem when I use a script. >This is the error: >Internal Server Error Tail your error_log for more information - a 500 status code could mean pretty anything. - michal migurski- contact info and pgp key: sf/

Re: [PHP] 500 Internal Server Error.

2004-03-08 Thread Richard Davey
Hello francesco, Monday, March 8, 2004, 6:26:03 PM, you wrote: fab> I've controlled all the script but I don't find the fab> problem.For a real time test this is the url: fab> www.automationsoft.biz/crivello.php can anyone help me about this fab> questions? It is impossible to help without know

Re: [PHP] Compiling PHP classes/libraries to objects

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 04:44 pm, Tariq Murtaza wrote: > Hi All > > Is there any way to use compiled form of libraries/classes in PHP. > Comments please... http://turck-mmcache.sourceforge.net/ > > Regards, > Tariq -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en --

Re: [PHP] php debug

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 07:31 am, Doug Dalton wrote: > I am getting an error in php that is causing a core dump : > (gdb) core php.core > Core was generated by `php'. > Program terminated with signal 11, Segmentation fault. > #0 0x00686264 in ?? () > > The program is a script and is working fine u

Re: [PHP] PHP support C++?

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 07:03 am, Kenneth wrote: > Hi all, > > Does PHP support C++ language? > If yes, how can it be converted? you can write an extensions, which is actually rather easy to do. There's an article at http://bugs.tutorbuddy.com/phpcpp/phpcpp/ that claims to tell you how to use c+

[PHP] 500 Internal Server Error.

2004-03-08 Thread francesco
Hi all, I've this problem when I use a script. This is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred,

Re: [PHP] Variables inside a function

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 02:03, Alex Hogan wrote: > If I read his post correctly he was looking to make blah() available and > not $blah. The OP says "so that I can use $blah anywhere in the script?", which to me means that $blah needs to be global ... [snip] > Of course obviously being one of

RE: [PHP] Variables inside a function

2004-03-08 Thread Jay Blanchard
[snip] I then echo $blah; somewhere else in the script but nothing is echo'd. How do I make it so that I can use $blah anywhere in the script? [/snip] I went back and re-read the post, and his question above is the important one First you must return something from the function, then you must

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
If I read his post correctly he was looking to make blah() available and not $blah. In my mind that meant that he would be calling his function named blah not the variable. Then if he called the function blah he would get the value of $blah inside his function. Of course obviously being one of t

RE: [PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
Oh I see what you're talking about now... Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables inside a function

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 01:44, Alex Hogan wrote: > Don't you need to set a return? > > Return $blah; > > At the bottom of your function block. That does not make the variable $blah available elsewhere in the program. The OP should take a look at manual > Variables > Variable scope. -- Jason Wo

RE: [PHP] Very simple forms processing question

2004-03-08 Thread Jay Blanchard
[snip] I want to set up a mailing list on a site, and I want a very simple register/deregister facility. So a text field for the email address, then an [add] button and a [remove] button. Now, what I really want is for both [add] and [remove] to be 'submit' type HTML buttons for the same form, but

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Ben Ramsey
That's precisely what I was looking for, Alex! I must have overlooked it when skimming through php.ini. Thanks! Alex Hogan wrote: Hi Ben, The setting in the php.ini is; mssql.textlimit = 4096 Reset that value to what you want. I have mine set to 400. Valid range 0 - 2147483647 alex hog

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
Don't you need to set a return? Return $blah; At the bottom of your function block. alex hogan > -Original Message- > From: Nathan Croker [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 07, 2004 6:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Variables inside a function > > I am r

Re: [PHP] Very simple forms processing question

2004-03-08 Thread Raditha Dissanayake
if you asign a name to your submit button a corresponding element will be created on the $_REQUEST, $_GET or $_POST array whichever you are using eg you should use etc all the best [EMAIL PROTECTED] wrote: Hi I want to set up a mailing list on a site, and I want a very simple register/deregi

RE: [PHP] Variables inside a function

2004-03-08 Thread Jay Blanchard
[snip] eg. function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; } [/snip] function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; return $blah; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Very simple forms processing question

2004-03-08 Thread john
Hi I want to set up a mailing list on a site, and I want a very simple register/deregister facility. So a text field for the email address, then an [add] button and a [remove] button. Now, what I really want is for both [add] and [remove] to be 'submit' type HTML buttons for the same form, but at

Re: [PHP] socket extension documentation ???

2004-03-08 Thread Raditha Dissanayake
http://www.google.com :-) Hemp Cluster wrote: Hy... @ all I'm trying to find a better documentation about socket extension in php as on php.net self. does anyone know an another source for me ??? thx & regards Jointy -- Raditha Dissanayake. -

[PHP] Variables inside a function

2004-03-08 Thread Nathan Croker
I am relatively new to PHP. But something I can't seem to make work is when I call one of the functions I have made and a variable is set inside that function eg. function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; } I then echo $blah; somewhere else in the script but nothing is echo'd. How

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Brian V Bonini
On Mon, 2004-03-08 at 12:29, Thiago Silva wrote: > What about Quanta? LOVE Quanta, been using it for a couple years now -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket extension documentation ???

2004-03-08 Thread Hemp Cluster
Hy... @ all I'm trying to find a better documentation about socket extension in php as on php.net self. does anyone know an another source for me ??? thx & regards Jointy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
What about Quanta? Anyone use it? And debuggers? APD? XDebug? DBG? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Alex Hogan
Hi Ben, The setting in the php.ini is; mssql.textlimit = 4096 Reset that value to what you want. I have mine set to 400. Valid range 0 - 2147483647 alex hogan > -Original Message- > From: Ben Ramsey [mailto:[EMAIL PROTECTED] > Sent: Monday, March 08, 2004 10:30 AM > To: [EMAIL P

Re: [PHP] Php does not recognize librerias DLL.

2004-03-08 Thread Raditha Dissanayake
You need to have the mssql client library also installed on the same computer. German Arango wrote: Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php thi

RE: [PHP] Php does not recognize librerias DLL.

2004-03-08 Thread Shahed, Raja
Copy this "Php mssql.dll" from extension catalogue to your Windows->system32 catalogue (if(you are on XP || in systems if you are on NT) If you are on Linux box and trying to get connected with a MSSQL server running on a WinBoX. Cheers Reverand Raja >-Original Message- >From: Ge

[PHP] Php does not want recognizes librerias DLL.

2004-03-08 Thread German
Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:/PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php this installed php under a IIS of Windows 2000 advanced server. The variable of php.ini this written

Re: [PHP] Re: varchar size mssql

2004-03-08 Thread Ben Ramsey
That's fine. What I was specifically looking for was whether there was some sort of setting I was missing in php.ini, since I know that the database is accepting large text just fine. Thanks for the help, though. I guess I'll scrounge around elsewhere. Jay Blanchard wrote: [snip] The problem

RE: [PHP] What is CLI?

2004-03-08 Thread Jay Blanchard
[snip] What is CLI that PHP 5 mentioned about? [/snip] Wait just a second there ace, someone will answer your FIRST post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What is CLI? Something about PHP 5 that have it...

2004-03-08 Thread Jay Blanchard
[snip] What is CLI? It is something that PHP 5 that have it. [/snip] It is the PHP Command Line Interface http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
What is CLI that PHP 5 mentioned about? Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php does not recognize librerias DLL.

2004-03-08 Thread German Arango
Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php this installed php under a IIS of Windows 2000 advanced server. The variable of php.ini this written o

[PHP] What is CLI? Something about PHP 5 that have it...

2004-03-08 Thread Scott Fletcher
Hi! What is CLI? It is something that PHP 5 that have it. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: varchar size mssql

2004-03-08 Thread Jay Blanchard
[snip] The problem is that I want to stick with standard SQL. I would assume that convert() is a MS SQL Server function, and, thus, not standard (will not work in other database formats). Did what you read mention why the data was being truncated? Perhaps if I knew why, then I could fix it. [

[PHP] Re: varchar size mssql

2004-03-08 Thread Ben Ramsey
The problem is that I want to stick with standard SQL. I would assume that convert() is a MS SQL Server function, and, thus, not standard (will not work in other database formats). Did what you read mention why the data was being truncated? Perhaps if I knew why, then I could fix it. Jason D

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Marco Schuler
Am Mo, 2004-03-08 um 17.46 schrieb Thiago Silva: > Hello All. > For all of you working with PHP on a GNU/Linux machine: > > What development tools (editors, debuggers, modeling tools, SGBDs) do > you or your team use? Editor/debugger/profiler: http://www.zend.com/store/products/zend-studio.php

[PHP] SESSION vs ENV variables?

2004-03-08 Thread Vincent DUPONT
Hi, My script needs to load a config file with DB connection properties, etc. At the beginning of the session, the ini file is loaded and all values are stored in $_SESSION After the loading, a flag is also set in $_SESSION so that the ini loading is no more executed. However, all ini properti

[PHP] varchar size mssql

2004-03-08 Thread Jason Davidson
I read that the varchar size for ms sql is 8000 limit. i also read that someone having a problem with it getting truncated fixed his problem by using convert(text, $value) in the sql statement.. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Amount of memory per user

2004-03-08 Thread Cesar Cordovez
Hi List! I was just wondering... How can I know how much memory my scrips are using per connection, thread, or user? TIA Cesar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Linux tools for PHP

2004-03-08 Thread Shahed, Raja
Try Emacs. Takes time to learn but real stuff Or vi Cheers Reverand Raja >-Original Message- >From: Thiago Silva [mailto:[EMAIL PROTECTED] >Sent: lunedì 8 marzo 2004 17.54 >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Linux tools for PHP > > >Interesting, this management tool. >And

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
Interesting, this management tool. And debuggers? Do you use any? Jason Davidson wrote: Hey, tools i like using are. nedit - main editor i use vi - for quick or network edits apache - webserver ive tried some of the ide's and other editors like kate, quantra and such, and i constantly fall back to

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Jason Davidson
Hey, tools i like using are. nedit - main editor i use vi - for quick or network edits apache - webserver ive tried some of the ide's and other editors like kate, quantra and such, and i constantly fall back to Nedit, for its simplicity. My only feature request for nedit, would be tabbed document

[PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
Hello All. For all of you working with PHP on a GNU/Linux machine: What development tools (editors, debuggers, modeling tools, SGBDs) do you or your team use? Thanks, Thiago Silva -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >