[PHP] Re: PHP / MySQL Hosting Charges

2001-08-24 Thread Raphael Pirker
You can see hosts offer the package for around $10/month, so if it's inside a package they shouldn't charge more than US$2-US$4/month. If it's an extra feature, however, they may well charge around $5/month for the add-on and possibly also a setup fee, because it's not in their actual product

[PHP] text wrap in table

2001-08-24 Thread Adrian D'Costa
Hi, I am creating a program for a newspaper to publish their article online. There is a form what allows them to cut and past from their editors (word, pagemaker, staroffice). The data is being entered correctly. The problem is when I try and get the data from the table the whole matter

[PHP] Reading files from a directory

2001-08-24 Thread Niklas Lampén
I have problem with reading files from directory. This is the code: ? $Handle = opendir('/www/publico2/docs/map'); while ($file = readdir($Handle)) { print $filebr\n; }; ? That is ALL code on a script file. These are the file in directory: . .. array_maker.php4 map.php4 renamer.php4

[PHP] PHP 2 MySQL over the network

2001-08-24 Thread Boaz Yahav
Hi Till recently, out MySQL DB and our Apache/PHP/Solaris were on the same machine. We moved to front end / back end configuration and all of the queries are now done over the network (Switch). I was wondering if anyone has any experience in optimizing such a configuration from the System /

[PHP] RE: Sorting and foreach of MultiDimensional Array failing

2001-08-24 Thread Tim Ward
You haven't reset $numbercount, so on the second iteration you never enter the while loop and so $num_array[2] is never actually created. Remember $num_array[2] is simply an element of the top level array. It isn't an array until you make it one, regardless of what the previous elements are.

[PHP] RE: Array's in classes

2001-08-24 Thread Tim Ward
Can't help too much without more code, but the diagnostics I'd use would be foreach() and count() to find out what is there rather than seeing if what I expect to be there actually is. Tim Ward -- From: Scott Mebberson [SMTP:[EMAIL PROTECTED]] Sent: 24 August

[PHP] Useful function. Better than print_r

2001-08-24 Thread Andrey Hristov
?php function print_rrr($name, $element, $level){ // Returns $element as if you have to declare it using PHP syntaxis. if (is_array($element)) { $res = str_repeat(\t,$level).($level? \t\.$name.' = ':'$'.$name.' = ').'array('; $counter = 1; reset($element); while(list($key, $val) =

RE: [PHP] text wrap in table

2001-08-24 Thread Navid Yar
Have you tried using the nobr tag along with the pre tag? The nobr tag will not allow the text to wrap. You can use it outside the pre tags and see what you come up with. It sounds simple, but it may provide you with the solution that you need. Navid -Original Message- From: Adrian

[PHP] Timestamps operations

2001-08-24 Thread Alberto
I have 2 timestamps like mktime(0,0,0,10,10,2001) and mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to timestamp2 or how many hours, or how many seconds, thnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] help needed

2001-08-24 Thread steven
PLEASE REPLY DIRECTLY TO THIS EMAIL ADDRESS, I AM NOT SUBSCRIBED TO THE LIST hi there I am trying to insert this code into my pages to dynamically add backwards and forwards links to my pages but the code keeps giving me errors. below is the code, if someone could please tell me what I am doing

Re: [PHP] Timestamps operations

2001-08-24 Thread Nick Davies
Erm.. date1 - date2 = seconds (date1 - date2)/60 = mins (((date1 -date2)/60)/60)/24 = days Nick. On Fri, 24 Aug 2001, Alberto wrote: I have 2 timestamps like mktime(0,0,0,10,10,2001) and mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to timestamp2 or how many

[PHP] How to download a picture thru http://?

2001-08-24 Thread Tamas Bucsu
Hi guys, Is there any special way to get some pics from the web? Cos' what I wrote just does not work. Thanks if (file_exists($kepnev)){ $kepnev=http://www.stg/pics/somethinggy.jpg;]; $fdr = fopen($kepnev,r); $fdw = fopen($kepnevshort,w); while (!feof($fdr)) { fputs

[PHP] Re: strange error

2001-08-24 Thread Elias Santiago
Brack wrote: if you have structure like html ?php if (isset(...)){ ..; } elseif (isset()){ } else { .. ? /html then you need to insert } before /html or if you use syntax Correct, in part. The last ELSE has a starting {, but no ending }. It should go before the ? not /html,

