[PHP] Error

2001-08-24 Thread Martin Kampherbeek
I still get this error. Can someone help me to solve this? MySQL Query Failed. Error 1030: Got error -1 from table handler $query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id"; $result = mysql_query($query) or die('MySQL Query Failed. Error '.mysql_errno().': '.mysql_error

Re: [PHP] The future of PHP

2001-08-24 Thread Greg Beaver
As a small business owner (partner, actually), I can address this question below: "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > AFAIK, it costs a lot more money to have any start and operate a > e-commerce business than a telephone. What is th

[PHP] Displaying all variables currently set?

2001-08-24 Thread Ken
Is there a way to get PHP to list the names and/or contents of all variables? phpinfo() shows environment variables, server variables, and form variables, but doesn't actually show what variables you may have in scope, like $myvar. Is there any way to get this information? It would be ridiculo

RE: [PHP] The future of PHP

2001-08-24 Thread Cristopher Daniluk
After following this thread for a while, it seems like there is a lot of discrepancy between what is "success" and what isn't for PHP. I do not believe PHP will ever become the ubiquitous web language, if for no other reason than because it isn't always the right choice for your web based project.

[PHP] Re: HELP!!!

2001-08-24 Thread Greg Beaver
Make sure that there is a table named "users" with the same fields as in your local database. use mysql_error() to retrieve the error message for debugging purposes if you're going to use @ Greg -- The Chiara String Quartet http://www.chiaraquartet.net "Brack" <[EMAIL PROTECTED]> wrote in messag

Re: [PHP] The future of PHP

2001-08-24 Thread Rasmus Lerdorf
> So, it is very hard to convince the anybody to bet all the farm in PHP. > You may have the technical arguments, but is not enough, I'm afraid. > > You in particular, may not need to convince others to bet on PHP, but it > is nothing like that for most people that want to live from software > dev

[PHP] disable_features

2001-08-24 Thread Andy Ladouceur
Hello, I am wondering if there is any way to limit the disable_feature command to certain directories, and if so, could I please see an example? Thanks, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: [PHP] local time v.s. server time

2001-08-24 Thread Don Read
On 25-Aug-2001 Joe Sheble \(Wizaerd\) wrote: > Alas, I don't have this luxury since it's not my server, but one that is > hosted with a web hosting provider. They control the setup and > configuration of the machines... since it's a shared server I doubt I'll > convince them to set the timezone

RE: [PHP] formating numbers

2001-08-24 Thread Jack Dempsey
Javier, Can you provide a lil more info? What exactly are you trying to do? Without seeing your code, its hard to guess...i'd suggest though looking at www.php.net/number_format www.php.net/printf jack -Original Message- From: Javier Bellido [mailto:[EMAIL PROTECTED]] Sent: Saturday, A

[PHP] & help

2001-08-24 Thread GaM3R
can anyone explain to me exactly what this would do differently? $data = fread($fp, filesize($file)); $data = &fread($fp, filesize($file)); ... Cameron outworld.cx

[PHP] formating numbers

2001-08-24 Thread Javier Bellido
Hi people! I'm trying to migrate my site from perl to PHP4. The question is how I get numbers look like this: 0001, 0002, etc Thanks for your time & help Javier Bellido -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] zlib1.1.3 and ob_gzhandler

2001-08-24 Thread Martin Helie
Hello everyone, I'm a newbie here, so please forgive me if this topic has been discussed previously (I could find no mention of it). I recently compiled PHP4.0.6 with gd1.8.4 and zlib 1.1.3 and experienced no problems --except! If you use ob_gzhandler as your output handler, you'll want to make

RE: [PHP] local time v.s. server time

