Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Markus H. Maussner wrote: > ...i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax > highliting and this things... emacs and xemacs shouldn't be forgotten here. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Toby Miller wrote: > As far as Linux goes, Jedit is the only editor I've been able to find that > compares against something like Textpad or UltraEdit. It should be stated here that vi (vim, gvim) and emacs (xemacs) belong to a different class of editor. If you know how to handle them (which may

Re: [PHP] Shorter way for "each"

2001-01-10 Thread Alexander Wagner
Moritz Petersen wrote: > is there a shorter way to do: > > while (list($key, $value) = each($my_array)) > { > echo $value... > } > > I just need the value! PHP3: while (list(, $value) = each($my_array)) { echo $value... } PHP4: foreach ($my_array as $value) { echo $value..

Re: [PHP] Dreamwever for PHP?

2001-01-10 Thread Alexander Wagner
Marcus Ouimet wrote: > Are there any programs that have a graphical interface like dreamweaver for > PHP? Are you aware what PHP actually IS? Graphical frontends for programming languages are usually used only for the GUI part. What would you expect? Something to write your code for you? There

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
MR wrote: > Mmmmfff... ultraedit's wordlist file still lacks the color of > allaire's homesite - it does detect which parts of the .php file are > HTML and what parts of the file are PHP code, and colours syntax very > well... Who needs that? Nesting PHP in HTML is bad style, IMHO. Just becau

Re: [PHP] php 4 isn't parsing php.3 files

2001-01-10 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: > I have a SuSE 7.0 Linux install with apache and mod_php4. I can > do .php files all day long, but I have a shopping cart thingie that > is written for php3, and none of the files will parse. I have tested > my machine with a phpinfo() php3 file, and no go on that either.

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Alexander Wagner wrote: > Who needs that? Nesting PHP in HTML is bad style, IMHO. > Just because it is possible, ... is no reason to do it, I wanted to say. *whistle* Wagner -- Sanity is calming, but madness is more interesting. -- PHP General Mailing List (http://www.php.ne

Re: [PHP] looking for a PHP editor

2001-01-11 Thread Alexander Wagner
Toby Butzon wrote: > Come on... mixing PHP and HTML in the same file isn't bad > style... in fact it can make things easier to read, if you > do it right. > > This is one of PHP's biggest features... otherwise we'd just > have another Perl... > > my .02... There are more differences between P

Re: [PHP] Shopping Cart Schema - Sessions

2001-01-11 Thread Alexander Wagner
Paul K Egell-Johnsen wrote: > When in doubt, follow the stream... Check out this, Amazon uses cookies, > Amazon does a lot of business. Do you really feel that Amazon misses out > on a lot of customers? Do you know of any large websites doing shopping > carts which doesn't rely on cookies? I don'

Re: [PHP] Shopping Cart Schema - Sessions

2001-01-11 Thread Alexander Wagner
Paul K Egell-Johnsen wrote: > What really irked me is that you've received advice about market > penetration of shops. Based on my experience it is only geeks/OSS people > who have any problem with cookies, and at the same time those are the > people who are experts and then deal out advice about

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alexander Wagner
Alex Black wrote: > echo " value=\"$value\">" > > starts to make you insane. If it is done wrong spread over the whole project hidden between lines of PHP-code, it sure does. > speaking as an html author, and a lover of php, _please_: > > > > it makes the code useable. No. makes the code u

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > > > > and the problem with that, is you're not paring tons of html through a > search-replace function, which also created unnecessary overheead, and You have a point here. Template-systems are slow. > forces you (once again) to make a spec that says "here's how this templat

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > >> part of the point was for _PHP_ to be embedded html, in my opinion your > > > > It was created that way. It still is possible. Is can be quite handy, > > sometimes (or often, depends on what you do). That doesn't mean you have > > to use it. > > I'm not implying that there a

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > Speaking as a not-pot-smoking mac-using only partially hippie web designer: > > why bother with creating your own syntax? > > why not just explain some _super_basic_ php syntax to the "html dude" and > have him do the code himself? > > also, dreamweaver nicely ignores Actuall

Re: [PHP] Use

2001-01-13 Thread Alexander Wagner
Arcady Genkin wrote: > I have noticed that in documentation, how safe is it to use it? Pretty safe, I think. Possibly even safer than those asp-style tags, regarding possible changes in the future. Wagner -- Sanity is calming, but madness is more interesting. -- PHP General Mailing List (h

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > Unlink works on some installations, not others. I think it works on NT > but not 95 or perhaps the other way around. Why is this? Unlink is > hardly an unsupported system call in windows! Anybody know? Unlink comes from UNIX so it's probably supported by NT rather than Win9x. This

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > A rose by any other name would smell as sweet, and I'm sure I > remember deleting files back in my old dos days, not to mention > win95 ;-) Um, I suppose every OS does. (I deleted one file or another as well) However this was about unlink, wasn't it? Unlink, basically, is a UNIX

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Alexander Wagner
Scott Gerhardt wrote: > It is NOT ported to Linux is it? > I couldn't find any information on the website indicating weather it was > compiled for *NIX or not. Use emacs. Or vi. Or quanta. Or something else. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing Lis

Re: [PHP] include statement

2001-01-17 Thread Alexander Wagner
Michael Zornek wrote: > which is scary cause this worked too: > > include("/usr/local/apache/conf/httpd.conf"); > ?> > > doesn't this seem like a huge security hole? No. If you know can trust your scripts, this is possible, but trusted scripts won't do any abuse, will they? If you can't trust y

Re: [PHP] PHP Win32 and *NIX

2001-01-17 Thread Alexander Wagner
Marc Clerc wrote: > > 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. It's mostly the same. But there are a few things that won't work on Windows, like cry

Re: [PHP] Homepage

2001-01-17 Thread Alexander Wagner
S Bey wrote: > Just a small (and hopefully easy) question. > > Is there a PHP equivalent of index.html? I want to be able to go straight > to a PHP script without the user specifying the filename. This is not a PHP-issue, its just a matter of how your webserver is configured. With apache, you ju

Re: [PHP] PHP Editors

2001-01-18 Thread Alexander Wagner
Karl J. Stubsjoen wrote: > So what editor is recommended? I'm a little familiar with Emacs (kinda > cool, but I'm use to keywords and such being colored - as in Interdev). Try emacs with a php-mode (there are several, search for them). Wagner -- One maniac alone can do what 20 together cannot

Re: [PHP] PHP Editors... perhaps Ultraedit

2001-01-18 Thread Alexander Wagner
John Huggins wrote: > I suggest Ultraedit (on the PC) at http://www.ultraedit.com. I use it > along side Dreamweaver with good results and good organization. Ultraedit > (out of the box) does not know about PHP; you configure it with one of the > several wordlist files and then you will have syn

Re: [PHP]

2001-01-18 Thread Alexander Wagner
Alex Black wrote: > xml problems? > > _what_ xml problems? 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]

2001-01-18 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: > > > xml problems? > > > > > > _what_ xml problems? > > > > > No, open tag enabled in php.ini. I meant that with short-tags on, http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adminis

Re: [PHP]

2001-01-18 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: > > And for all three cases the closing tag is ?>. Wasn't there a thread on PHP-DEV about the PHP-parser mistaking ). Got my point? Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Why won`t this work??

2001-01-21 Thread Alexander Wagner
bard wrote: > Plus, this is PHP, not javascript. Variables look like this, "$UN" > not this, "UN". $UN is a variable. UN might be a constant, if it is defined as one. If not, its just a string. Wagner -- Three may keep a secret, if two of them are dead. -- PHP General Mailing List (http://w

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Alexander Wagner
Brian White wrote: > 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' > > I frankly don't beleive that "PHP" started life as a recursively > defined acronym - I remember reading somewhere that it stood for > "Personal Home Page" which makes more sense to me. > > Anybody know the truth

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Alexander Wagner
Boget, Chris wrote: > > > Also, you can check the value of $HTTP_REFERER for the ip of > > the trusted host, to further eliminate the potential. > > How do you get the IP out of $HTTP_REFERER? As far as I know, > that only tells you the referring url, not the ip address. This is correct. But y

Re: [PHP] Session tracking question

2001-01-23 Thread Alexander Wagner
Wade D wrote: > what do most use, combination of cookies and GET? IMHO the optimal solution are cookies with a fallback to GET. In some situations, though, it may be better to drop cookies completely. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List (htt

Re: [PHP] declare variable

2001-01-24 Thread Alexander Wagner
kaab kaoutar wrote: > echo " " . $personal["name"]. "\n" . $personal["email"] . " " ; > echo Count($beer); > $i=0; > for ($i=0;$i ?> > > i have the same error the constant i is not defined ... > how acn i fix it ? Try for ($i=0;$ihttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Template recommendations

2001-02-28 Thread Alexander Wagner
Joseph H Blythe wrote: > Not be phplib (sorry I have tried and dont like the autoprepend) You can use the template-class from PHPlib whithout the rest of the lib, it is completely independent. Just include the "template.inc"-file and you can start. > Be easy to use It's not that easy to use b

Re: [PHP] Static Classes

2001-03-04 Thread Alexander Wagner
ADnoctum wrote: > Hello to everyone. First time here and already I have a question: PHP > has static classes?. [..] > Test.hello(); > > Now I have a variable "Test" wich is a class that canot be > instantiated nor inherited. Can I do that in PHP?. PHP has static method calls with class::method()

Re: [PHP] Day of the Week

2001-03-04 Thread Alexander Wagner
Chris Anderson wrote: > > Is there a function to return the day of the week? Or at least a > number that I can use to determine this? RTM http://php.net/date Have a look at "D", "l" (lowercase L) and "w". regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing Lis

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Alexander Wagner
Joe wrote: > Is there a way to determine if an array is associative or not? Maybe > something similar to the is_array() function ?? There are only assotiative arrays in PHP. regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: > > There are only assotiative arrays in PHP. > > PHP has associative and numeric (normal) arrays. But is_array() says > only if it is an array or not. The distinction could only be made if > you look at keys. Keys can be integers or strings. I hope this was > correct, if

Re: [PHP] Zend?

2001-03-17 Thread Alexander Wagner
Chris Anderson wrote: > I've heard alot about the Zend Encoder. [..] > Does it require > any extra server settings etc? It requires the Zend Optimizer to be installed. regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] PHP for Apache 2.0

2001-04-14 Thread Alexander Wagner
Patrick Dunford wrote: > According to Apache, modules made for Apache 1.3 will not work as-is > in 2.0 due to changes in the API. > > Is a version of PHP 4 for Apache 2.0 coming out? Try the configure-option --with-apxs2 instead of --with-apxs and it should work with Apache 2. PHP 4 supports fa

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Joseph Koenig wrote: > > Well, obviously there's a problem with that. The form field will show > "Here's the text " and then thinks it ends. Is there any way to get > around this, other than stripping out her quotes? Thanks, http://php.net/htmlentities regards Wagner -- "A conference is a gat

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Boget, Chris wrote: > > http://php.net/htmlentities > > Or, even better, just use addslashes(); > > $query = "INSERT INTO table VALUES = ( " . addslashes( $formField ) . > " )"; > > That way the quotes will remain in the value to display. This isn't the Problem. The string was cut in the input fi

Re: [PHP] unserialize returns nothing.

2001-04-21 Thread Alexander Wagner
Taylor, Stewart wrote: > I'm fetching a serialized array from a database but when I call > unserialize() the function returns false. > > Any suggestions as to why unserialize is returning false? I once had this problem when I serialized an array which contained a variable from global namespace w

Re: [PHP] What's wrong with this code?

2001-04-22 Thread Alexander Wagner
Tyler Longren wrote: > $file = fopen("includes/about.inc", "r"); > $data = fread($file, 2400); [..] > Any ideas why that doesn't work on one server but it will work on > another server? The server it works on is Win2k, IIS5, php4.0.4pl1. > The server it doesn't work on is Linux, Apache, php4

Re: [PHP] Escaping Characters - URL Encoding.

2001-04-24 Thread Alexander Wagner
Sterling wrote: > $topic = "Aerospace & Commercial Space"; > > $link_value = str_replace("&", '%26', $topic); > $link_value = str_replace(' ', '%20', $topic); This should be $link_value = str_replace("&", '%26', $topic); $link_value = str_replace(' ', '%20', $link_value); Anyway, this is this wr

Re: [PHP] PHP --with-imap

2001-04-25 Thread Alexander Wagner
Calin Rotaru wrote: > I want to use imap functions. I receive a message that imap function > is not defined. I compiled PHP again with --with-imap option , but > I've got an error message at Apache compilation. > What is realy happening? What error-message do you get? regards Wagner -- "In pla

Re: [PHP] PHP Binaries aside from Windows

2001-04-25 Thread Alexander Wagner
Kyutums wrote: > I tried looking for other PHP binaries at > http://www.php.net/downloads.php. All it displayed was one from > Windows. What happened to the versions for Linux? Does it have a > version for Solaris? Just grab the source and compile. This will work on most Unices, including Linux

Re: [PHP] Newbie question - adding vars

2001-04-28 Thread Alexander Wagner
Jamie Saunders wrote: > How do you add text vars together e.g. > > $varone = "hello"; > $vartwo = "world"; > > $varthree = ($varone, $vartwo); $varthree = $varone . $vartwo; although $varthree = $varone . ' ' . $vartwo; might be more appropriate. regards Wagner -- "In place of infinity we usua

Re: [PHP] "Incorrect number of arguments"

2001-05-07 Thread Alexander Wagner
Sverre Johan Tøvik wrote: > us), is there any chance we might see an option to turn off this > strict checking? Not the checking, but the reporting. Just change "error_reporting" in your php.ini regards Wagner -- On a Swedish chainsaw: Do not attempt to stop chain with your hands or genitals!

Re: [PHP] Installing the GD Library

2001-05-09 Thread Alexander Wagner
Joseph Bannon wrote: > What all do I need to do to install the GD Library and make it work > with PHP? On what kind of platform? regards Wagner -- "Some guy hit my fender, and I told him, 'Be fruitful and multiply,' but not in those words." - Woody Allen -- PHP General Mailing List (http:/

Re: [PHP] Cannot find mysqlclient library

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > What exactly is the problem? I don't understand this error > message > > configure: error: Cannot find mysqlclient library under > /usr/local/mysql-3.23.37 Before installing PHP --with-mysql=/usr/local/mysql-3.23.37 , you have to install mysql there first. regards Wag

Re: [PHP] starting up apache with php

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > Thanks Wagner for the help on the other issue. It worked :-) Sure it did :-) > Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: > cannot open shared object file: No such file or directory > > I have the "libmysqlclient.so.10" file in the "/usr/lib/

Re: [PHP] it didn't upgrade to 4.0.5

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > Thanks Shawn, that worked :-) Oops, didn't see that... > Next thing. I tried to upgrade PHP to 4.0.5 but when I do "php -v", I get > "4.0.4". What do I need to check to make sure it was upgraded? Apparently you cgi-binary is still 4.04. When you configure PHP without any

Re: [PHP] "super" global variable

2001-05-15 Thread Alexander Wagner
Sigitas Paulavicius wrote: > Is it possible to declare some kind of "super" global variable in > PHP, which would be avaliable to all later PHP scripts/processes? As long as you use one server only (no load-balancing), you can use shared memory. http://php.net/shmop Try phpbuilder.com or google

Re: [PHP] WTF: mail() is not supported in this PHP build ???

2001-05-15 Thread Alexander Wagner
Michael Geier wrote: > RedHat 7.1 > php4.0.4pl1 Installed from source? regards Wagner -- "Some guy hit my fender, and I told him, 'Be fruitful and multiply,' but not in those words." - Woody Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] hi, highlight_string.

2001-05-21 Thread Alexander Wagner
Michel 'ZioBudda' Morelli wrote: > Hi, I want to save into a variable ($tmp) the value of > highlight_string command. Any one? or any similar function? Have a look at PHP 4's output buffering functions. You can use them to safe the output instead of displaying it. regards Wagner -- "Some guy

Re: [PHP] mysql and user-defined functions

2001-05-21 Thread Alexander Wagner
Lybarger, Denver J (LYBARDJ8) wrote: > Is there a way to return the results of a mysql_query or the > array that is generated after mysql_fetch_array, via a function? > Note I have tried to do a straight return. What was the problem? This should work. Maybe you just got the mysql_fetch_ar

Re: [PHP] mysql and user-defined functions

2001-05-22 Thread Alexander Wagner
Lybarger, Denver J (LYBARDJ8) wrote: > function findEntryId($tableName,$keyName){ > connects to DB > $db ="SELECT * FROM '$tableName' WHERE '$keyName' = $selectOption"; Where does $selectOption come from? Looks like you simply produced a MySQL-parse-error. Try var_dump()-ing $db and $temp, thi

Re: [PHP] register_globals & PHP_SELF

2001-03-21 Thread Alexander Wagner
Steve Haemelinck wrote: > Does the PHP_SELF variable only work if you have your > register_globals on? Probably. > Is their an another for still using it ? $putitinhere = getenv("PHP_SELF"); might work. Or, if track_vars is ON (default since PHP 4.03 I think), you might find it in $HTTP_SERVER

Re: [PHP] Form variables

2001-03-21 Thread Alexander Wagner
Michael George wrote: > I read this after I'd created a script which generates a form with a > 2D array on it. But as I test it, it seems to work. > > In short, it the 1D array a limitation of > HTML or PHP? I think it is a limitation of PHP 3. It should work with PHP 4. HTML is not responsible

Re: [PHP] Print or Echo.

2001-04-06 Thread Alexander Wagner
Jeff Oien wrote: > "As for a print vs. echo, echo gives you more options, > such as being able to continue output on multiple lines > like an < you would not be able to accomplish this." There's another difference. print() returns true on success and false when called after a connection abort. E

Re: [PHP] Need a functional equivilant to the ASP QueryString collection

2001-04-09 Thread Alexander Wagner
Daniel wrote: > The problem is, I don't know what the names of the input elements > will be. In ASP, I would iterate through the QueryString collection > (e.g. For Each item In Request.QueryString), but unless I am missing > it in the documentation, I don't see an equivalent in PHP. You should fi

Re: [PHP] Parse error after end of file

2001-04-09 Thread Alexander Wagner
> Accessible Computers > > Looks like you're missing a } here. regards Wagner -- "I haven't committed a crime. What I did was fail to comply with the law." David Dinkins, New York City Mayor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] passing string variables in url

2001-04-09 Thread Alexander Wagner
Claudia Smith wrote: > I am passing a string value via a url to be used for printing on a > page and for sending info via email. > > I first encode the string before passing it. This is correct, but you should be using urlencode() instead of rawurlencode(). To be frank, I don't know what the di

Re: [PHP] can't restart apache, help needed

2001-04-10 Thread Alexander Wagner
Thomas Angst wrote: > ./configure --with-axps=/usr/sbin/apxs > make > make install and > /etc/init.d/apache restart > is the http server no more starteable. What is the exact error-message? What does /sbin/init.d/apache configtest say? regards Wagner -- Assumption is the mother of all fuck-up

Re: [PHP] apache module win32

2001-04-13 Thread Alexander Wagner
Dominick Vansevenant wrote: > I am looking for a compiled win32 apache module for php4, I suppose > this is a DLL, can anyone tell me where I can find this? Otherwise > I'll have to install Visual C or something. The more features the > better I suppose. http://www.php4win.de regards Wagner --

Re: [PHP] RE: Lists are back up

2001-06-18 Thread Alexander Wagner
scott [gts] wrote: > most email programs will allow you to filter > by email address also. works great for me. Yeah. If Return-Path contains "php-general-return" as a filter-rule works great. regards Wagner -- Little Boy: "Mr. President, how did you become a war hero?" President Kennedy: "I

Re: [PHP] Solution to "headers already sent" error.

2001-06-18 Thread Alexander Wagner
Hiho, Merio, Quinn wrote: > So, during the time the lists were down, i was banging my head over a > seemingly impossible error message. > > Warning: Cannot send session cache limiter - headers already sent > > What?! I exlaimed.. the first line in my page registered the session > variable i was u

Re: [PHP] variables in a e-mail

2001-06-18 Thread Alexander Wagner
Hiho, Richard Kurth wrote: > How can I add a variable to an e-mail on the fly. Say I have a form on > my page that the user fells in with data. but when he fills in the > message things like Hello,$Variable are added before it is sent. Does > this make sence Of course it does. However, variables

Re: Re[2]: [PHP] variables in a e-mail

2001-06-20 Thread Alexander Wagner
Hiho, Richard Kurth wrote: > Hello Alexander, > This is pretty much what I want to do. I want to have a e-mail script > in my application and have it so the user can customize the e-mail that > is sent out in a configure file. Say he wants to send a recurring bill > to his customers and he wants

Re: [PHP] bad form...

2001-06-20 Thread Alexander Wagner
Dallas K. wrote: > On a previous shopping cart, some of our "fantastically complex" > scripts got so big that WE couldn't follow the logic too many > conditional test, things started to conflict it was hell... so we > found that it was better to break the processing code apart from the > h

Re: [PHP] good chat script?

2001-06-23 Thread Alexander Wagner
Daniel Goldin (E-mail) wrote: > Anybody know of a good chat script? I'm hoping for the chat equivalent of > phorum. Thanks for any help. If you can live with the hassle of rebuilding PHP, you might try ircg from Sascha Schumann (http://www.schumann.cx). This is by FAR the most performant chat f

Re: [PHP] PEAR

2001-06-24 Thread Alexander Wagner
Hiho, Jason Lustig wrote: > I just installed PHP 4.06 on my setup, and noticed that there's a bunch of > classes/scripts in the /pear directory. Does anyone know what the status of > these scripts are, as in if they are finished quality (ie, they can be used > successfully on websites)? I thought

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Alexander Wagner
Jamie Thompson wrote: > use the str_replace() function > http://www.php.net/manual/en/function.str-replace.php No. Use stripslashes. http://php.net/stripslashes regards Wagner > -Original Message- > From: Marcus James Christian [mailto:[EMAIL PROTECTED]] > Sent: 27 June 2001 05:19 > To

Re: [PHP] php serialize

2001-07-03 Thread Alexander Wagner
scott [gts] wrote: > i want to write serialize() and unserialize() in perl > so that arrays (no objects or references yet) can be > read/written by both PHP and Perl to help with my > cross-language session implementation. Why don't you use WDDX? regards Wagner -- Madness takes its toll. P

Re: [PHP] Batch job in UNIX.

2001-07-05 Thread Alexander Wagner
Johan Vikerskog (ECS) wrote: > If i want to add something into a table with just the mysql command. > Is this possible. > > Like > ./mysql -p -u root test "insert into..." > > Something like this.Is that possible and how in that case. echo "insert into..." | ./mysql -p -u root test or cat filenam

Re: [PHP] Batch job in UNIX.

2001-07-05 Thread Alexander Wagner
Johan Vikerskog (ECS) wrote: > But i want dont want to type in the password. I want to have the > password in the command file. "--password=whatever_it_is" instead of "-p" ? If that doesn't help, try ./mysql --help regards Wagner -- Madness takes its toll. Please have exact change. -- PHP G

Re: [PHP] Number of the line ?

2001-07-06 Thread Alexander Wagner
Emmanuel FAIVRE wrote: > i'm currently writing a debugging lib in PHP and i would like to find > the number of the line in my script > 1 2 echo "i'm on line $NUMBER_LINE\n"; > 3 echo "i'm on line $NUMBER_LINE\n"; > 4 ?> It's __LINE__, I think. regards Wagner -- "Isn't it strange? The same peo

Re: [PHP] Speed of loding PHP pages

2001-07-11 Thread Alexander Wagner
Don wrote: > Has anyone tries any test loading PHP pages into IE 5.x and Netscape > 4.7x? This is in no way related to PHP. It's just the old Netscape taking lots of time for +rendering large pages, especially with nested tables. regards Wagner -- Madness takes its toll. Please have exact cha

Re: [PHP] referring url

2001-07-11 Thread Alexander Wagner
Joseph Bannon wrote: > Is there a way in PHP to get the referring url when a link is click > to get to that page? $HTTP_REFERER getenv('HTTP_REFERER') regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] RE: [correction] Where can I download GD 2.0 or later? (php_gd.dll for Win)

2001-07-11 Thread Alexander Wagner
SED wrote: > What I really wanted ask about was if any knows about GD 2.x version > with build in GIF-support (I need both GIF-support and all the new > GD-JPEG function to work on the same time). This is probably impossible, for legal reasons. Gif-Support had to be dropped from GDlib because of

Re: [PHP] quotes

2001-07-12 Thread Alexander Wagner
Heidi Belal wrote: > I have a problem using apostrophes/single quotes. > I am using PHP and MySQL. The user enters data into > the text field and everything goes ok, until an > apostrophy/single quote is added in the middle of the > text - then disaster occurs! Use addslashes() on the text befor

Re: [PHP] concatentation problems ...

2001-07-19 Thread Alexander Wagner
Kenn Murrah wrote: > I need to concatenate several variables, some of which are text and > some of which are integers ... e.g. > > $desired_string = $number . $text . $number2 . $text > > always seems to truncate after first number ... Strange. If that's really the case, you might try to type-cas

Re: [PHP] PHP & MySQL

2001-07-20 Thread Alexander Wagner
Erich Kolb wrote: > When you query a MySQL Database, how do you set the order > alphabetically? SELECT whatever FROM wherever ORDER BY insert_fieldname_here regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] is this right

2001-07-24 Thread Alexander Wagner
Jeremy Morano wrote: > insert into test (uid, companyUid) > values(1, select uid from companysTable where company = "Micrsoft"); insert into test (uid, companyUid) select 1,uid from companysTable where company = "Micrsoft"; I hope this works. HTH Wagner -- Madness takes its toll. Please have

Re: [PHP] Big difference?

2001-07-25 Thread Alexander Wagner
Henrik Hansen wrote: > > The difference between echo and print is that print returns a > > boolean value, so you can check if "blah blah" was successfully > > printed. > > hmm isen't it always succesfull printed or did I miss something? IIRC print will return false if the connection is aborted

Re: [PHP] ascii of euro

2001-07-27 Thread Alexander Wagner
Karl Phillipson wrote: > Does anyone know what the ascii version of a euro symbol is? There is none. regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] ascii of euro

