RE: [PHP] Rename a File?

2001-07-12 Thread Adrian Ciutureanu
http://php.net/rename -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: 13 iulie 2001 20:53 To: Randy Johnson; Chris Lambert - WhiteCrown Networks; [EMAIL PROTECTED] Subject: [PHP] Rename a File? How do I rename a file on Linux in PHP? Thanks Randy

RE: [PHP] charset

2001-07-12 Thread Adrian Ciutureanu
http://www.w3.org/TR/WD-html40-970708/charset.html -Original Message- From: Mark Lo [mailto:[EMAIL PROTECTED]] Sent: 12 iulie 2001 08:46 To: [EMAIL PROTECTED] Subject: [PHP] charset Hi, What will the problem if i don't specific what charset to use in the metal tag. And

[PHP] Apache + PHP 3.0.18 + UW-Imap.Z + LDAP + Oracle + IMP = Apache childs coredumps :(

2001-07-12 Thread Santiago Romero
I have an small problem on my Apache Stronghold 3 Server (a simple Apache 1.3.12 + mod_ssl) using a statically compiled PHP3 module. PHP version is latest (3.0.18) and is compiled against UW-Imap libc-client, openldap 1 and oracle librarys to provide IMAP, LDAP and Oracle support for HORDE/IMP

[PHP] Can i get the full HTTP-Header without patching PHP?

2001-07-12 Thread Rainer Kohnen
Hi, is there a way to get the full HTTP Header without patching PHP? I use a debugger coded in PHP a lot. Now i need to debug some intershop enfinity pages. However, enfinity uses a lot of fields with the same names. So my debugger overwrites the variables and i get only the last one. As i cant

[PHP] Silly table and php question.

2001-07-12 Thread Johan Vikerskog (ECS)
Hi all. I know this is a silly question but i dont know how to do it so thats why i am asking. Be gentle towards me. Im just a stupid swede! ;-) statement: I have a table cell in my upper right corner. I have a small php script which checks wheter my user is online or not. If the user is i

[PHP] Re: Popquiz...