2001-08-24 Thread Joe Sheble \(Wizaerd\)
Alas, I don't have this luxury since it's not my server, but one that is hosted with a web hosting provider. They control the setup and configuration of the machines... since it's a shared server I doubt I'll convince them to set the timezone to my location, thus throwing everyone else on the sam

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
>PHP can be extremely sloppy or coded extremely modularly. I think it's >a shame that >most tutorials on PHP (and ASP, from what I've experienced) show >comingling of code >and HTML - far more than we ever do in day-to-day PHP work. People get the >impression that that's the only way to do stuff

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
personally I would say the same about PHP... I include a select collection of pages with functions that have been preprogrammed... interacting with other files, sites ,server programs, databases... and so forth as necessary. select the right function, enter variables... the only real work done

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Richard Lynch wrote: > > > >Do you really believe that? As far as I can recall, this recession > > >started when a "mean judge" convicted Microsoft for anti-trust > > >practices. That caused NASDAQ crash that scared people away from > > >investing in tech company stocks. > > This is the most war

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Richard Lynch wrote: > > > Can small business live from e-commerce today? > > Define small. > Define e-commerce. > > How about this one, doing *EXTREMELY* well selling CDs online: > > http://CDBaby.com/ > > Of course, that has almost nothing to do with his choice of PHP (the > languag

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Michael Kimsal wrote: > > I've asked for help on this before, and will ask again - I've got a > framework up at > phpshowcase.com which allows people to post their own project details about > PHP deployments, large and small. A growing information store there > would be one > avenue to

Re: [PHP] The future of PHP

2001-08-24 Thread Thomas Deliduka
Most of my stuff is mingled right with the HTML. Heh. I guess I haven't advanced to the all-code-no-html formatting. :-) Mainly it's like that because I work with a team of designers, They make the shell of the site, I then have to fill in the code. I'm sure many of you will say y'all do it the s

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Egan wrote: > > On Fri, 24 Aug 2001 16:30:04 -0300, Manuel Lemos <[EMAIL PROTECTED]> > wrote: > > >Can small business live from e-commerce today? > > What is the relevance of your question? Do businesses "live" from > their telephone? Whether they do or not, they need it in either cas

RE: [PHP] local time v.s. server time

2001-08-24 Thread Don Read
On 25-Aug-2001 Joe Sheble \(Wizaerd\) wrote: > My website is hosted with a provider, and there is a three hour difference > in timezones, so when saving date and times to the database, they reflect > the server time and not my own local time. The clincher is I know I could > do some time math an

[PHP] Re: Debuggers

2001-08-24 Thread Richard Lynch
> What debuggers do you guys recommend? I've installed a trial copy of > Zend IDE, but it seems a bit buggy to me, and I am having a hard time > finding support for it (without payin $180 per incident!) After you pay, you get some free support... At least, you used to when I worked there...

[PHP] Re: arg_separator

2001-08-24 Thread Richard Lynch
By the time you call your ini_set function, it's too late. Try altering php.ini or .htaccess Or, call ini_set, but then use parse_url($PATH_INFO) or something. http://php.net/parse_url -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Li

[PHP] Re: Server Help

2001-08-24 Thread Richard Lynch
> I recently realized users are able to access my base document root using > opendir() and readdir()... I find this to be a big security risk.. I am > wondering if anyone knows of any ways to limit it so that the user can only > usephp on his level,and not be able to access any server files. I ho

[PHP] Re: PHP2Perl converter?

2001-08-24 Thread Richard Lynch
Why would anybody bother? Perl can execute a PHP script if it needs to... And if you already had it in PHP, you'd never want to code it in Perl :-) :-) :-) -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-

[PHP] Re: upload binary using postgres

2001-08-24 Thread Richard Lynch
Never used bytea so can't help directly but: You're way better off to store the file as a file and just put the pathname into Postgre in the first place... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i

[PHP] Re: $HTTP_REFERER problem

2001-08-24 Thread Richard Lynch
If you're going to go to the trouble for Lynx, you might as well just use it for everybody. HTTP_REFERER is better since it keeps track of pages off of your site as well. But if you don't care about that, tracking them all the same will be easier code to maintain. -- WARNING [EMAIL PROTECTED] a