Re: [PHP] Informix - ifx_num_rows

2001-08-24 Thread Leila
Thanks for all that answered my question. I wanted this function because i use Postgres too in the same project , i will use informix or postgres , so the logic in my implementation was based on postgres functions... But if to Informix it doesn't work ... I will do of another way. Leila Martín

RE: [PHP] help needed

2001-08-24 Thread Boaz Yahav
checkout http://www.weberdev.com there are several scripts ready made for this. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 24, 2001

RE: [PHP] text wrap in table

2001-08-24 Thread Miles Thompson
rant on Please, DO NOT USE the pre tag, or fonts fixed in point size. You have no control over the device which will display the page, let the web function the way it's supposed to. Users run screens at various resolutions, in Windows maybe large fonts or small fonts. If the user wants

[PHP] Re: The future of PHP - object orientation

2001-08-24 Thread Manuel Lemos
Hello, Steve Orr wrote: What kind of PHP application development frameworks, class libraries, or templates are widely used? Is SiteManager any good? How about phplib? Others? Doesn't the future of object oriented PHP depend on good foundation classes? Any comments on PHP object

[PHP] problem with constants

2001-08-24 Thread Wolfgang Schneider
Hello, I managed to setup my Win2k machine for testing purposes with php and mysql and things appear to work fine with one strange problem ... The same files work perfectly well when run from the server at my ISP, but now when running them on my machine, I am getting first some error messages

[PHP] Re: konquerer and php

2001-08-24 Thread Steve Brett
konquerer is krap. :-) only kidding. i seem to remember that konquerer has specific settings for script execution - it may be worth checking out the setup... Steve Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a database browser that I made with

[PHP] PHP sendmail

2001-08-24 Thread Juraj Hasko
Hi, I would like to know if PHP on *nix system can use another SMTP mailer than sendmail. On WinNT is PHP indipendent on concrete mail-server. In our company we use Symantec's Mail-Gear on Linux (Slackware) and I'd like to setup PHP use it. Is it posible ? Thanks in advance, Juraj Hako

Re: [PHP] konquerer and php

2001-08-24 Thread * RzE:
Original message From: Scott [EMAIL PROTECTED] Date: Thu, Aug 23, 2001 at 08:29:07PM -0400 Message-ID: [EMAIL PROTECTED] Subject: [PHP] konquerer and php I have a database browser that I made with php and mysql. When I use it in Netscape it behaves normally. However when I view it using

Re: [PHP] PHP / MySQL Hosting Charges

2001-08-24 Thread Alnisa Allgood
At 4:09 PM +1000 8/24/01, Chris Aitken wrote: Hi All, Just a quick non-technical question. I live in Australia and a friend of mine has a website hosted here in Oz, and he pays his set amount per month which simply is for Hosting, cgi-bin and log file access for his website. Hes wanting to

Re: [PHP] problem with constants

2001-08-24 Thread Pavel Jartsev
Wolfgang Schneider wrote: ... Anyone have an idea what may be causing these warnings? It is only with code such as $variable[value] that these messages show up ... and then the code is processed anyways and the page displayed. Thank you for any input and help to solve this problem ...

[PHP] ODBC Driver for UniVerse Database

2001-08-24 Thread Justin Farnsworth
Does anyone on this list know where a client-side, for Linux, ODBC driver is available for the UniVerse Database. I have not yet found any commercial products on IBM-Informix-UniVerse chain... _justin -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville,

RE: [PHP] PHP sendmail

2001-08-24 Thread Jon Haworth
Yup, try qmail: www.qmail.org You need to adjust the setting in your php.ini as well. HTH Jon -Original Message- From: Juraj Hasko [mailto:[EMAIL PROTECTED]] Sent: 24 August 2001 14:19 To: [EMAIL PROTECTED] Subject: [PHP] PHP sendmail Hi, I would like to know if PHP on *nix system

Re: [PHP] PHP sendmail

2001-08-24 Thread Pavel Jartsev
Juraj Hasko wrote: Hi, I would like to know if PHP on *nix system can use another SMTP mailer than sendmail. On WinNT is PHP indipendent on concrete mail-server. In our company we use Symantec's Mail-Gear on Linux (Slackware) and I'd like to setup PHP use it. Is it posible ?

