[PHP] CDBaby.com

2001-12-12 Thread Richard Lynch
As you may know, I run a tiny record label No Genre in Chicago. Ulele's Seed CD released last week on No Genre has been selected as a Featured CD on the FRONT PAGE of http://cdbaby.com/ This is a HUGE DEAL in the independent music world! CDBaby is the 2nd-largest on-line retailer of music

[PHP] Antialiasing with GD..?

2001-12-12 Thread Jan Maska
Hi, I have the following problem: Using the database, I create a graph like __.--._.--._/\.__ In order to keep exact colors and prevent a JPEG detail distortion, I use PNG format as output. This has one disadvantage: all lines are rough and I don't know how to antialias them. Can anyone

[PHP] Quick Question about Variables

2001-12-12 Thread Matthew Walkup
I have a form with checkboxes and they have a name of associate_id. How can I call these variables (or other ideas of getting ID numbers from check boxes)? In PERL i know you can use ${associate_.$id} but I cant seem to find the equivalent for PHP. I could then get a list of id's and check if

RE: [PHP] Quick Question about Variables --- NEVERMIND

2001-12-12 Thread Matthew Walkup
Hah, I saw parse error and assumed it was because i was trying to use a function that didnt exist. Little did I know I mistyped something. It works now, sorry for the inconvience. Thanks, Matt -Original Message- From: Matthew Walkup [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

[PHP] Newbie-student Database PHP Question

2001-12-12 Thread Robinbythebrook
I have downloaded Mysql to check out. 1) Mysql vs SQL: What is the difference? 2} Would a web-based Access database suffice with PHP? As I already know Access. Appreciate clarification for my newbie questions, thank you. Robin -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Newbie-student Database PHP Question

2001-12-12 Thread Dave Brotherstone
MySQL is a DBMS, SQL is a language. MySQL has an implementation of SQL, as does Access. All (most) SQL implementations are common for the simple things (select * from tablename), but differ when things get more complex (is about as broad an answer I could give!). Web based access database is

Re: [PHP] Comparing Dates

2001-12-12 Thread Andrey Hristov
$timestamp = time(); $yourdate=12:35:20:7:4:2001; // 12:35:07 July 4 2001 $yd_expl = explode(':',$yourdate); if (mktime(0,0,0,strftime('%m',$timestamp),strftime('%d',$timestamp),strftime('%Y',$timestamp) mktime($yd_expl [0],$yd_expl[1],$yd_expl[2],$yd_expl[3],$yd_expl[4],$yd_expl[5])

[PHP] test

2001-12-12 Thread Andrey Hristov
test -- 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] RegEx gurus help...

2001-12-12 Thread Andrey Hristov
The code below does almost of the job. There is only one problem. If some path is absolute to the server /aaa/bbb/ the path get file://aaa// but I think no problems with apache. HTH Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS pre ?php $the_html = 'I need to

[PHP] PHP 4.1.0 Win32 binaries now available

2001-12-12 Thread Zeev Suraski
http://www.php.net/downloads.php -- 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: Emailing attachments upload to a form

2001-12-12 Thread Jon Farmer
Yeah.. code to divide the message into multiple parts, base64_encode the file, and attach it that way. I suggest looking for some kind of Email class that can do that for you. Try http://phpclasses.upperdesign.net/ Mike if you are on *nix used mutt from the commandline. -- Jon Farmer

[PHP] php 4.1.0 output compression

2001-12-12 Thread Rares Vasilescu
Anyone has tried out yet the output compression? How does it work, is it really stable? Rares

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Jon Farmer
Is there a function in PHP that will output the difference between two timestamps (hours/mins/secs), similar in the way that getdate() extracts the date of a timestamp? Thank you. How about subtracting the one timestamp from the other and then devide by 3600, with the remainder divided by 60

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Andreas Landmark
On Wed, Dec 12, 2001 at 11:31:25AM -, Jon Farmer wrote: Is there a function in PHP that will output the difference between two timestamps (hours/mins/secs), similar in the way that getdate() extracts the date of a timestamp? Thank you. How about subtracting the one timestamp from the

Re: [PHP] session woes