Re: [PHP] The future of PHP

2001-08-24 Thread Richard Lynch
> Can small business live from e-commerce today? Define small. Define e-commerce. How about this one, doing *EXTREMELY* well selling CDs online: http://CDBaby.com/ Of course, that has almost nothing to do with his choice of PHP (the language he could understand the easiest) and everything to d

[PHP] Re: Executing perl scripts in a unix environment running php cgi-module

2001-08-24 Thread Richard Lynch
> Running the cgi-module trying to execute a perl script, dug through the > archives found something that would at least return something: > > exec("/full/path/to/file.cgi", $results, $errorCode); > while (list(,$line) = each($results)){ > echo $line, "\n"; > } > if ($errorCode){ > echo "OS Er

[PHP] Re: pointers in php

2001-08-24 Thread Richard Lynch
> I have a problem with pointers in php. They're not pointers. PHP is not C. It happens to look C, but it's not. > In the following code the parent object should be a pointer to class Main > ($this), but it's a copy ... It's an alias, not a pointer. > class Sub_A { > > // constructor > >

Re: [PHP] Re: Problems with PHP calling PGP

2001-08-24 Thread CO Group Support
Hello Richard. Thanks for the response, but I finally, finally found and fixed the problem. It turns out that PGP generates output on STDERR, even when you run it in +batchmode. This extraneous output makes Apache unhappy, for some reason. So I fixed the problem by inserting a 2>/dev/null into t

[PHP] Re: session_write_close()

2001-08-24 Thread Richard Lynch
PHP should be calling that for you, I think... However, any error output will be swallowed up by the ether, since there is no browser connection any more. Add some http://php.net/error_log statements to your session_write function and check your Apache logs. -- WARNING [EMAIL PROTECTED] address

[PHP] Re: restoring mysql db after mysqldump

2001-08-24 Thread Richard Lynch
You probably just need to mess around with which users can do what to the table... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer

RE: [PHP] The future of PHP

2001-08-24 Thread Jeff Lewis
I would't say that. he says it's modular and easier to code in OOP. Jeff > -Original Message- > From: Dave [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 24, 2001 6:15 PM > To: [EMAIL PROTECTED]; Michael Kimsal > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] The future of PHP > > > >H

[PHP] Re: HTTP headers and include()

2001-08-24 Thread Richard Lynch
Get rid of the trailing newline after your last ?> in slib.php Warning: You may have configured Emacs to "add" that newline in for you automatically. Turn that off, if so. Never have understood why: Doesn't generate HTML output, except when ?> is the end of the file... -- WARNING [EMAIL P

[PHP] pspell?

2001-08-24 Thread Jay Paulson
what is the switch to configure pspell in php? is it --enable-pspell? because i've tried that and --with-pspell and it's not working.. when i pull up my phpinfo.php pspell isn't configured with it. Anyone know how to configure it pspell with php? jay -- PHP General Mailing List (http://www.ph

Re: [PHP] The future of PHP

2001-08-24 Thread Michael Kimsal
Jeff Lewis wrote: >I actually had a talk with my boss today... > >We discussed different technologies and why we chose them. The reasons we >chose Java/JSP/J2EE etc: > >1) Scalability (number 1 reason) >2) Different projects like EJB etc > >I had been talking about PHP a lot and he says he lik

[PHP] Server Help

2001-08-24 Thread Andy Ladouceur
I recently realized users are able to access my base document root using opendir() and readdir()... I find this to be a big security risk.. I am wondering if anyone knows of any ways to limit it so that the user can only usephp on his level,and not be able to access any server files. I hope that

[PHP] Re: HELP!!!

2001-08-24 Thread Richard Lynch
Your mysql_connect is wrong. Stop using just @ to suppress errors, and start doing something useful with http://php.net/mysql_error like sending it to http://php.net/error_log or something. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out?

Re: [PHP] The future of PHP