2001-07-12 Thread elias
How you mean *in it's original form* ? Lasse [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ..Or call it a riddle.. Whatever... :-) What did the following code look like in it's original form? function bitdef($prefix, $name, $bitnum) {

[PHP] Re: Averaging columns in two tables?

2001-07-12 Thread elias
try, $result = mysql_query(select avg(tbl1.age) as avg1, avg(tbl2.age) as avg2 from tbl1, tbl2); $r = mysql_fetch_array($result); $avg = ($r[avg1] + $r[avg2]) / 2; Jeff Lewis [EMAIL PROTECTED] wrote in message

[PHP] Re: Question

2001-07-12 Thread elias
see eregi() James W Greene [EMAIL PROTECTED] wrote in message 032f01c109fd$53ad0b70$0cfb94d0@calcutta">news:032f01c109fd$53ad0b70$0cfb94d0@calcutta... Hi All, I have an e-mail message stored in the var $message How can I grep for say the From lines and such in $message using PHP. I

[PHP] how would i do this ?

2001-07-12 Thread Andrew Austin
Hi I need to fill a variable a value (writers name) with the data coming from 2 different tables depending on the choice from the previosu page (add a new article or edit an old one). Is their an easier way to do this as the sql is rather ugly that I am using later as itis not clean in its

RE: [PHP] Silly table and php question.

2001-07-12 Thread Navid A. Yar
Well, I guess what you can do is embed the PHP within the table cell and call an if statement. Like this... table tr td // if the user is online, then display the online image ?php If ($user = online) { ? img src=online.gif // else if

[PHP] time compare in my sql

2001-07-12 Thread Jack
Hi folks I have a filed in data type time , how would I compare the value submited from the form with the value in that filed, which is in format 11:00:00 ? When I do this in query: select * from table where time = '12:00:00'; ( in order select all records that have time before noon) it

[PHP] Re: time compare in my sql

2001-07-12 Thread elias
try this: select * from table where TIME(time_field) = 12 Jack [EMAIL PROTECTED] wrote in message 060101c10b0d$cd941940$[EMAIL PROTECTED]">news:060101c10b0d$cd941940$[EMAIL PROTECTED]... Hi folks I have a filed in data type time , how would I compare the value submited from the form with the

[PHP] Re: Can i get the full HTTP-Header without patching PHP?

2001-07-12 Thread Peter Clarke
Rainer Kohnen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, is there a way to get the full HTTP Header without patching PHP? I use a debugger coded in PHP a lot. Now i need to debug some intershop enfinity pages. However, enfinity uses a lot of

[PHP] installation

2001-07-12 Thread Michael P. Carel
Hi there, Im just a new in PHP, please help me in installing PHP with mysql support using the RPM's format. It is much easier to install packages in Redhat6.2 in RPM's but it does not automatically install PHP mysql support. Please help me, i keep on trying installing this but it doesnt work.

[PHP] how do i get url: response codes?

2001-07-12 Thread Patrick Sibenaler
I've tried for a while now to figure out how to test from within php if a url (http://xxx/file.html) is present and what error code is returned (200,201,202,404, etc...) the only way to test a url seems to be to open file('http://xxx/file.html') and see if it can be done. but that

RE: [PHP] time compare in my sql

2001-07-12 Thread Steve Brett
have a look at date_format in the mysql help and pull your sate filed out as a date Steve -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 21:04 To: [EMAIL PROTECTED] Subject: [PHP] time compare in my sql Hi folks I have a filed in data type time ,

[PHP] quotes

2001-07-12 Thread Heidi Belal
Hey, I have a problem using apostrophes/single quotes. I am using PHP and MySQL. The user enters data into the text field and everything goes ok, until an apostrophy/single quote is added in the middle of the text - then disaster occurs! Now i want to allow the user the ability of adding

[PHP] (Your online company)

2001-07-12 Thread wwwjessie
×𾴵ĻáÔ±£¬ÄúºÃ£¡Ò¼Ê³Æ·ÖйúÍø·þÎñÐÅÏ¢¹©Äú²Î¿¼£º ÓµÓÐ×Ô¼ºµÄÍøÉϹ«Ë¾£¬Õ¹Ê¾¹«Ë¾²úÆ·ºÍ·þÎñ£¬Ìá¸ßÆóÒµ¾ºÕùÁ¦,ÄúÓÐÁ½ÖÖÑ¡Ôñ£º 1/ ÍøÕ¾¶¨ÖÆ http://www.ifood1.com/aboutus/ourservices/web.asp :

Re: [PHP] quotes

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

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Steve Brett
mysql front is by far my favourite available from mysql download section. Steve -Original Message- From: Steph [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 05:01 To: [EMAIL PROTECTED] Subject: [PHP] Alternative to phpMyAdmin Hi all! I love phpMyAdmin, just makes life so easy

[PHP] Login system

2001-07-12 Thread Kristjan Kanarik
Dear list, I'm sorry to bother (or sorry for being stupid!) , but I've been looking around for some days and can't find what I'd like to have. My knowledge about sessions is literally non-existent and therefore I decided not to start creating a 'bycycle' from scratch. I'm looking forward for an

Re: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Steve Brett) wrote: mysql front is by far my favourite available from mysql download section. or mysqlfront.de -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: Login system

2001-07-12 Thread Inércia Sensorial
I have used this one with success, mysql and multi-level authorization support: http://www.phpsecurepages.f2s.com/ Can lock individual pages or parts of it with a little modification or well placed include();s. Also, about forms and session IDs, simple solutions would be pass the SID on

[PHP] Re: Silly table and php question.

2001-07-12 Thread elias
You can also do as: img src=checkonline.php and create a file: checkonline.php ? // make some tests to determine if user is online if ($online_condition) { Header(Location: ../images/online.gif); } else { Header(Location: ../images/offline.gif); } exit(); ? Good luck, Johan Vikerskog

[PHP] Re: Login system

2001-07-12 Thread elias
I can suggest Session Variables instead of cookies, Try http://www.zend.com / Tutorial Section there, about Authorization and Session Variables, Kristjan Kanarik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear list, I'm sorry to bother (or sorry for being

[PHP] Re: Using PHP Variables with a Header

2001-07-12 Thread elias
Hey, A simple example with one field: ? if (isset($submit)) { // do fields checking here... if (empty($fname)) { $errmsg = Name not entered please fill it in!; } else { // proceed here } } ? html body form ? if (isset($errmsg)) { ? font

[PHP] Detection of no cookies?

2001-07-12 Thread Morten Winkler Jørgensen
Hi php'ers Since I have a site that relies on cookies it would be good to detect if a user has turned them off. How cat I determine if that is the case? Kind regards, Morten Winkler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Re: Can i get the full HTTP-Header without patching PHP?

2001-07-12 Thread Bernd Kohnen
Peter Clarke [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Rainer Kohnen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, is there a way to get the full HTTP Header without patching PHP? I use a debugger

[PHP] Windows Login Name

2001-07-12 Thread Bernie Kruger
I saw this post in an HTML or Javascript group (can't remember) and I wondered if it is possible in PHP. Can one get the username of a person logged in on a Windows machine with a PHP variable? I have scanned the doc's quickly but I cannot find anything. Tx Bernie -- PHP General Mailing

[PHP] building a search engine ??

2001-07-12 Thread void
I am thinking of building a search engine with the grep command for our site. i have my information in a mysql db, but i am putting it back into text files. reoson being is that maybe the mysql db goes down under hevy load, and then our site would look like a tree with out branches. So i put all

[PHP] Re: Detection of no cookies?

2001-07-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Orv î‰÷inklÏ ²ørÏkîskî) wrote: Hi php'ers Since I have a site that relies on cookies it would be good to detect if a user has turned them off. How cat I determine if that is the case? a hack could be just to try to set one, like if (setcookie(...)) {

Re: [PHP] building a search engine ??

2001-07-12 Thread Miles Thompson
Why reinvent the wheel? Use htdig or one of the other open source search engines. There's a memo on the htdgi site on integrating PHP and htdig. Miles Thompson At 02:26 PM 7/12/01 +0200, void wrote: I am thinking of building a search engine with the grep command for our site. i have my

RE: [PHP] Re: Downloading Data from Database

2001-07-12 Thread Randy Johnson
Dave, The code below gives me an error in IE 5.+ Here is the error: IE cannot download ..blah blah try again later Do you use this code on your site or do i just need to tweak it -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001

[PHP] $HTTP_REFERER 10

2001-07-12 Thread Inércia Sensorial
Is it possible? I am writing a recommend script, and I already know that the $HTTP_REFERER can come empty or even not set, tested turning off the 'Enable Referer Logging' on Opera. But, an invalid $HTTP_REFERER is also one smaller than 10 characters? I believe the smallest referer you

AW: [PHP] Re: Detection of no cookies?

2001-07-12 Thread Sebastian Stadtlich
that does not work since cookie will just be available on the next page.. try tesp.php ? if (!(isset(cookietest))) { setcookie(blahblah...); //new request, so cookie will be send to server header(Location: test.php?cookietest=yes); exit; } else { if

Re: [PHP] how do i get url: response codes?

2001-07-12 Thread infoz
Here's some code I've been using for that. YMMV. :) - Tim http://www.phptemplates.org // // checks $url, returns true/false and sets the response code in $response // function dt_checklink($url, $response) { $ua = parse_url($url); $host = $ua[host]; $port = ($ua[port] != 0) ?

[PHP] PHP irc chatrooms

2001-07-12 Thread Bernie Kruger
Hi, Does anyone know of any PHP related chatrooms? Tx Bernie -- 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] associative arrays

2001-07-12 Thread Martin Lucas
Hi everybody i have the following database query: $result=mysql_db_query(database,select item1,item2 from table); while ($row=mysql_fetch_array($result)){ $a=$row[item1]; $b=$row[item2]; } what i need is an associative array, with $a as

RE: [PHP] PHP irc chatrooms

2001-07-12 Thread Sam Masiello
Try #php :) Lots of people hanging out in there all the time. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Bernie Kruger [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:46 AM To:

RE: [PHP] associative arrays

2001-07-12 Thread Adrian Ciutureanu
$result = mysql_db_query(database,select item1, item2 from table); while ($row = mysql_fetch_array($result)) { $myArray[$row['item1']] = $row['item2']; } -Original Message- From: Martin Lucas [mailto:[EMAIL PROTECTED]] Sent: 12 iulie 2001 16:25 To: '[EMAIL PROTECTED]'

[PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread elias
Maybe what you say about smallest refeerer length is true... but why don't you check via regexps the validity of the REFEERER format only if it was set? InéRcia Sensorial [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible? I am writing a

[PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread Inércia Sensorial
That's also something worth to be done, but first I need to know some possible variations of $HTTP_REFERER... I never saw one, when coming from another domain, without the 'http://'´part, so that's a regex to check, but I may be wrong... -- Julio Nobrega. One and One and One is Three

[PHP] New host doesn't allow file uploads through PHP

2001-07-12 Thread Toby Goldstone
Hi. I've (or rather the company I work for) recently transferred to a new new PHP host (www.hotchilli.com). All is fine, but they do not allow file uploads via a form, stating the following security risk: Arbitrary file disclosure through PHP file upload

RE: [PHP] Re: Warning: mail() is not supported in this PHP build

2001-07-12 Thread scott [gts]
run 'make clean' find out where your current PHP stuff is *now*. use that directory as --prefix=[dir] for the configure script. make; make test; make install; then, restart apache. always do this whenever you make any changes to anything even remotely apache-related. -Original

RE: [PHP] php mail form with predefined subject

2001-07-12 Thread scott [gts]
link to the mail form like this: mailform.php?subject=Requesting+information+on and in the mailform, have a subject field something like this: INPUT TYPE=TEXT NAME=subject VALUE=?= $subject ? -Original Message- From: Ed Peddycoart [mailto:[EMAIL PROTECTED]] Subject: [PHP] php mail

Re: [PHP] PHP irc chatrooms

2001-07-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Sam Masiello) wrote: Try #php :) Lots of people hanging out in there all the time. It seems that #php on efnet is more interesting than others :) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Array problem in PHP. Please help.

2001-07-12 Thread Michael Champagne
Ok, here's the print_r() output of my 2 arrays. The first really just has an extra dimension. How can I get the format of the first one looking like the bottom one (just an array of key = value pairs)? Thanks! Array ( [0] = Array ( [trade_date] = Trade Date ) [1] = Array (

[PHP] multible queries and gets() command

2001-07-12 Thread Jan-Mark Kunberger
Dear php support ! I’m using the fgets() command in a counter. Basically the counter opens a txt-file gets the information from the previous query (see code below). Later this information will be evaluated and be written back into the txt-file (this is not in the code below). $fn = qrydata.txt;

[PHP] compiling

2001-07-12 Thread intiroch
Jorge Inti Benites RocheHi! i'm trying to compile php4.0.6 for it i do: ./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with -ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/local /BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt ok but when i

RE: [PHP] Array problem in PHP. Please help.

2001-07-12 Thread Adrian Ciutureanu
foreach($oldArray as $a)) { list($key, $value) = each($a); $newArray[$key] = $value; } -Original Message- From: Michael Champagne [mailto:[EMAIL PROTECTED]] Sent: 12 iulie 2001 17:37 To: PHP General Mailing List Subject: [PHP] Array problem in PHP. Please help.

AW: [PHP] associative arrays

2001-07-12 Thread Martin Lucas
hi adrian, many thanks for your tip. it works fine. kind regards martin -Ursprüngliche Nachricht- Von: Adrian Ciutureanu [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 12. Juli 2001 15:46 An: Martin Lucas Cc: [EMAIL PROTECTED] Betreff: RE: [PHP] associative arrays $result =

[PHP] Defining constants with a value of 0?

2001-07-12 Thread Robert
I'm running into some unexpected behavior that I can't figure out. This is with PHP version 3, where, to my knowledge, boolean is not built in. ?php define (true, 1); define (false, 0); echo gettype(true); echo gettype(false); ? The type of true is returned as an

RE: [PHP]I'm puzzled. TEXTAREA related.

2001-07-12 Thread Mark Roedel
-Original Message- From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 5:40 PM To: PHP General List (E-mail) Subject: [PHP]I'm puzzled. TEXTAREA related. hey- i have a page containing a form with a textarea field. The first part of the page is a

[PHP] Arggg

2001-07-12 Thread Christopher Allen
PHP PEOPLE, Sorry this is way off topic but can anyone point me to a place where I can find out how to mount/automount a tape drive in Linux? I need to know device name mount commands and tape drive commands etc...Been searching on the net for hours and the bits and pieces are not forming a whole

[PHP] PHP Security Info - PLEASE READ

2001-07-12 Thread Gonyou, Austin
http://www.securereality.com.au/studyinscarlet.txt -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Finding Out Document That Included Another File

2001-07-12 Thread Jeff Gannaway
I have a PHP file that gets included by a lot of other files in a lot of other directories. Among other things, this file needs to display a link to that original page. I know I could specify this in a variable in each original file before the INCLUDE statement, but I'd like to do something

Re: [PHP] Finding Out Document That Included Another File

2001-07-12 Thread Aral Balkan
The way PHP works currently, $PHPSELF will point to your original file. This is actually a problem, as it means that you cannot use relative includes in the included file if its in a different directory. There's currently discussion on the PHP-DEV list about changing this. Perhaps there's going

[PHP] how to check if the required fields were filled in without the text in them?

2001-07-12 Thread Aniceto Lopez
Hola everybody; this is a simple form to send a mail via php, check if a field was filled in and prompt an error msg (if not) is easy but when the Submit button is presssed the text in the rest of the fields dessapear. How to avoid fields draining if one of them is no filled in? thanks Ani

Re: [PHP] Speed of loding PHP pages

2001-07-12 Thread Alexander Skwar
So sprach »Aral Balkan« am 2001-07-11 um 14:59:44 -0400 : Personally, I couldn't be happier that Netscape won't be making browsers Ah, so Microsoft also stopped making operating systems? anymore and I wish that trouble-some bug of an excuse for a browser would just go away :) Well, Netscape

[PHP] Regular expression, parsing bad html in a xml document (strange)

2001-07-12 Thread Francis Fillion
I'm having problem with regular expression, not a good eek this week it seen like I alway's get a wall of problem. I know that it surely been ask a 1000 times, I look around, didn't find anythings, if you find somethings please point me out. So here what I want to do, I need to parse a xml

[PHP] Re: Popquiz...

2001-07-12 Thread Lasse
Elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How you mean *in it's original form* ? Lasse [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ..Or call it a riddle.. Whatever... :-) What did the following code look

[PHP] Please Help!!how to connect to a database server

2001-07-12 Thread David Yen
hi. I am a newbie. We have a database server on the network along with an IIS (MS Internet Information server)server. We have PhP installed on IIS. What would the db connection parameters look like if I wanted to connect to our DB server. The database server name is USABASE. would it

RE: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread scott [gts]
a partial suggestion would be to try an fopen() on the HTTP_REFERER if it was a static document like .html or .txt but if someone is being redirected from a CGI script or dyanmic page of any sort, it'll be virtually impossible to find out exactly where they came from and if that page is

RE: [PHP] building a search engine ??

2001-07-12 Thread scott [gts]
and to answer one of the previous questions, yes... it is *very* resource intensive to scan an entire directory tree full of files every single time a user wants to search as far as i know, htdig indexes the information into one big file, and just reads thru that... which will save you

[PHP] RE: building a search engine ??

2001-07-12 Thread Philip Hallstrom
You might also take a look at: http://www.php.net/manual/en/ref.mnogo.php On Thu, 12 Jul 2001, scott [gts] wrote: and to answer one of the previous questions, yes... it is *very* resource intensive to scan an entire directory tree full of files every single time a user wants to search

RE: [PHP] building a search engine ??

2001-07-12 Thread Navid A. Yar
This sounds interesting. Where can I find htdig? -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 12:20 PM To: php Subject: RE: [PHP] building a search engine ?? and to answer one of the previous questions, yes... it is *very* resource

RE: [PHP] building a search engine ??

2001-07-12 Thread Brian Paulson
http://www.htdig.org -Original Message- From: Navid A. Yar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:50 AM To: 'scott [gts]'; 'php' Subject: RE: [PHP] building a search engine ?? This sounds interesting. Where can I find htdig? -Original Message- From: scott

[PHP] Re: building a search engine ??

2001-07-12 Thread ~~~i LeoNid ~~
On Thu, 12 Jul 2001 14:26:33 +0200 impersonator of [EMAIL PROTECTED] (Void) planted I saw in php.general: I am thinking of building a search engine with the grep command for our site. i have my information in a mysql db, but i am putting it back into text files. reoson being is that maybe the

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Matthew Loff
I second that recommendation-- MySQL-Front is downright excellent! http://www.mysqlfront.de/ -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 6:47 AM To: Steph; [EMAIL PROTECTED] Subject: RE: [PHP] Alternative to phpMyAdmin mysql front

Re: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Clayton Dukes
I'd like to cast my vote for Webmin :-) www.webmin.com Clayton Dukes CCNA, CCDA, CCDP, CCNP (c) 904.477.7825 (h) 904.292.1881 Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: 'Steve Brett' [EMAIL

Re: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Alexander Skwar
So sprach »Matthew Loff« am 2001-07-12 um 14:07:16 -0400 : I second that recommendation-- MySQL-Front is downright excellent! http://www.mysqlfront.de/ Well, but how is that going to work, if Steph wants to manage his databases on his providers server? Besides, mysqlfront is a Windows

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Steph
After a little investigation, I figured out what was wrong - for whatever reason the server is requiring /index.php as part of the url. But thanks guys, I'll definitely look into MYSQL- Front!! -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread scott [gts]
i manage the production mysql database on a linux server from my windows desktop at work it's an extremely nice program. :) many compliments to the authour, if he reads this list. -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001

Re: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread Inércia Sensorial
Thank you Scott for the various ideas. I am preventing an eventual 'no referer' situation with a default url provided by who opens an account. I am getting (and trying to give :)) help on this list, so I will ask first before doing... Is it normal to announce personal projects here? This one

Re: [PHP] Algorithm for repeating calendar events

2001-07-12 Thread Reuben D Budiardja
Great, I'd like to steal it too then :). I just check php.net, but couldn't find it. In what section would you put it? Thanks. Reuben D. Budiardja On Tuesday 10 July 2001 05:34 pm, Rasmus Lerdorf wrote: Have any of you seen those calendar applications that let you program events that

Re: [PHP] Algorithm for repeating calendar events

2001-07-12 Thread Rasmus Lerdorf
Not quite live yet. You'll see it when it goes live. By the way, there is a very complete date class in PEAR that has pretty much everything you would need to build a calendar app. See pear/Date/Calc.php -Rasmus On Thu, 12 Jul 2001, Reuben D Budiardja wrote: Great, I'd like to steal it too

RE: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread scott [gts]
i know that i am always interested to see code posted on this list... even if i cannot personally use the code, i'm always curious to see how people write code. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Re: $HTTP_REFERER 10 Thank you

Re: [PHP] New host doesn't allow file uploads through PHP

2001-07-12 Thread Rasmus Lerdorf
If you use the documented mechanism for handling file uploads, then there is no such security problem. See http://www.php.net/manual/en/features.file-upload.php ie. use the move_uploaded_file() function. -Rasmus On Thu, 12 Jul 2001, Toby Goldstone wrote: Hi. I've (or rather the company I

[PHP] error compiling php4.0.6 with apache

2001-07-12 Thread intiroch
Jorge Inti Benites RocheHi! i'm trying to compile php4.0.6 for it i do: ./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with -ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/loc al /BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt ok

RE: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Matthew Loff
Same here... I run MySQL on Win2k as well as Linux machines, and use Mysql-Front for things like table creation, user management, etc. It's also a great tool for EXPLAINing massive queries to find the most efficient. -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]]

RE: [PHP] Algorithm for repeating calendar events

2001-07-12 Thread Matthew Loff
libmcal is a pain in the butt to set up, but once it's set up, it has some great features... I had to write a PHP page that handled scheduling of appointments, and mcal saved me a lot of time, after I spent the initial 2 hours pulling my hair to set it up. :) -Original Message- From:

[PHP] browser tries to download not display

2001-07-12 Thread James Rodenkirch
I am having a problem - hopefully someone can help me :o) I am trying to use a php document on a secure server, but instead of displaying output from the script, it tries to download the file. Even code this simple does it: ?php print(Hi); ? Thanks!!