2001-12-12 Thread Andrey Hristov
Is register_globals turned on or off? - Original Message - From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 09, 2001 6:13 AM Subject: [PHP] session woes I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that session_register

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-12 Thread Andrey Hristov
In background : 1)$result_does_not_matter = `/path/to/your/massmailer.php 1mail_std_out.log 2mail_std_err.log `; 2) use exec with cmd as the above. With PHP you can write PHP shellscripts: #!/usr/local/bin/php -q ?php // ...some code here // in the code you may use sleep() or usleep() in a

[PHP] test message

2001-12-12 Thread Andrey Hristov
test message -- 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]

[PHP] snmp segmentation fault

2001-12-12 Thread Kancha .
Hi all I compiled php 4.1.0 with snmp --with-snmp the compilation was smooth and had no problem, but when i try to execute the following statment i get segmentation fault. $x = snmpwalk (localhost, public, ); The same error had occured with ver 4.0.6. I'm using Red Hat linux 7.2 and the

[PHP] Re: [PHP-INST] Undefined Variable Warnings Mail Settings

2001-12-12 Thread Andrey Hristov
set error_reporting to some level which does not include E_WARNING or set it to 0 - no messages except fatal parser messages. Regards, Andrey Hristov - Original Message - From: Carolyn Mescan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 5:40 PM Subject:

[PHP] Test message.

2001-12-12 Thread Andrey Hristov
Test -- 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]

[PHP] test message.

2001-12-12 Thread Andrey Hristov
test message. -- 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] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Jon Farmer
Since you asked, i guess you're not familiary with the % operator (modulus). Read the operator section of the manual, and you'll see how modulus is your friend... Wrong I use the % operator all the time But a better way, is to subtract one from the other and then use gmdate() on the

Re: [PHP] Test message.

2001-12-12 Thread Nicolas Costes
$query=SELECT * FROM messages WHERE subject='Test message.' AND body LIKE '%return TRUE%' ; Le Mercredi 12 Décembre 2001 13:28, Dave Brotherstone a écrit : return TRUE; -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: 10 December 2001 11:06 To: [EMAIL

RE: [PHP] Logo proposal

2001-12-12 Thread Armin Hartinger
Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ... Penguin, Dolphin After all, Linux, PHP MySQL is the killer-combo, isn't it? -Armin On Tue, 2001-12-11 at 19:32, Andrew Chase

[PHP] Permission denied, although permissions are right

2001-12-12 Thread Wim Godden
Hi, I'm trying to open a file (using fopen) in the /tmp directory which is owned by user 'zapman'. The php script is also owned by user 'zapman'. However, when I try to run it, I get : Warning: fopen(/tmp/1.dat,r) - Permission denied in /documents/zapman/html/openfile.php on line 5 If I do a ps

RE: [PHP] Logo proposal

2001-12-12 Thread Peter Hicks
Armin, It may be for your applications, and it may be for mine, but not everyone uses MySQL, and MySQL support is only part of PHP itself. Cater for the large 'minority' of people who don't use PHP + MySQL :) Peter. On 12 Dec 2001, Armin Hartinger wrote: Personally, I think it should be

RE: [PHP] Logo proposal

2001-12-12 Thread Armin Hartinger
I'm sure noone who doesn't use any part of that combo would mind ... but anyway, maritime or not ... trying to find a place within a theme would be positive. Phun phun :) -Armin On Wed, 2001-12-12 at 13:21, Peter Hicks wrote: Armin, It may be for your applications, and it may be for mine,

RE: [PHP] Logo proposal

2001-12-12 Thread Billy Harvey
On Wed, 2001-12-12 at 08:11, Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ... Penguin, Dolphin After all, Linux, PHP MySQL is the killer-combo,

RE: [PHP] Logo proposal

2001-12-12 Thread Dan McCullough
That was what I was going to call it ... no your right I'll go back to my original idea of phast and phriendly ... how about phcat. --- Armin Hartinger [EMAIL PROTECTED] wrote: Better not, noone wants PHP to be associated with something freakish. Or is that Phreakish? -Armin On Wed,

RE: [PHP] Logo proposal

2001-12-12 Thread Dan McCullough
Phree Phwilly --- Billy Harvey [EMAIL PROTECTED] wrote: On Wed, 2001-12-12 at 08:11, Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ...

[PHP] Help with algorithm