2001-08-24 Thread Christopher CM Allen
> > Large corporations are like railroad steam locomotives whose era has > ended. They may continue running for a while, but in time, many will > disappear like the steam locomotive did. hmm not according to Marx. ;p Anyways, back on topic, how to promote php and who is going to do it? Who i

[PHP] Re: Help help help ... or something like that

2001-08-24 Thread Richard Lynch
> >I have a burning question that needs to be looked at, and see if > someone can give me an idea of a > >way to get the desired result. Are you ready. > > > >Here is my problem, I need to strip out of an mbox file everything but > the body of the email, now > >to complicate matters this is an ex

[PHP] Re: Large gzip I/O

2001-08-24 Thread Richard Lynch
You should be able to use http://php.net/popen and feed it chunks as you snag them... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunt

Re: [PHP] \n

2001-08-24 Thread Alexander Skwar
So sprach »Jeremy Morano« am 2001-08-24 um 11:18:10 -0400 : > echo " $team \n "; HTML? echo nl2br(" $team \n "); Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.

[PHP] Re: Outlook Express and Miltiple send to Addresses

2001-08-24 Thread Richard Lynch
> I would like to send generate a list of members and allow the user to send a > mail to all the members. > > This is done using the users email client, so i would have to pass all the > names to the mailto link that is generated. > > Is it possible to do so?? and if it is any suggestions on how I

[PHP] Re: fatal input in flex scanner