RE: [PHP] browser tries to download not display

2001-07-12 Thread scott [gts]
some questions ;) have you tried accessing the script non-secure? is php properly installed and running on your server? did you restart the server after installing PHP? are you using a different server to handle secure queries? does that server have php installed and configured properly?

[PHP] newbie question

2001-07-12 Thread André Weidemann
The ereg_replace for some reason doesn't always work. I tried this: HTLM BODY ? $st = This +is a test; $st = ereg_replace (=+is, and_is, $st); echo $st; ? /BODY /HTML ..and got: REG_BADRPT in b/usr/local/httpd/htdocs/test.php/b on line 5 What is wrong and how can I do what I want to? Thanx a

Re: [PHP] Regular expression, parsing bad html in a xml document (strange)

2001-07-12 Thread Francis Fillion
Lazy me, after a short break, alway's helping, I found out wthat it has to be: /\(?!\?xml|\!DOCTYPE|\!ENTITY|image|item|\/item)/ the ?! negate this text, I though that I could put it in every value like this (?!\?xml|?!\!ENTITY ... but no by putting in first he do it for all (k.i.s.s.

Re: [PHP] newbie question

2001-07-12 Thread Francis Fillion
Try this : $st = ereg_replace (\+is, and_is, $st); you have to escape the + sign it mean other things then just literal André Weidemann wrote: The ereg_replace for some reason doesn't always work. I tried this: HTLM BODY ? $st = This +is a test; $st = ereg_replace (=+is, and_is, $st);