2001-12-12 Thread Cesar Cordovez
Hi guys! For the last couple of hours I have been trying to solve this algorithm with no avail. If someone has an idea on how to solve it it will be greatly apreciated. The Problem: I have stored in a MySQL table the following: - Databases:MySQL Databases:MS SQL Server Databases:Oracle

Re: [PHP] Help with algorithm

2001-12-12 Thread Andrey Hristov
Make a recursive function which work on global var or on var passed on reference function rec($parent_id, $the_parent_array){ /// select name, theme_id from some_table where par_id=$parent_id; while ($arr = mysql_fetch_assoc($res)){

[PHP] Single/Double Quotes

2001-12-12 Thread Gerard Samuel
Im tring to rewrite some code to use single/double quotes correctly (as correct as can be). If I use $result=mysql_query('SELECT book FROM ' . TAB_AUTHORS . WHERE aid = $aid); I get an mysql error. That should be correct, if I understand it right. But if I use $result=mysql_query('SELECT book

[PHP] login, and

2001-12-12 Thread Ward, Mark
I've got a question about how I should implement my logins with PHP.. I'm working on a project that requires the user to login with their password. That's not a problem. My question is... how do I keep track of the user once they go through the hierarchy of my site? Is it as simple as passing a

Re: [PHP] Single/Double Quotes

2001-12-12 Thread Miles Thompson
This should work ... $result=mysql_query(SELECT book FROM TAB_AUTHORS WHERE aid = '$aid'); When PHP sees the single quotes around the $aid it evaluates it to the value stored in the variable. Your first example connntained $aid within a set of double quotes, thus it was treated as a literal.

[PHP] Arrays...

2001-12-12 Thread Daniel Alsén
Hi, im trying to fill a chart with some data. I am using a mysql query: $query = SELECT serie_tot, COUNT(*) FROM statistik WHERE shooter='mindbash' GROUP BY serie_tot; $series = mysql_query($query) It returns the results i want, ie value - count value2 - count etc... Now - i am trying to get

[PHP] a piece of PHP history

2001-12-12 Thread Monte Ohrt
Google now has 20 years worth of newsgroup archives. Here is a link to what is probably the first PHP post by Rasmus.

RE: [PHP] Logo proposal

2001-12-12 Thread Boget, Chris
H - killer - how about an Orca? We'll pretend that they get along well with the MySQL dolphin, but PHP is definitely a killer app. Yeah, but don't Orcas eat penguins? Chris

RE: [PHP] Logo proposal

2001-12-12 Thread Billy Harvey
Yeah, but don't Orcas eat penguins? Chris Orcas eat *everything*! Billy -- 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]

[PHP] zero cookie size when proxy is used

2001-12-12 Thread Sufiyan
Hi guyz, I have a really strange problem. I have PHP4.0.6 on FreeBSD with apache. Now everything works fine. But when a simple session page in php is accessed using a proxy, it doesn't work. It careates cookie with zero size in /tmp. What can be wrong? Any suggestions? ~Sufiyan -- PHP

Re: [PHP] Arrays...

2001-12-12 Thread jimtronic
http://php.net/array Try $data = mysql_fetch_assoc($series) This will produce an associative array with column names attached to values for one row of data from your database. jim Hi, im trying to fill a chart with some data. I am using a mysql query: $query = SELECT serie_tot, COUNT(*)

[PHP] php performance (was: Single/Double Quotes)

2001-12-12 Thread Gerard Samuel
Thanks for the pointers... Another quick ?. Im rewriting a rather large script, and I read somewhere that an application would run slightly faster if you drop out of php to display html. So like ?php === php code goes here === ? /td/tr/table ?php === php code goes here === ? If the

[PHP] PHPhish Logo

2001-12-12 Thread Barton Hodges
The PHP PHish. great idea (and great band too!) Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ... Penguin, Dolphin After all, Linux, PHP MySQL

Re: [PHP] a piece of PHP history

2001-12-12 Thread Nicolas Costes
Interesting ... Did he think about generating such a movement ??? Le Mercredi 12 Décembre 2001 15:38, Monte Ohrt a écrit : Google now has 20 years worth of newsgroup archives. Here is a link to what is probably the first PHP post by Rasmus.

Re: [PHP] a piece of PHP history

2001-12-12 Thread Dan McCullough
Not many do, at least at first, they just were looking for a better way to do something and decided to share with the rest of us. thanks for the link. dan --- Nicolas Costes [EMAIL PROTECTED] wrote: Interesting ... Did he think about generating such a movement ??? Le Mercredi 12

Re: [PHP] non-browser PHP downloading?

2001-12-12 Thread Erik Price
OH. no one told me that it was called links !!! I thought it was Lynx. Either way, I found /usr/bin/links and have finally been successful in the download. On to the compile !! Erik PS: So the only way to get the PHP source is through the web site? I didn't seen any references to

Re: [PHP] a piece of PHP history

2001-12-12 Thread Andrei Zmievski
Google now has 20 years worth of newsgroup archives. Here is a link to what is probably the first PHP post by Rasmus. http://groups.google.com/groups?q=%22Personal+Home+Page%22+author:Rasmus+author:Lerdor \ fhl=enscoring=das_drrb=bas_mind=17as_minm=5as_miny=1981as_maxd=12as_maxm=12as \

Re: [PHP] a piece of PHP history

2001-12-12 Thread rasmus
Wow, doesn't seem like that long ago I wrote that. By the way, you can get significantly shorter URLs out of google groups if you click on Original Format and then remove the ?output=... part of it. In this case the short URL is:

Re: [PHP] a piece of PHP history

2001-12-12 Thread rasmus
And here's the earliest post by Rasmus: http://groups.google.com/groups?selm=446%40contact.UUCP Argh! Stop! Having a globally unique name and 20 years of Usenet archives is a bad bad combination. A moronic sig under a stupid question. In my own defense, the Internet was a very very

Re: [PHP] a piece of PHP history

2001-12-12 Thread Andrei Zmievski
On Wed, 12 Dec 2001, [EMAIL PROTECTED] wrote: Argh! Stop! Having a globally unique name and 20 years of Usenet archives is a bad bad combination. A moronic sig under a stupid question. In my own defense, the Internet was a very very different place in 1989.

Re: [PHP] a piece of PHP history

2001-12-12 Thread Andrey Hristov
So Anyone interested in gaining a position should reply to: Andrey Zmievskiy 73021,[EMAIL PROTECTED] Zmievski or Zmievskiy ? : Regards, Andrey - Original Message - From: Andrei Zmievski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Monte Ohrt

Re: [PHP] PHPhish Logo

2001-12-12 Thread Valentin V. Petruchek
As I started all these I propose to go to next stage of discuss: i.e. drawing proposed logos. We've got plenty of variants... So if anyone has enough free time and ability to develop a GRAPHICAL logo - lets post them! Zliy Pes, www.zliypes.com.ua -- PHP General Mailing List

Re: [PHP] login, and

2001-12-12 Thread Valentin V. Petruchek
Try cookies. They help me greatly ;) What - Original Message - From: Ward, Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 4:15 PM Subject: [PHP] login, and I've got a question about how I should implement my logins with PHP.. I'm working on a project

Re: [PHP] PHPhish Logo

2001-12-12 Thread Rasmus Lerdorf
Not that I think PHP needs a mascot, but I have always liked the mole/groundhog. Someone even drew up some logos based on that at some point. See: http://cvs.php.net/~rasmus/logo1.gif http://cvs.php.net/~rasmus/logo2.gif http://cvs.php.net/~rasmus/logo3.gif

[PHP] hotscripts.com poll

2001-12-12 Thread Monte Ohrt
FYI, there is a poll on the frontpage of hotscripts.com to vote for your favorite scripting language, and PHP is in a commanding lead. interesting stats: http://www.hotscripts.com/polls/results.hsp Monte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] 4.1.0 and is_file

2001-12-12 Thread Brian Paulson
This morning after I got 4.1.0 installed and running I started getting the following warning where I used is_file to check to see if a file was present. Warning: stat failed for /gallery/pictures/.desc (errno=2 - No such file or directory) in /gallery/index.php on line 451 Has any one else had

Re: [PHP] 4.1.0 and is_file

2001-12-12 Thread Andrey Hristov
It looks like it is a fixed bug. From PHP-DEV (today): ID: 14424 Updated by: sander Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Filesystem function related Bug Type: Documentation problem Operating System: Suse linux 7.2 PHP Version: 4.1.0 New Comment: So what's the

[PHP] Re: test

2001-12-12 Thread Mike Eheler
Syntax error Andrey Hristov wrote: test -- 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]