RE: [PHP] PHP sendmail

2001-08-24 Thread Juraj Hasko
Mail-Gear hasn't sendmail wrapper. Juraj Juraj Hasko wrote: Hi, I would like to know if PHP on *nix system can use another SMTP mailer than sendmail. On WinNT is PHP indipendent on concrete mail-server. In our company we use Symantec's Mail-Gear on Linux (Slackware) and I'd

[PHP] wget

2001-08-24 Thread Augusto Cesar Castoldi
Hi. I'm using wget -q -o /home/httpd/html/temp/logs.txt http://localhost/script.php; to run a php script from shell. But 'wget' always create a log file with same name of the script that wget are running in /home/httpd/html/. why he doesn't put the logs in logs.txt? thanks. Augusto

[PHP] comparing 2 mysql tables

2001-08-24 Thread Tom Churm
hi, i've got 2 different MySQL tables. i need to check which entries in the text-field 'User' in one table are NOT present in the 'User' field in the other table. then i need to either save this array to a textfile or otherwise prepare it for creating a new, third table. any hints on how this

[PHP] Problems with PHP calling PGP

2001-08-24 Thread CO Group Support
Hi all. I am having a very strange problem when trying to run PGP under Unix shell from inside a php script. I am trying to encrypt the body of an email message. And, bizarrely, I can get it to work fine several different ways (using exec(), popen(), backtick, etc), but (here's the strange

Re: [PHP] help needed

2001-08-24 Thread Sheridan Saint-Michel
It looks to me like you are trying to use a result your DB query isn't set to generate. You have $sql= select id from travel where id '$id' and visible = 'checked' order by id desc; then if ($row[article] != ) { Your select only returned id, so the above if should always fail. try $sql=

[PHP] GET / POST strange error

2001-08-24 Thread Mike
i have written a login page for a members area on my site - the code is as follows... ? require_once(backend.php); if (!$userid || !$password) { include(loginform.php); exit; } else { $login = $authlib-login($userid, $password); if ($login != 2) { $error = $login; include(loginform.php);

[PHP] PHP with RSA/Java

2001-08-24 Thread Martin Gunther
Hi all, 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

[PHP] source code of c/c++

2001-08-24 Thread nafiseh saberi
hi . do you know in what site I find the source code of compiler and design editor for it. thanks. -- 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

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

2001-08-24 Thread Martin Gunther
Hi all, 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

[PHP] redirect

2001-08-24 Thread Wilbert Enserink
Hi all, I have the simplest question maybe, but I can't seem to find the answer. It's friday. Anybody knows how I can redirect to another url? greetings Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852

Re: [PHP] redirect

2001-08-24 Thread Nick Davies
Guys this stuff is all in the manual. :) header (Location: url); On Fri, 24 Aug 2001, Wilbert Enserink wrote: Hi all, I have the simplest question maybe, but I can't seem to find the answer. It's friday. Anybody knows how I can redirect to another url? greetings

[PHP] PHP vs CGI Search ?

2001-08-24 Thread KPortsmout
Hi, I know this question has been asked many times before so I am not asking again :-) What I am asking is how I can search the forum, is there a web based system that I can use to search??? TIA Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] source code of c/c++

2001-08-24 Thread Jorge Amaya
I am a programmer in c++ builder, this place has a section of the compiler's discharge, you can see if it serves you http://www.borland.com/bcppbuilder/freecompiler/ and http://www.gnu.org/software/gcc/gcc.html greetings!!! hi . do you know in what site I find the source code of compiler and

[PHP] Re: source code of c/c++

2001-08-24 Thread J Smith
Definitely not in this group/mailing list. It's called *PHP*.general for a reason. Nevertheless, this should get you started: Unix-like compilers (with source, GPL): http://www.gnu.org/software/gcc/gcc.html For design editor, use any text edtior. vi, emacs, an X notepad type thing... If

RE: [PHP] GET / POST strange error

2001-08-24 Thread Johnson, Kirk
I have seen this behavior when the user had a bookmark to the page with a session ID in the bookmark URL. Just a thought. Kirk -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, August 24, 2001 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] GET / POST strange

[PHP] \n

2001-08-24 Thread Jeremy Morano
Sorry to bother you with what probably seems like a useless question but why is this not skipping a line? echo $team \n ; Its in a while loop and the output is: Bears Giants Jets etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] \n