[PHP] apache not handling 404 errors for .php pages

2001-07-12 Thread scott [gts]
I have custom 404 error handling setup on my linux apache box, however, there's a problem with files that have a PHP extension. it seems that apache itself does not check for the existence of the requested .php file and fires up PHP no matter what. if PHP does not find the requested file, it'll

Re: [PHP] apache not handling 404 errors for .php pages

2001-07-12 Thread DAve Goodrich
on 7/12/01 12:38 PM, scott [gts] at [EMAIL PROTECTED] wrote: I have custom 404 error handling setup on my linux apache box, however, there's a problem with files that have a PHP extension. it seems that apache itself does not check for the existence of the requested .php file and fires up

RE: [PHP] installation

2001-07-12 Thread scott [gts]
the RPM is a binary. if mysql support is not in the RPM, there's no way to add it if you want to install PHP the simplest way, get the sources and compile it yourself as a stanalone binary (NOT using --with-apache or --with-apxs) then you can tweak it however you want, and compile in

RE: [PHP] quotes

2001-07-12 Thread scott [gts]
also: mysql_escape_string() will format data properly for use in MySQL queries -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] quotes Heidi Belal wrote: I have a problem using apostrophes/single quotes. I am using PHP and MySQL. The

Re: [PHP] Credit Card script that really works...