[PHP] PHP 4.1 and quicker run times

2001-12-12 Thread Eöl
The php readme / changelog noted that they worked with m$ and have made great improvements in the speed of php on windows. Now I find this to be a very generic explanation and not very helpful. Does this mean: a) Its efficiency and speed was improved on running on WINDOWS? OR b) Its

[PHP] Re: CDBaby.com

2001-12-12 Thread Mike Eheler
I'm not sure what to make of this? Is it spam? Is it an acclaim? What is it? Mike Richard Lynch wrote: As you may know, I run a tiny record label No Genre in Chicago. Ulele's Seed CD released last week on No Genre has been selected as a Featured CD on the FRONT PAGE of http://cdbaby.com/

[PHP] last entry in mysql

2001-12-12 Thread Yoed Anis
hey guys, quick question I'm having trouble finding an answer too. In a mysql database, how can I select that last row entry. This might be done mins after i put that entry there and i tried to use: $lastid=mysql_insert_id(); to get the last id but to no avail. Thanks Yoed -- PHP General

[PHP] Writing xxx OR yyy with a regular expressions`?

2001-12-12 Thread Lauri Vain
Hello there, I need to write all of the href= contents into an array. Presently I use the following code, which works like charm: .CODEpreg_match('!HREF=[\\' ]{0,}([^\\']*)[\\']!i', $Content, $reg_array)./CODE That, however, doesn't support Frames so I would need to make the script match HREF

Re: [PHP] Logo proposal

2001-12-12 Thread Randy Johnson
How about the Rhino ? - Original Message - From: Billy Harvey [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 8:30 AM Subject: RE: [PHP] Logo proposal On Wed, 2001-12-12 at 08:11, Armin Hartinger wrote: Personally, I think it should be something

Re: [PHP] last entry in mysql

2001-12-12 Thread Jon Niola
You should try using mysql_insert_id() with the connection descriptor. For example: $dblink = mysql_connect($host, $user, $password); mysql_select_db($databasename, $dblink); The $dblink variable or what I call the connection descriptor, should be used with mysql_insert_id($dblink);

[PHP] Cookie

2001-12-12 Thread Steve Osborne
Still trying to get the cookie to work in my site for automatic login capabilities. It has it's moments of greatness, before fading into the shadows again. Most recently, I downloaded Netscape 6.2.1 to test my site, and when I did not allow the password manager to save my login, it has since

Re: [PHP] Writing xxx OR yyy with a regular expressions`?