2001-08-24 Thread Nick Davies
In html? If it is then you should be using BR. An \n will just put a newline in your source code. Nick. On Fri, 24 Aug 2001, Jeremy Morano wrote: Sorry to bother you with what probably seems like a useless question but why is this not skipping a line? echo $team \n ; Its in

Re: [PHP] \n

2001-08-24 Thread ReDucTor
you do know you need to put br to make it go to a new line :D one of the stupidest mistakes, but done alot :D - Original Message - From: Jeremy Morano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 25, 2001 1:18 AM Subject: [PHP] \n Sorry to bother you with what

Re: [PHP] \n

2001-08-24 Thread Daniel Adams
are you on windows or *nix? paste more code On Fri, 24 Aug 2001, Jeremy Morano wrote: Sorry to bother you with what probably seems like a useless question but why is this not skipping a line? echo $team \n ; Its in a while loop and the output is: Bears Giants Jets etc --

[PHP] Fwd: functions returning arrays

2001-08-24 Thread Frank Loewenthal
Hi Perhaps I am confused, but is it not possible to return arrays in PHP? Example: function getArray() { $ret = array('hallo','you'); return $ret; } $r = getArray(); for( $i=0;$i count($r); $i++) echo $r[i]; Does not work! The array shows 2 Elements, but they are

Re: [PHP] PHP vs CGI Search ?

2001-08-24 Thread Thomas Deliduka
On 8/24/2001 10:54 AM this was written: I know this question has been asked many times before so I am not asking again :-) What I am asking is how I can search the forum, is there a web based system that I can use to search??? Well, there's a Newgroup: news.php.net There is an archive on

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

2001-08-24 Thread Jon Farmer
PGP would be an ideal solution for this. The webserver would have the public key and the people operating the PDQ machine the private key. A few things to remember are. 1. Call PGP using exec() 2. Make sure you read the PGP docs to see how to use a particular keyring. 3. Make sure the keyrings

RE: [PHP] redirect

2001-08-24 Thread Jon Farmer
header(location: redirect.php); -- Jon Farmer տլ Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07968 524175 PGP Key available, send blank email to [EMAIL PROTECTED] -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: 24 August 2001 15:45 To:

RE: [PHP] Fwd: functions returning arrays

2001-08-24 Thread Johnson, Kirk
Try echo $r[$i] instead of echo $r[i]. Kirk -Original Message- From: Frank Loewenthal [mailto:[EMAIL PROTECTED]] Sent: Friday, August 24, 2001 9:33 AM To: [EMAIL PROTECTED] Subject: [PHP] Fwd: functions returning arrays Hi Perhaps I am confused, but is it not possible to

Re: [PHP] Fwd: functions returning arrays

2001-08-24 Thread Nick Davies
On Fri, 24 Aug 2001, Frank Loewenthal wrote: Hi Perhaps I am confused, but is it not possible to return arrays in PHP? Example: function getArray() { $ret = array('hallo','you'); return $ret; } $r = getArray(); for( $i=0;$i count($r); $i++) echo $r[i]; Do

[PHP] fatal input in flex scanner

2001-08-24 Thread Jaxon
okay... I have a function that includes multiple files in a directory - it was working but I changed something and I'm now getting a Fatal error: input in flex scanner failed can anyone see where I messed up? cheers, jaxon --- function group_include($directory) {

[PHP] functions returning arrays II