2001-07-12 Thread Aral Balkan
You may also want to try Manuel Lemos' Form class -- it is very detailed and well coded solution that handles all sorts of form validation, including credit cards: http://www.phpclasses.upperdesign.com/browse.html/package/1 Aral :) __ ([EMAIL PROTECTED]) New

Re: [PHP] how to check if the required fields were filled in without the text in them?

2001-07-12 Thread rip
Use javascript to validate. This way the form is not submitted in the first place. You could use some server-side (PHP) validation just in case. html head titlemail send/title Script Language=JavaScript function validate() { jumpto = ; errors = ; var reg1str =

[PHP] referenced function not found errors. [ ap_block_alarms() ]

2001-07-12 Thread Kervin Pierre
Hi, I just installed apache 1.3.20 on solaris7-sparc machine. When I try to start apache with PHP compiled as a module, I get... /www bin/apachectl start Syntax error on line 208 of /www/conf/httpd.conf: Cannot load /www/libexec/libphp4.so into server: ld.so.1: /www/bin/httpd: fatal:

RE: [PHP] building a search engine ??

2001-07-12 Thread rm
What you might want to try is something called ksearch.cgi, you'll find it at cgi-resources.com It's actually very good and very very small. It actually indexes your site and stores the info in several db databases or a text file, your choice and offers, if I'm not mistaken, boolean search, oh

[PHP] session management conflicts with xhtml specifications

2001-07-12 Thread Jan
My output does not validate as XHTML because of the sign in the a href that is automatically appendet by the php session management. it should be exchanged by an amp; entity. Is there a way to do this? There should be one I guess ... Thanks, Jan.

Re: [PHP] session management conflicts with xhtml specifications

2001-07-12 Thread Rasmus Lerdorf
You can change the arg_separator setting in your php.ini file. ie. arg_separator = amp; or perhaps: arg_separator = ; -Rasmus On Fri, 13 Jul 2001, Jan wrote: My output does not validate as XHTML because of the sign in the a href that is automatically appendet by the php

[PHP] Thumbnail Generation from DB Stored Images.

2001-07-12 Thread Jason Bell
Hello! I have images stored in a MySQL Database. I can retrieve the images and display them without a problem, but I'd really like to be able to create thumbnails. The code that I've written just doesn't seem to work. Preferably, I'd like to pull the image from the database, and create the

[PHP] replacing part of string with values in array

2001-07-12 Thread Gregor Jaksa
hello, ok heres the thing ;) lets say i have array(part1, part2, part3, part4); now i have string like $string = here's PART and heres PART, another PART here and final PART here; now i wanna replace first PART in string with part1 from array and second PART with part2 from array ... one more

Re: [PHP] replacing part of string with values in array

2001-07-12 Thread Brian White
Shoot from the hip response... untested function resolveParts( $str, $partsArray ) { // explode the original $str based on 'PART' $stringBits = explode( 'PART', $str ); //Ok. So now we have two arrays. The length of partsArray // should be one less than stringBits

[PHP] Upcoming wrox php/flash book?

2001-07-12 Thread Kurt Lieber
I was searching for a Flash book today and ran across the following book, due to be released in September 2001: http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=190345016 0 It's entitled Foundation Php for Flash 5 Now, I've never heard of using PHP to control Flash and, given the

  1   2   >