2001-12-12 Thread Andrey Hristov
Try this : preg_match('!(HREF|SRC)=([\\']?)(.*?)\2!i',$Content,$reg_array); HTH Regards, -- Andrey Hristov Web Developer Icygen Corporation BUILDING SOLUTIONS http://www.icygen.com On Wednesday 12 December 2001 02:06 pm, you wrote: Hello there, I need to write all of the href= contents

[PHP] FW: A little O T: input type=File -- Can I make a better looking file box?

2001-12-12 Thread Brandon Orther
Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the

[PHP] Rational Rose plugin for generating php code ?

2001-12-12 Thread Arne Brune Olsen
Hi Does anyone know if there is a module for rational rose for generating php code from UML diagrams ? Arne -- 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,

Re: [PHP] last entry in mysql

2001-12-12 Thread Steve Edberg
This may be stating the obvious, but: (1) Does your table have an auto_increment column? (2) If so, did a previous query in the program - for example, an INSERT - generate a new record with an auto_incremented value? AFAIK, mysql_insert_id() won't return the last id unless you have a previous

Re: [PHP] Cookie

2001-12-12 Thread Andrey Hristov
Yes it is visible only in the domain and subdomains Set-Cookie : foo=bar; Domain=.cnn.com; Path=/; Expires _some_date_ This cookie is for cnn.com or the subdomains(i.e. weather.cnn.com) also it is valid for evey path because Path is set to /.If it was /members it will be accessible only in

Re: [PHP] Help creating an image repository/library.

2001-12-12 Thread Kevin Stone
That would be an ideal solution. But one of my problems is that I'm not very familiar with permission settings. All I know about is CHMOD. What exactly is CHOWN and how would I set it to allow the script upload to a public directory without risking the security of the web site? Thanks!

Re: [PHP] Single/Double Quotes