2001-08-24 Thread Richard Lynch
> function group_include($directory) > { > $handle=opendir("$directory"); > while ($file = readdir($handle)) > { //load files in $directory into array > if ($file != ".." && $file != ".") > { > $files_to_include[count($files_to_include)] = $file; T

RE: [PHP] Re: PHP secure

2001-08-24 Thread Dave
>-Original Message- >From: J Smith [mailto:[EMAIL PROTECTED]] >Sent: Friday, August 24, 2001 8:28 AM >To: [EMAIL PROTECTED] >Subject: RE: [PHP] Re: PHP secure > > >If you can't trust your clients with the source code, what are you telling >your clients? > that we are willing to develop a

RE: [PHP] limit 1

2001-08-24 Thread Dave
you are probably looking for unique if not, I am not understanding what you are trying to do Dave >-Original Message- >From: Jeremy Morano [mailto:[EMAIL PROTECTED]] > >I wondering if it was possible to use limit on part of a query and not all. > >this is my query which works the way it

[PHP] Re: PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Richard Lynch
Oh yeah: You *STILL* need to use SSH to get the data in the first place! -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

[PHP] Re: GET / POST strange error

2001-08-24 Thread Richard Lynch
What the heck is "2"?... And why is "2" the "good" number for your authentication to return for successful login?... I'm guessing that you are mis-interpreting the result codes for $authlib->login()... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna

RE: [PHP] The future of PHP

2001-08-24 Thread Dave
>He also said he likes how Java is OOP and has great error handling. sound more of a judgement on the staffs ability to program than the capability of the language. A great language can have crappy error handling if the designed doesn't program it in well. Dave -- PHP General Mailing List (h

[PHP] Another question

2001-08-24 Thread Dan McCullough
Okay I have stripped all header and bogus crap out of this file. Now I am left with formatting and breaking the data up. How can I do that? Here is the script that gets me a clean file and print out. These a piece thats missing up that is a command line script that parses the file for this infor

[PHP] Re: Problems with PHP calling PGP

2001-08-24 Thread Richard Lynch
> Note: I am running my PHP script through a program called php-cgiwrap which > makes the PHP script execute as me on the server rather than as "nobody". I > can't let the script execute as "nobody" because "nobody" doesn't have > permission to run PGP, but I do. You may want to look at suExec ht

Re: [PHP] The future of PHP

2001-08-24 Thread Mark Maggelet
On Fri, 24 Aug 2001 16:25:08 -0400, Thomas Deliduka ([EMAIL PROTECTED]) wrote: >Wait, you blame someone convicting microsoft for a recession? Give >me a break. Things were on the way out before it started. Was that the cause? Not really, there were many causes and that was just one of them. Was

[PHP] Re: PHP with RSA/Java

2001-08-24 Thread Richard Lynch
> I need to use a public/private key encryption system for dredit card > details on a site I am developing. We are not taking Credit Card payments > with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to > send the CC details to the Shop Management for putting through a PD

[PHP] Re: PHP 2 MySQL over the network

2001-08-24 Thread Richard Lynch
pconnect will be your biggest "win", almost for sure. After that, I'm guessing that you'll just be making very minor speed-ups... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunte

[PHP] Re: Reading files from a directory

2001-08-24 Thread Richard Lynch
Sounds like a bug... Start searching on http://bugs.php.net for similar problems, make sure you've got current versions of OS and PHP. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Vo

Re: [PHP] \n

2001-08-24 Thread Dave Freeman
On 24 Aug 01, at 11:18, Jeremy Morano wrote: > echo " $team \n "; echo "$team\n"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: imagemagick and file size

2001-08-24 Thread Richard Lynch
The hard drive may be showing you the file's ALLOCATED size, which will be an "even" number. What does: give you? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little tim

Re: [PHP] The future of PHP

2001-08-24 Thread Thomas Deliduka
Wait, you blame someone convicting microsoft for a recession? Give me a break. Things were on the way out before it started. Alan Greenspan was chasing the 'inflation' demon that didn't exist raising interest rates when things were going great. It came back to bite him in the arse with the collap

[PHP] HELP!!!

2001-08-24 Thread BRACK
I have a script with combination: $ins_u = @mysql_query("INSERT INTO users (name,email) VALUES ('$u_name','$u_email')"); $userid = @mysql_insert_id($ins_u); It's working fine on local server but now I put it on the web and it sais: Warning: Supplied argument is not a valid MySQL-Link res

[PHP] Re: Session Problem

2001-08-24 Thread Richard Lynch
Register the variable whether it exists or not. \n"; ?> -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Messag

[PHP] Re: Dynamic Pages and Search Engines

2001-08-24 Thread Richard Lynch
Search engines assume URLs with ? in them are dynamic and not worth indexing as the info will change too fast. Don't submit URLs with ? in them. Don't use ? in URLs you want search engines to index. Do use $PATH_INFO instead. There's an old article from Zeev (?) on http://PHPBuilder.com (?) ab

[PHP] Debuggers

2001-08-24 Thread Grant Boggs
What debuggers do you guys recommend? I've installed a trial copy of Zend IDE, but it seems a bit buggy to me, and I am having a hard time finding support for it (without payin $180 per incident!) I also have installed Komodo IDE, but I can't even get it to work! ARG My projects are

Re: [PHP] always last

2001-08-24 Thread Chris Hayes
Van:"Andrey Hristov" <[EMAIL PROTECTED]> Aan:<[EMAIL PROTECTED]> Datum verz. Thu, 23 Aug 2001 18:33:53 +0300 Onderwerp: Re: [PHP] always last > Use a counter when fetching from the DB > if you use while the > $counter=0; > while(l

Re: [PHP] Dynamic check boxes...

2001-08-24 Thread Chris Hayes
Datum verz. Thu, 23 Aug 2001 14:17:28 -0400 Onderwerp: [PHP] Dynamic check boxes... > I have a form where users can enter a link (kind of a free for al links = > When I load an admin script I can check all of the ones that have a 0 in = > that field. I want to have chec

Re: [PHP] always last

2001-08-24 Thread Chris Hayes
Hi Jeremy, it's always easier for us if you tab/organize the code a bit so we get the overview. like this: $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); while ($row = mysql_fetch_array($result)) { $uid = $row['uid'] $team = $row['team'];

Re: [PHP] I get "headers already sent by" error each time I use setcookie function

2001-08-24 Thread Chris Hayes
> Datum verz. Thu, 23 Aug 2001 12:20:52 +0200 > I don't know why I get : > "Warning: Cannot add header information - headers already sent by (output > started at c:\windows\bureau\cookie1.php:2) in c:\windows\bureau\cookie1.php > on line 6" message each time I use setcookie function. S

Re: [PHP] path to php

2001-08-24 Thread Chris Hayes
look for HTTP_ENV_VARS["SCRIPT_FILENAME"] it may show up when you ask for it and for sure in the list the phpinfo() results in. Chris Van:"ReDucTor" <[EMAIL PROTECTED]> Aan:<[EMAIL PROTECTED]> Datum verz. Thu, 23 Aug 2001 11:35:00 +1000 Ond

[PHP] Re: send mail to mailing list using mail() or smtp?

2001-08-24 Thread Richard Lynch
> My question - is this going to work for a few thousand emails? Depends on your server. > What > about 100,000? No way. > Would it be better to send the mail directly to the > smtp server? Yes. > Can you foresee any problems? Several. The first one is you didn't read the archives or look

[PHP] Re: upgrading PHP

2001-08-24 Thread Richard Lynch
> Has anyone come up with an upgrade proceedure for upgrading PHP to a higher > version? I totally depends on how PHP was installed in the first place, and what OS you are using, and what features you need, and... There are wizards now that can maybe handle this for you. http://zend.com has one

[PHP] PHP2Perl converter?

2001-08-24 Thread Nathan
Hi, I just had a random thought as I was working on some php and perl code today and I ask, has anyone out there created a PHP to Perl converter? Similar to the ASP to PHP converter. I think only God could make a Perl2PHP converter. -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: Does not deliver mail

2001-08-24 Thread Richard Lynch
If PHP succeeds in getting the mail through to your internal box, then it's almost-for-sure your MAIL SERVER that is refusing to send mail to the outside world. Review your MAIL SERVER configuration carefully, and keep in mind that PHP runs as a restricted user: Apache: Module: httpd.conf U

RE: [PHP] The future of PHP

2001-08-24 Thread Jeff Lewis
Well our company uses a three tiered approach. Web servers in the front, application server iPlanet in the middle and out database server sits in the back. I would imagine that they have thrown millions at it over time... He also said he likes how Java is OOP and has great error handling. Jeff

[PHP] local time v.s. server time

2001-08-24 Thread Joe Sheble \(Wizaerd\)
My website is hosted with a provider, and there is a three hour difference in timezones, so when saving date and times to the database, they reflect the server time and not my own local time. The clincher is I know I could do some time math and just substract 3 hours, but I live in Arizona, so we

[PHP] Re: Any Functions !!

2001-08-24 Thread Richard Lynch
> is there any PHP functions to create 3D object from the photo. Not that I know of. > if no, > is there any software exists?? I've always throught Apple's QuickTime VR was the coolest thing since sliced bread, but could never afford the tools to use it... http://quicktimevr.apple.com I

[PHP] Re: Cannot index a string index - Why?

2001-08-24 Thread Richard Lynch
> if ($var){ > $tmp = explode("<|>",$vars); > for ($i = 0; $i < sizeof($tmp); $i++){ > $struct[$i] = array(); You really don't need this line... > $tmp2 = explode("<||>",$tmp[$i]); > for ($j = 0; $j < sizeof($tmp2);$j++){ Try assigning $tmp3 = $tmp2[$j] and using

Re: [PHP] The future of PHP

2001-08-24 Thread Richard Lynch
> >Do you really believe that? As far as I can recall, this recession > >started when a "mean judge" convicted Microsoft for anti-trust > >practices. That caused NASDAQ crash that scared people away from > >investing in tech company stocks. This is the most warped view-point I have heard... The

Re: [PHP] The future of PHP

2001-08-24 Thread Egan
On Fri, 24 Aug 2001 20:54:33 +0100, "Sean C. McCarthy" <[EMAIL PROTECTED]> wrote: >Also the effect that this downturn is going through all the chain, from >transportation to food and goods. And BTW most companies that caused >this were startups not really big companies. Much more information on >

Re: [PHP] PHP & sendmail

2001-08-24 Thread Yasuo Ohgaki
"Juraj Hasko" <[EMAIL PROTECTED]> wrote in message 007c01c12ca3$c2ae51a0$ec01db0a@HASKO">news:007c01c12ca3$c2ae51a0$ec01db0a@HASKO... > Mail-Gear hasn't sendmail wrapper. > How about nullmailer? It has sendmail wrapper and could send message to any smtp or qmqp servers. http://untroubled.org/nu

[PHP] Flat file/mySQl combination

2001-08-24 Thread Jeff Lewis
Has anyone come up with an abstraction layer that would allow the users of their software to select either flat file or mySQL? If so, is it downloadable somewhere or does anyone know or have any kind of tips? :) Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] The future of PHP

2001-08-24 Thread Egan
On Fri, 24 Aug 2001 14:40:47 -0500, "Navid Yar" <[EMAIL PROTECTED]> wrote: >Until Linux gets better at certain things, I think I have no choice but >to stick with Windows for now (especially in the design area). True enough, for now. Steam locomotives were an impressive technology, deeply entre

Re: [PHP] The future of PHP

2001-08-24 Thread Martín Marqués
On Vie 24 Ago 2001 16:50, Egan wrote: > On Fri, 24 Aug 2001 16:30:04 -0300, Manuel Lemos <[EMAIL PROTECTED]> > > wrote: > >Can small business live from e-commerce today? > > What is the relevance of your question? Do businesses "live" from > their telephone? Whether they do or not, they need it

Re: [PHP] The future of PHP

2001-08-24 Thread Sean C. McCarthy
Manuel Lemos wrote: > Do you really believe that? As far as I can recall, this recession > started when a "mean judge" convicted Microsoft for anti-trust > practices. That caused NASDAQ crash that scared people away from > investing in tech company stocks. Many Internet companies dried and > wit

Re: [PHP] The future of PHP

2001-08-24 Thread Egan
On Fri, 24 Aug 2001 16:30:04 -0300, Manuel Lemos <[EMAIL PROTECTED]> wrote: >Can small business live from e-commerce today? What is the relevance of your question? Do businesses "live" from their telephone? Whether they do or not, they need it in either case. >Do you really believe that? As

Re: [PHP] how can i cache php scripts enterpretet

2001-08-24 Thread Ken
At 06:29 PM 8/24/01 +0200, Ralph Deffke wrote: >I have developed a web portal for big compamies with a lot of traffic on >their pages. main functions, like member authentication etc. are called >on every page request. it would make sence to have them ready >enterpretet to skip enterpretation on ea

Re: [PHP] `T_VARIABLE' or `'$''

2001-08-24 Thread Ken
At 02:31 PM 8/24/01 +0100, Paul Roberts wrote: >I'm using preg_replace and getting the following error > >parse error, expecting `T_VARIABLE' or `'$'' This sounds like PHP was expecting a variable name somewhere where you didn't provide one. Perhaps you left off a "$" before a variable name. I

Re: [PHP] limit 1

2001-08-24 Thread ERISEN, Mehmet Kamil
This is a sql question: Limit is limiting number of records that will come out of query. So, it would not work. SELECT users.names FROM users, selection Where users.name = selection.name and setting = 'on' ; you could use SELECT DISTINCT users.names FROM users, selection Where users.

[PHP] `T_VARIABLE' or `'$''

2001-08-24 Thread Paul Roberts
I'm using preg_replace and getting the following error parse error, expecting `T_VARIABLE' or `'$'' anyone know where I can find out abut them, I did a search of the manual but nothing came up. Paul Roberts [EMAIL PROTECTED] + -- PHP General Mailing List (http://www.php

RE: [PHP] The future of PHP

2001-08-24 Thread Navid Yar
There are big players who have an eye on the open-source market right now, IBM being the biggest contributor. HP recently released their own Linux version on their desktop PCs and is marketing them as we speak. Microsoft is planning on giving away just part of their source code in their future pro

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Egan wrote: > > On Fri, 24 Aug 2001 15:34:04 -0300, Manuel Lemos <[EMAIL PROTECTED]> > wrote: > > >> Many small businesses would like to do e-commerce, but can't afford > >> expensive consultants, expensive hardware, and expensive software > >> tools developed by huge corporations. > > >

RE: [PHP] Re: PHP secure

2001-08-24 Thread Brian Tanner
Zend's compiler doesn't really cost that much. If you look at it that way yes. But if you get a developer membership to Zend ($50 a month), you get the encoder as long as you have a membership (min 1 year). So really, you can get the encoder for $600 -Original Message- From: J Sm

[PHP] limit 1

2001-08-24 Thread Jeremy Morano
Hi, I wondering if it was possible to use limit on part of a query and not all. this is my query which works the way it should. $sql = "SELECT users.names FROM users, selection Where users.name = selection.name and setting = 'on' limit 1 "; What I would li

[PHP] Help help help ... or something like that

2001-08-24 Thread Dan McCullough
>I have a burning question that needs to be looked at, and see if someone can give me an idea of a >way to get the desired result. Are you ready. > >Here is my problem, I need to strip out of an mbox file everything but the body of the email, now >to complicate matters this is an extremly large

Re: [PHP] How to act on many files (i.e. *)

2001-08-24 Thread Ken
I got my answer: Use directory functions, not filesystem functions: http://www.php.net/manual/en/ref.dir.php - Ken [EMAIL PROTECTED] At 02:51 PM 8/24/01 -0400, Ken wrote: >I can't find a way in PHP to behave on multiple files, without knowing the script >somehow knowing the filenames already.

RE: [PHP] Re: PHP secure

2001-08-24 Thread J Smith
If you can't trust your clients with the source code, what are you telling your clients? J Erik H. Mathy wrote: >> Encode (or compile) the source. >> >> Zend's compiler costs 2400 dollars. At this cost is better to >> release your code on an open source license ;-) > > The open source lic

RE: [PHP] The future of PHP

2001-08-24 Thread Jeff Lewis
I actually had a talk with my boss today... We discussed different technologies and why we chose them. The reasons we chose Java/JSP/J2EE etc: 1) Scalability (number 1 reason) 2) Different projects like EJB etc I had been talking about PHP a lot and he says he likes it to but... Jeff > -

Re: [PHP] The future of PHP

2001-08-24 Thread Egan
On Fri, 24 Aug 2001 15:34:04 -0300, Manuel Lemos <[EMAIL PROTECTED]> wrote: >> Many small businesses would like to do e-commerce, but can't afford >> expensive consultants, expensive hardware, and expensive software >> tools developed by huge corporations. > >e-commerce? You mean B2C? Can small

[PHP] How to act on many files (i.e. *)

2001-08-24 Thread Ken
I can't find a way in PHP to behave on multiple files, without knowing the script somehow knowing the filenames already. In particular, I want to delete all files in a directory. unlink("*") doesn't seem to work with wildcards (at least not on my test Windows environment). I can't find any fu

RE: [PHP] Re: code check

2001-08-24 Thread Tom Malone
I do have the little script active on my website - http://www.tom-malone.com. I don't know anyone who has a mac though. Isn't there a site somewhere that allows you to view what your site looks like in other browsers/OSs? I've searched but can't find one. Or perhaps some kind mac user on the list

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Egan wrote: > > On Thu, 23 Aug 2001 20:32:10 -0500, "Christopher CM Allen" > <[EMAIL PROTECTED]> wrote: > > >hmmm, I might live in a smaller world than you but I find tons of small to > >middle businesses that have no clue as to why or how things are done in > >applications(primarily we

  1   2   >