2001-08-24 Thread Frank Loewenthal
A lot of answers about the typing error $r[ i ] resp. $r[ $i ] Sorry, this was only wrong in my mail. But this is not the solution. Hi Perhaps I am confused, but is it not possible to return arrays in PHP? Example: function getArray() { $ret = array('hallo','you'); return

[PHP] Re: How to download a picture thru http://?

2001-08-24 Thread Hugh Bothwell
Tamas Bucsu [EMAIL PROTECTED] wrote in message 012c01c12c8b$49cf6750$1100020a@domain1">news:012c01c12c8b$49cf6750$1100020a@domain1... Is there any special way to get some pics from the web? Cos' what I wrote just does not work. Thanks if (file_exists($kepnev)){

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

2001-08-24 Thread Gregor Maier
This would work but I don't think that this was the idea. You could send encrypted email from to server to another place with this method but you can't encrypt the date transmitted with an html form. (since php runs on the server and not on the client machine) To secure the communication

[PHP] Outlook Express and Miltiple send to Addresses

2001-08-24 Thread Godd
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 can get it

[PHP] functions returning arrays II ... Umpf....@!**x@#

2001-08-24 Thread Frank Loewenthal
Hi, A lot of answers about the typing error $r[ i ] resp. $r[ $i ] Sorry, this was only wrong in my mail. But this is not the solution. Okay this was really the mistake. Hm... it is Friday, sorry for this stupid question. Regards Frank -- SFI Technology Services AG Dr. F.

[PHP] Re: Timestamps operations

2001-08-24 Thread Hugh Bothwell
Alberto [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have 2 timestamps like mktime(0,0,0,10,10,2001) and mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to timestamp2 or how many hours, or how many seconds, thnx

[PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Sorry, I know file uploads are asked about all the time... I'm having an odd problem on a WinNT system. When I try to do my upload, I test the file to see the type of it: $image_info = GetImageSize($the_image); However, that line gives me: Warning: getimagesize: Unable to open

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

2001-08-24 Thread Jon Farmer
I dont think you read the original post correctly. Obviously you would use SSL to get the info form the browser to server. What the poster was asking was how does he securely get the information from the server to the people using the PDQ machine. Regards -- Jon Farmer O?O? Systems

Re: [PHP] File Upload and NT...

2001-08-24 Thread Rasmus Lerdorf
Try putting it in a directory that doesn't have a space in it. On Fri, 24 Aug 2001, Joseph Koenig wrote: Sorry, I know file uploads are asked about all the time... I'm having an odd problem on a WinNT system. When I try to do my upload, I test the file to see the type of it: $image_info =

RE: [PHP] File Upload and NT...

2001-08-24 Thread Erik H. Mathy
I'm having an odd problem on a WinNT system. That's what NT is all about. ;) When I try to do my upload, I test the file to see the type of it: $image_info = GetImageSize($the_image); Out of curiousity, who don't you try using: if(is_file($the_image)) { do something... } else {

[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose save this location. You could mention this on the your page in a if you have trouble dwonloading sentence. a very stable solution would be to make a

[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose save this location. You could mention this on the your page in a if you have trouble dwonloading sentence. a very stable solution would be to make a

[PHP] php chats? or better use cgi?

2001-08-24 Thread Wolfgang Schneider
Hello, I've tried one php chat some time ago (myPhPChat ? or something similar) which had some nice features, but was quite slow (compared to what I see with some of the chat functions for example in AOL IM or ICQ ) ... Are PHP based chats just slower? should one go for a CGI solution? Does

[PHP] Re: PHP based authentification -----------

2001-08-24 Thread Ralph Deffke
send an 401 unauthorized header. see php manuall under function header() as an example Alex Sofronie schrieb: Hi all! How can I logout from a PHP based auth (with PHP_AUTH_USER and PHP_AUTH_PW and appropriate headers sent at the beginning)? It seems like unset($PHP_AUTH_USER) does not wotk

Re: [PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Actually, The warning is coming from when I try and upload the file from the desktop of my Mac. It's supposed to get uploaded into: C:\WINNT\PHP\UPLOADTEMP. I checked phpinfo() and that's where it says the upload_tmp_dir is. By the way, I was using the getimagesize to check if the file is a

Re: [PHP] php chats? or better use cgi?

2001-08-24 Thread Augusto Cesar Castoldi
Depends on how BIG is your chat. I made a chat that is usually used by 4/5 peoples and it runs great. I'm using MySQL (tow tables, one of rooms other for the chat) and PHP, some JavaScript and a Frame. see you. Augusto --- Wolfgang Schneider [EMAIL PROTECTED] escreveu: Hello, I've tried

[PHP] how can i cache php scripts enterpretet

2001-08-24 Thread Ralph Deffke
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 each request. i know that there are tools arround

Re: [PHP] php chats? or better use cgi?

2001-08-24 Thread Wolfgang Schneider
On Fri, 24 Aug 2001 13:21:41 -0300 (ART), Augusto Cesar Castoldi wrote: Depends on how BIG is your chat. I made a chat that is usually used by 4/5 peoples and it runs great. Dear Augusto, thank you for the note ... I would think that perhaps 5-10 people might use the chat at one time. I don't

[PHP] Maintaining a session without cookies

2001-08-24 Thread Saurabh Kapoor
I would like to maintain a session without cookies, what would be the best way of going about this? I have a very complicated php site, and have recently recieved numerous complaints about the lack of support for people behind firewalls (that block cookies) and browsers with coookies disabled...

[PHP] Re: Maintaining a session without cookies

2001-08-24 Thread Julio Nobrega Trabalhando
Append the session id on the url. There are several ways to do this. Change all urls to put it at the end, add a javascript that will do it for you (saw at php.net's page). Or change an option at php.ini to this also automatically for you, or use ini_set(); if you can't change the .ini. --

Re: [PHP] PHP / MySQL Hosting Charges

2001-08-24 Thread ERISEN, Mehmet Kamil
Hello All, I think for a thin page with PHP+mySQL you can go as low as $3 a month (35MB) I have seen decent packages, with Vserver privileges at around $18/mnt. --- Alnisa Allgood [EMAIL PROTECTED] wrote: At 4:09 PM +1000 8/24/01, Chris Aitken wrote: Hi All, Just a quick non-technical

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-24 Thread Martin Hughes
Sorry Hugh - didn't mean to send it just to you!! Hi! Thanks for the help! It works great, but I've now made the array 2 dimensional: ?php $index = array ( The Music Behindbr /Les Miseacute;rables = array (About Les Miseacute;rables), Introduction = array (About Les Miseacute;rables),

[PHP] PHP secure

2001-08-24 Thread Peter Allum
I have written a web based package in php and mysql that I am looking at selling to my customers, The only thing is that I do not want to give them the source code, Is there any way in which I can lock the files or secure the files if they are not hosted on my server? If not is there other way

[PHP] Re: PHP secure

2001-08-24 Thread Julio Nobrega Trabalhando
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 ;-) -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net Peter Allum [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Maintaining a session without cookies

2001-08-24 Thread Egan
On Fri, 24 Aug 2001 17:33:51 +0100, Saurabh Kapoor [EMAIL PROTECTED] wrote: I would like to maintain a session without cookies, what would be the best way of going about this? You missed a related discussion by just a few days. But here is a summary of it ... To initialize a session and force

RE: [PHP] Re: PHP secure

2001-08-24 Thread Erik H. Mathy
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 license is only as effective as your ability to hire a lawyer to enforce it. ;) It also depends on: a.) How much you're charging

Re: [PHP] The future of PHP

2001-08-24 Thread Manuel Lemos
Hello, Christopher Cm Allen wrote: I'm afraid that PHP is not yet very credible in that world. The truth is there is not great marketing force behind PHP like there is Sun behind Java or Microsoft behind .Net Good point, and how does one go about marketing a language that is

[PHP] search engine friendly php + form

2001-08-24 Thread Andras Kende
Hello, I was successfully created search engine friendly php from a tutorial on zend site.. like: salescomps.php?city=Canadamonth=febyear=2000 to salescomps.php/cityCanada/month/feb/year/2001 Is there any way to modify a submit form to result a page with search engine friendly format without

Re: [PHP] konquerer and php

2001-08-24 Thread Martín Marqués
On Jue 23 Ago 2001 22:33, Scott wrote: What's happening specifically is that I have an html form with action whatever.php and when I click on submit I get code echoed to the screen. As I said it works normally in Netscape, I get the php page with all the data displayed perfectly. That´s not

[PHP] Help needed

2001-08-24 Thread Javi - NeoDigit
I'm using copy() and the final owner is nobody, I'm opening a socket connection with fsockopen() so I have a validate user. I want the validated user to be the owner of the new file That`s de code: - open the socket - validate user - change dir chmod so we can write - write the file (with nobody

[PHP] Large gzip I/O

2001-08-24 Thread Shane Wegner
Hi, I seem to be having trouble with the zlib support in PHP and am curious if anyone has a workaround. I am looking for an alternative to the gzuncompress function. The problem with gzuncompress is that it needs the entire gzip stream in memory in order to work. I'm looking for something

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 web). Sure they

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

[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

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 business

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] 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.

[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

[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

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

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. e-commerce? You

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

[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

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

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. It

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 each

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 far

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 without

  1   2   >