2001-12-12 Thread Kevin Stone
I see your question has already been answered, but I'll add a tip that works well for me. Whenever I want to perform an SQL query that involves PHP variables I will write the query string to its own variable instead of directly into the function. Then use that variable in the query function...

[PHP] HEX value for str variable

2001-12-12 Thread Alex Shi
Hello, For some reason I need to test Hex value in a string variable. Could any one here help me out how to write one or more hex values into a string variable? Thanks! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] PHP 4.x on Apache 2.x?

2001-12-12 Thread Jon Niola
With all the architectural changes to the Apache platform for 2.x, will PHP 4.x run as a module still, or is that TBD? --Jon -- 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

[PHP] How to format ODBC dates

2001-12-12 Thread Ernesto
Hi, Obviously this is somewhere in the FM, which I've (almost) read, but I can't find an answer to: How do I convert a string containing an ODBC date (-MM-DD HH:MM:SS) to a date variable, which I can format usging date()? Thanks in advance, Ernesto -- PHP General Mailing List

[PHP] Re: Permission denied, although permissions are right

2001-12-12 Thread Fred
Your PHP script may be owned by zapman, but it is run as nobody. Therefore your file that you need to access also needs to be owned by nobody. Fred Wim Godden [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm trying to open a file (using fopen) in the

[PHP] Script like this for PHP

2001-12-12 Thread Indera
Hello, I came across this FAQ and I really would like to create my FAQ like this one. I was wondering if someone would take a look at this link and let me know how it's created. I looked at the code, but can't figure out how it's done. http://www.installshield.com/ds/info/generalqa.asp

Re: [PHP] Script like this for PHP

2001-12-12 Thread Alex Shi
Javascript. - Original Message - From: Indera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 4:01 AM Subject: [PHP] Script like this for PHP Hello, I came across this FAQ and I really would like to create my FAQ like this one. I was wondering if someone

Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?

2001-12-12 Thread David Minor
I think you want to look at input type=image Brandon Orther wrote: Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input.

[PHP] Re: Script like this for PHP

2001-12-12 Thread Peter
The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. If you can get your hands on a copy of IE 4 (or maybe it was IE 3!), this kind of thing was done on the 'friendly error

RE: [PHP] Re: Script like this for PHP

2001-12-12 Thread Boget, Chris
The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. Yeah, and it only works on IE (and maybe NN6+). It won't work (the same way) on NN 6. Chris

Re: [PHP] PHPhish Logo

2001-12-12 Thread Mark
On Wed, 12 Dec 2001 09:09:38 -0600, Barton Hodges wrote: The PHP PHish. great idea (and great band too!) with great trademark lawyers! bad idea I think/ :( Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish

Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?

2001-12-12 Thread Kevin Stone
Of course input type=image won't browse the file hierarchy. The truth of the matter is Brandon that it can not be done by conventional means. This is something I investigated a long time ago. There's a whole conversation about this on Deja.com. The only good suggestion is to use some

RE: [PHP] Help creating an image repository/library.

2001-12-12 Thread David Piasecki
You don't want to store the files in the root public directory. Create a subdirectory for uploads, 'public-html/uploads' for example. Make sure it's permissions are 755. From the command line, 'chown nobody,nobody uploads' would do it. The syntax for chown is 'chown user,group file/directory'.

Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?

2001-12-12 Thread David Minor
oh, you're right. I misread the question. sorry Kevin Stone wrote: Of course input type=image won't browse the file hierarchy. The truth of the matter is Brandon that it can not be done by conventional means. This is something I investigated a long time ago. There's a whole conversation

[PHP] Re: PHP 4.x on Apache 2.x?

2001-12-12 Thread Mike Eheler
You can build php as an apache2 DSO by using --with-apxs2=/path/to/apache/bin/apxs make sure you have built apache with the 'so' module enabled. mike Jon Niola wrote: With all the architectural changes to the Apache platform for 2.x, will PHP 4.x run as a module still, or is that TBD?

[PHP] Searching for a new provider

2001-12-12 Thread Andy
Hi there, I am searching for a provider who fullfills those criterias and does not cost a fortune: - PHP = 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 - GDLibrary = 2.0 - PHP installed as module - mind 5 Subdomains - mind 100 MB Speicherplatz - evtl. Java VM - MySQL Thanx andy --

RE: [PHP] Re: Script like this for PHP

2001-12-12 Thread Dan McCullough
Heres a function I wrote some time back for an ecommerce site, works on the same principle. SCRIPT LANGUAGE=javascript !-- function ghShow(){ if (document.all){ // IE browser detected document.all.gh.style.visibility = visible; }

[PHP] Re: Searching for a new provider

2001-12-12 Thread Mike Eheler
What's a speicherplatz? Mike Andy wrote: Hi there, I am searching for a provider who fullfills those criterias and does not cost a fortune: - PHP = 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 - GDLibrary = 2.0 - PHP installed as module - mind 5 Subdomains - mind 100 MB

RE: [PHP] Script like this for PHP

2001-12-12 Thread Nathan Cassano
While we are on the topic of Dynamic HTML, I'd like to recommend DynAPI (http://dynapi.sourceforge.net/), a powerful cross-browser DHTML library. You can do some awesome stuff with DynAPI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] flushing contents to the browser

2001-12-12 Thread DigitalKoala
hi folks, i'm trying to display something like processing... please wait on a web page whilst a rather hefty database query is being run. i don't want to refresh the page so i've been attempting to use flush and ob_start, together with some css stuff to try and do this.. but no luck so far - as

RE: [PHP] PHPhish Logo

2001-12-12 Thread Alok K. Dhir
How about the Phrog? It's sort of a marine animal as well... Don't think there are any trademark infringements there. Although my guess is Phish wouldn't mind our using the 'Phish'. PHP is hardly in the same industry as the band... Or - how about Phundulus?

Re: [PHP] Cookie

2001-12-12 Thread Rasmus Lerdorf
How is exactly is SetCookie() broken? Compare your header() call to the same SetCookie() calls and you will see that yours produces: Set-Cookie: username=Rasmus; expires=Wed, 12-Dec-2001 21:58:55 GMT; path=/; domain=www.php.net Set-Cookie: password=d41d8cd98f00b204e9800998ecf8427e;

[PHP] online editor

2001-12-12 Thread R. Lindeman
can someone help get a online editor thanx R. Lindeman -- 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]

[PHP] PHP 4.1.0 and User-defined Sessions

2001-12-12 Thread Jaime Bozza
Hello, I've run into a really intermittent and strange problem with PHP 4.1.0, and before I try and figure out how to send in a bug report that'll get ignored (because I don't have all the data that is expected), I thought I would try here to see if anyone else is having similar problems.

Re: [PHP] Searching for a new provider

2001-12-12 Thread R'twick Niceorgaw
take a look at aletia hosting (www.aletiahosting.com). Their low end is just $9.95 ( $7.95 if paid anually + free domain registration) and is feature rich ( 200Mb space, PHP 4.0.6 moving to 4.1 soon, My SQL (10 databases) 10GB bandwidth etc). I have moved to them few months back and their speed

Re: [PHP] Searching for a new provider

2001-12-12 Thread Mehmet Kamil ERISEN
Hi, I use connecticut-web.com. Pretty good. fast. The most important value is that the customer service is excellent. They provide email and icq service and very prompt in returning requests. --- R'twick Niceorgaw [EMAIL PROTECTED] wrote: take a look at aletia hosting (www.aletiahosting.com).

Re: [PHP] Searching for a new provider

2001-12-12 Thread Tom Ray
Hey Andy- I work with a hosting company that I believe has everything you're looking for in your wish list. They're a small company that's been around for about 10 years (started as an ISP). If you can get me more information on the type of hosting you're looking to do and what other

[PHP] Date

2001-12-12 Thread Max
Hi to all, I'm using this to get date from mySQL database: ... $p_datum = $row[mydatefield]; $mydate = getdate($p_datum); $month = $mydate['month']; $mday = $mydate['mday']; $year = $mydate['year']; ..but I allways get 1/1/1970. Can anybody help me? -- PHP General Mailing List

Re: [PHP] Date

2001-12-12 Thread Mehmet Kamil ERISEN
what's your raw data. I mean, what is the value of $row[mydatafield]; --- Max [EMAIL PROTECTED] wrote: Hi to all, I'm using this to get date from mySQL database: ... $p_datum = $row[mydatefield]; $mydate = getdate($p_datum); $month = $mydate['month']; $mday = $mydate['mday'];

  1   2   >