2001-07-27 Thread Alexander Wagner
George Pitcher wrote: > According to my character map, its 0128 ... if its on the font. What character map is that? Ascii? Ascii is way older than that symbol and has not been changed for quite a while, I think, if it ever has. Do you mean Ansii? Or Iso-8859-15? regards Wagner -- Madness tak

Re: [PHP] GD library

2001-07-28 Thread Alexander Wagner
Manu Verhaegen wrote: > I want to install the GD library for PHP > I seek libpng and zlib and jpeg-6b can you help me For what OS? regards Wagner -- "Isn't it strange? The same people who laugh at gypsy fortune tellers take economists seriously." - Cincinnati Enquirer -- PHP General Mai

Re: [PHP] NuSphere.. what is it???

2001-07-30 Thread Alexander Wagner
Kraa de Simon wrote: > I agree on most parts, but is there "transaction support" in MySQL? Berkley-DB tables support transactions. regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] Array Bug?

2001-07-30 Thread Alexander Wagner
File a bug-report on bugs.php.net regards Wagner -- Madness takes its toll. Please have exact change. -- 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: [EMA

Re: [PHP] references

2001-07-31 Thread Alexander Wagner
scott [gts] wrote: > i've been reading over the docs on references, and i > can't see anyway to pass around functions as references. > i know how to do this easily with perl, but i cannot > seem to find the correct syntax for creating a reference > to a function in PHP. >[..] > any and all help is

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Alexander Wagner
B. van Ouwerkerk wrote: > Ask yourself.. who has an attitude problem here.. Someone who didn't > read the manual.. or someone (/me) who wrote to RTFM. You didn't even RTFM him. I found it to be more like RTM, the more gentle version (the one without words connected to sexual intercourse). Your a

Re: [PHP] dumb mysql_connect issue

2001-07-31 Thread Alexander Wagner
CGI GUY wrote: > Is there anything (add. parameters, etc.) that I'm > missing that would possibly explain why the following > code won't execute? What does it say? Any errors? Are any of your messages printed? regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General

Re: Fwd: Re: [PHP] dumb mysql_connect issue

2001-07-31 Thread Alexander Wagner
CGI GUY wrote: > " Access denied for user: 'username@hostname' to > database 'tablename' " > > 1. The uid/password set I am using has full > privileges. > 2. *tablename* is not a database (the code I listed in > my previous email is syntactically identical to the > script)-- it's a table. > > Why

Re: [PHP] Attitude of B van Ouwerkerk

2001-08-01 Thread Alexander Wagner
scott [gts] wrote: > so now it's shifted from his attitude to your seeming > inability to cope with "words related to sexual intercourse"? > > we all need to calm down and relax. Hey, all I said was that he did not RTFM, but RTM, the version without "fucking". regards Wagner -- Madness takes

Re: [PHP] <---- is being an ass!

2001-08-02 Thread Alexander Wagner
Kyle Smith wrote: > Ok have installed PHPTriad, when i run apache (gulp) dos opens, all fine > BUT when i run PHP.exe well look down (sorry if im not allowed to post > pictures but, its small!) That attachment was apperantly chopped off. If you want to post a file on this list, just upload

Re: [PHP] .htaccess

2001-08-06 Thread Alexander Wagner
MindHunter wrote: > I've seen this all over. I had a QUICK look at the manual and can't > find much. In short, what is it, what is it used for and is it > WIN/UNIX-LINUX specific. Also any good readings on it will be > appreciated. It is Apache-related, so it will work on any OS Apache can run

Re: [PHP] count()?

2001-08-06 Thread Alexander Wagner
Jeremy Morano wrote: > Hi, I was woundering how to read and find the # of records in my > table... Do I use count()??? select count(*) from table regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] Turning off Content-type header.

2001-08-06 Thread Alexander Wagner
Karl Austin wrote: > Does anyone know how to turn off the content type header? The binary > compiled from the source (I am assuming the source needs changing?) > will only be used for a single script that needs to not produce any > spurious output such as the Content-type header. php -q script.ph

Re: [PHP] converting numeric to a string

2001-08-07 Thread Alexander Wagner
Don wrote: > Hi, > > I'm looking at the 'String' section of the online documentation. I > cannot find a function that converts a numeric to a string, e.g., 1 > --> "1". > > Am I blind or does this not exist? With loose typing, this is not really necessary. If I'm wrong here, you might use setty

Re: [PHP] Re: Is there a debugger ???

2001-08-08 Thread Alexander Wagner
J Smith wrote: > For PHP 4, I believe you need to purchase the Zend Debugger from > Zend. It comes as part of the Zend Developer's Suite. There is also a free debugger. http://dd.cron.ru/dbg/ regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (htt

  1   2   >