Re: [PHP] OT-Please bare with me :)

2001-05-03 Thread Hrishi
Brandon Orther wrote: > menu on the new Cobalt XTR server admin section. If anyone has a > JavaScript or a tutorial how to make a drop down menu please send me a > link. try http://www.webreference.com/dhtml/ cheers, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] BET News

2001-05-03 Thread Hrishi
MTV Jams wrote: > http://www.mp3.com/mcpedro from [EMAIL PROTECTED] > > The question is this, If you placed a Jamaican born MC on a Hip > Hop/Trance/Techno track and told him to flow without losing his yard > essence (Jamaican Vibes), what would you get? Most likely confusion of > course,

Re: [PHP] MD5 password

2001-05-03 Thread elias
Get Input password into $pwd Get hashed password from db into $hashed_pwd do compare like: if (md5($pwd) == $hashed_pwd) { // good! } ""Yamin Prabudy"" <[EMAIL PROTECTED]> wrote in message 004901c0d462$ff394240$[EMAIL PROTECTED]">news:004901c0d462$ff394240$[EMAIL PROTECTED]... > Hi there assume

[PHP] Gettting an XML file through a proxy

2001-05-03 Thread Steve Haemelinck
Hi All Anybody got an idea how I can get an XML file through a proxy. I tried fsockopen with a a GET request but this does not give me what I want :) Thx Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ [EMAIL PROTECTED] Work: M

[PHP] MD5 password

2001-05-03 Thread Yamin Prabudy
Hi there assume that I had a password field in md5 format like this $1$uJ8d$jJKOHnfh^79824/. how do i compare an input password to the password that I sore in database so it can return right or wrong password thanks Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Searching for array keys

2001-05-03 Thread Mark Charette
> > What's the best way of finding out if a specific array key is in an array? > > I have an associative array which *may* look like > > (car =>saab, house => mansion, countyW=> A) but can equally well look like > > > > (boat => daycruiser, house => flat, county => B). > > > > I want to find out

Re: [PHP] Working with numbers

2001-05-03 Thread Oliver Heinisch
At 01:39 04.05.01 -0400, you wrote: Ok Jennifer lets do some "basics" ;-) >I've done some searching on the php site for more info about >double and float etc, but I don't really understand anything I >found. Can someone give me an explanation about the difference >between decimal, float, double?

[PHP] Keyboard Hotkeys

2001-05-03 Thread Chris Aitken
Hey guys, Just a quick quesiton I was asked by someone here at work for a database im working on. Is there any system which people have been able to utilise Javascript or another method to map out a keyboard shortcut to do something. Either making it process a submit button to a PHP script, or

[PHP] emalloc message

2001-05-03 Thread claudia
Hi, i additional found out, that every time i get the "network error" message i also get a error message in the apache error log. FATAL: emalloc(): Unable to allocate 8426419 bytes What does this mean, and what can i do? It´s every time the same amount of bytes. Please help, claudia > Hi

[PHP] array 2 links

2001-05-03 Thread Joseph Blythe
Hello, I seem to be having some difficulty understanding why the following function skips every 5th array item, basically the following function takes two parameters category and an array, when placed inside a table it will generate links based on the array items splitting the table into colum

Re: [PHP] Searching for array keys

2001-05-03 Thread mailing_list
> What's the best way of finding out if a specific array key is in an array? > I have an associative array which *may* look like > (car =>saab, house => mansion, countyW=> A) but can equally well look like > > (boat => daycruiser, house => flat, county => B). > > I want to find out if the key "

Re: [PHP] Working with numbers

2001-05-03 Thread Jennifer
Christian Reiniger wrote: > > On Thursday 03 May 2001 08:53, Jennifer wrote: > > > I have a shopping cart that allows decimal points for quantities. > > I like it like that, but would like to remove any trailing zeros > > and if the quantity is not a fraction I would like to remove the > > dec

php-general Digest 4 May 2001 05:25:59 -0000 Issue 665

2001-05-03 Thread php-general-digest-help
php-general Digest 4 May 2001 05:25:59 - Issue 665 Topics (messages 51302 through 51368): Re: REG_BADPAT ERROR! 51302 by: CC Zona Re: Include and require 51303 by: Johnson, Kirk 51305 by: Philip Olson File Uploads and Get Method 51304 by: Omar Elkassir

Re: [PHP] session_register()

2001-05-03 Thread Jennifer
This is bad, bad, bad. I tried using another browser as you suggested (since I was using Netscape 4.7) and the session_register worked. I still got different results than you though. Read throughout for more comments. "Johnson, Kirk" wrote: > > Jennifer, there are at least two of us totally c

[PHP] Searching for array keys

2001-05-03 Thread Martin Skjöldebrand
What's the best way of finding out if a specific array key is in an array? I have an associative array which *may* look like (car =>saab, house => mansion, countyW=> A) but can equally well look like (boat => daycruiser, house => flat, county => B). I want to find out if the key "car" is in the

Re: Re[2]: [PHP] Protecting programs

2001-05-03 Thread Steve Werby
"Richard Kurth" <[EMAIL PROTECTED]> wrote: > what is obfuscation Essentially, it means making the code hard to read, follow and locate. > encryption It's the coding or scrambling of data that requires decoding to be read. MaD dUCK's other suggestions are better since he is correct in saying the

Re: [PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I think that was the first thing I tried. It might have something to do with the actual image itself. Images created with th PHP/GD routines come up with acceptable results. Thanks, Eric Quoting Dan Lowe <[EMAIL PROTECTED]>: > Previously, Eric Knudstrup said: > > I am having an issue with 4.0.

Re: [PHP] Need to know this

2001-05-03 Thread Chris Adams
On 3 May 2001 20:19:51 -0700, YoBro <[EMAIL PROTECTED]> wrote: > ASP or PHP and who has the biggest market share. Which is better is a subject of some debate. Suffice it to say that most of the people on this list will say PHP. I personally consider ASP a good idea only if you have a heavy Micros

Re: [PHP] session_register()

2001-05-03 Thread Jon Peccarelli
I am experiencing this EXACT SAME PROBLEM after upgrading PHP from 4.0.4pl2 to 4.0.5. It is ROYALLY TICKING ME OFF!!! I can't complete my site until this stupid functionality is FIXED WTF! ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

RE: [PHP] Need to know this

2001-05-03 Thread Ankur Verma
maybe you could find some good info on PHP vs ASP here http://php.resourceindex.com/Documentation/Reviews_and_Analysis/PHP_vs._ASP/ regards Ankur Verma -Original Message- From: YoBro [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 8:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Need

RE: [PHP] Real Time

2001-05-03 Thread Jack Dempsey
PHP is server side. If you want to continously display the real time on your page, accurate to the second, you'd have to refresh every second...if you're not concerned about to the second accuracy, you could just use the date function with teh appropriate parameters to give you the current time wh

Re: [PHP] Need to know this

2001-05-03 Thread [EMAIL PROTECTED]
Parsed Hypertext Processing, AFAIK. YoBro wrote: > Hello, > > I need to find out what PHP stands for. > > Also what is better, > ASP or PHP and who has the biggest market share. > > Any help would be really great. > > Thanks, > > Chris > > -- > PHP General Mailing List (http://www.php.net/) > To

[PHP] Real Time

2001-05-03 Thread Budi
Hi, I need some help for displaying realtime clock on my page with PHP script. Any ideas how to do it ? -- 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: [EM

[PHP] Need to know this

2001-05-03 Thread YoBro
Hello, I need to find out what PHP stands for. Also what is better, ASP or PHP and who has the biggest market share. Any help would be really great. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] cybercash and php3

2001-05-03 Thread Tobe Johnson
Does anyone have any experience setting up cybercash on a RaQ3 running Perl and PHP3 and name based hosting? I have a client who wants to use cybercash for their ecommerce processing. If someone has some experience setting up such a system, I'd be glad to pay to have them work with me on this

[PHP] Running from user home directory

2001-05-03 Thread Alan Kong
Hi, The web directory of users is www_docs. How could I allow users to access their php's using ~USER/MYphp.php The config of my server: Platform: Sun Sparc Solaris 2.7 WWW server: Apache 1.3.9 + mod_sll php: php4.0.3 Thanks. Regards Alan -- Alan Kong

[PHP] HELP can not see data or tables in database

2001-05-03 Thread Richard Kurth
I have a major problem could somebody take a seeress look at this mysql running on cobalt raq4 I have looked through the archives and looked at the manual can not find anything to explain this nothing in the mysql log file I can not access the databases from the web browser I get empty data

[PHP] Getting the first part out of a string

2001-05-03 Thread Richard Kurth
I know how to get last part of a string out of a string But how do I get the first part before the needle On the example below I just what domain $hostdomain= domain.com $host = substr (strrchr ($hostdomain, "."), 1); echo $host; com -- PHP General Mailing List (http://www.php.net/) To

[PHP] % always return int?

2001-05-03 Thread Christian Dechery
How can I get the modulus of an float by an integer? $time=3.345345; $time2=2.34234; $time3=$time%$time2; echo $time3; this outputs 1. $time=3.345345; $time2=2 $time3=$time%$time2; echo $time3; this also outputs 1. Of course... when dividing two floats, there is no remainder... but, there is

RE: [PHP] simple database extraction problem :(

2001-05-03 Thread Jack Dempsey
You can keep a count of what row in the result you are and use that accordingly to format your results... -Original Message- From: Sandeep Hundal [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 7:10 PM To: php Subject: [PHP] simple database extraction problem :( hi all! just a

Re: [PHP] simple database extraction problem :(

2001-05-03 Thread Phillip Bow
Clue = "Nested Loops" -- phill "Sandeep Hundal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi all! > > just a quick thing. i've got loads of info in mysql, which i extract > and then use a "while ($r = mysql_fetch_array($result)) {" to output > the result.

Re[2]: [PHP] Protecting programs

2001-05-03 Thread Richard Kurth
Hello MaD, what is obfuscation/encryption Thursday, May 03, 2001, 5:01:34 PM, you wrote: MaD> also sprach Richard Kurth (on Thu, 03 May 2001 04:31:42PM -0700): >> Is there any way to protect a php program. Like you can other software >> were you can limit the amount of time they can use it. some

Re: [PHP] Protecting programs

2001-05-03 Thread MaD dUCK
also sprach Richard Kurth (on Thu, 03 May 2001 04:31:42PM -0700): > Is there any way to protect a php program. Like you can other software > were you can limit the amount of time they can use it. something like a > compiled c program that the php program would have to look of a cod > otherwise it

Re: [PHP] Protecting programs

2001-05-03 Thread Dave Mariner
Well, you could check & exit if it's passed a certain date. Also, using the Zend tool that encrypts the source would be an idea (but that costs money!). You could have a look at parsing the source code & writing an obfuscator, anyone know if there's one already written? Dave - Original Messa

[PHP] Protecting programs

2001-05-03 Thread Richard Kurth
Is there any way to protect a php program. Like you can other software were you can limit the amount of time they can use it. something like a compiled c program that the php program would have to look of a cod otherwise it will not work. Or am I just dreaming -- PHP General Mailing List (http

[PHP] simple database extraction problem :(

2001-05-03 Thread Sandeep Hundal
hi all! just a quick thing. i've got loads of info in mysql, which i extract and then use a "while ($r = mysql_fetch_array($result)) {" to output the result. the only thing is, because its a loop, all results look the same, whereas i want the first row to be displayed differently than the next 4

Re: [PHP] Finding the point

2001-05-03 Thread Henrik Hansen
"Chris Mason" <[EMAIL PROTECTED]> wrote: > I need to abrieviate a block of text at the first full stop after 100 > characters, does anyone have a handy dandy way of doing it? wordwrap() -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] enable-trans-sid

2001-05-03 Thread Walgamotte, David
I upgraded from 4.0.4 to 4.0.5 and trans sid no longer works. Any ideas ? DW

[PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I am having an issue with 4.0.5 where the following code snippet: $orig = imagecreatefromjpeg($tmp); echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($orig) . ''; $orig_size = getimagesize($tmp); echo "orig x: $orig_size[0] orig y: $orig_si

Re: [PHP] install issue with 4.0.5

2001-05-03 Thread Martín Marqués
On Vie 04 May 2001 00:41, you wrote: > I've just tried to compile and install > php 4.0.5 with apache and when I try to > restart apache I get the following. I added > the location of libphp4.so to ld.so.conf and > ran ldconfig and then make clean and re-compiled > php etc... any ideas as to what

[PHP] Finding the point

2001-05-03 Thread Chris Mason
I need to abrieviate a block of text at the first full stop after 100 characters, does anyone have a handy dandy way of doing it? Chris Mason Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 USA Fax (561) 382-7771 Take a virtual tour of the island http://net.

Re: [PHP] Returning Lowest Number Not In Array

2001-05-03 Thread Phillip Bow
rsort($array); $nextNum = $array[0] + 1; You may have to include the numerical flag, but I don't think so. -- phill "Mike Potter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all: > I'm hoping someone can help me out with this array problem. I'm > try

[PHP] install issue with 4.0.5

2001-05-03 Thread Jerry Lake
I've just tried to compile and install php 4.0.5 with apache and when I try to restart apache I get the following. I added the location of libphp4.so to ld.so.conf and ran ldconfig and then make clean and re-compiled php etc... any ideas as to what is going on ? [root@localhost bin]# ./apachectl

[PHP] authentication to https server

2001-05-03 Thread Wei Weng
hi I have a question here. This is what i want to do: I have a login/password form, in order to make the password going through the network (from client's browse to the server) secure, I need to run https server on the server side. Here is my problem: How do I do the authentication? Originally,

[PHP] parsing "problem" with 4.0.5

2001-05-03 Thread Ken
With 4.0.4pl1 and earlier, this did not occur, but with 4.0.5, there are some files on our server that are not getting parsed as php, and just showing up as the code itself. The problem files are a mess, but I only mention them since they got parsed before. They are php files that the designer

RE: [PHP] Session Variables

2001-05-03 Thread Johnson, Kirk
Sorry for the confusion. The variable has a value as soon as you assign it, and you can use the variable in other statements within the same script. However, the value does not get stored to the session file until after the script ends. Kirk > -Original Message- > From: Nikhil Goyal [mai

Re: [PHP] PHP Training Course Offered - June 25th

2001-05-03 Thread Fred
*humps ad* Keith Elder <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Do you need to get your staff up to speed on PHP? Are you a PHP programmer, looking for a hands on approach to learning PHP? If you fit any of these conditions or just want to learn more

[PHP] PHP Training Course Offered - June 25th

2001-05-03 Thread Keith Elder
Do you need to get your staff up to speed on PHP? Are you a PHP programmer, looking for a hands on approach to learning PHP? If you fit any of these conditions or just want to learn more about building dynamic web sites with PHP, then consider taking our PHP training course this coming June.

Re: [PHP] Session Variables

2001-05-03 Thread Nikhil Goyal
so the session variable is set only when the script ends? I thought you indicated that they were set immediately... Thanks for the quick reply, Nikhil ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The session variable values get stored to

RE: [PHP] Session Variables

2001-05-03 Thread Johnson, Kirk
The session variable values get stored to the session file (or database, or wherever your configuration is set to store them) at the end of script 1. When session_start() is called in script 2, those values get restored from the session file. So, your results are expected: PHP needs to store the

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Altunergil, Oktay
If you don't use output buffering, the session stuff has to be the first thing in you script. In other words, you should not send anything to the browser before the session functions. In your case you are sending html tags to the browser before the session functions. Rewrite it as the following:

Re: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Nikhil Goyal
the session_start() should be placed at the top, before the ... wrote in message 454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR">news:454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR... > Hi! my name is bruno, from Brazil and i'm having some problems with > sessions. > Look my code: > >

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Johnson, Kirk
Just move these two lines to the beginning of the file: session_start(); session_register("test"); These have to be before any output is sent to the browser. Kirk > -Original Message- > From: Bruno Freire [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 03, 2001 2:42

[PHP] Session Problems....HELP!!!!

2001-05-03 Thread Bruno Freire
Hi! my name is bruno, from Brazil and i'm having some problems with sessions. Look my code: ... The message returned in my browser is: Warning: Cannot send session cookie - headers already sent by (output started at /home/httpd/html/intranet/teste.php:11) in /home/

Re: [PHP] Session Variables

2001-05-03 Thread Nikhil Goyal
Funnily - doesn't work for me. Here's what I got: Script #1 #!/usr/local/bin/php Script #2 #!/usr/local/bin/php If I start script#1 (and it sleep()s), wait 10 seconds, then launch script #2 in a separate browser window, script #2 returns empty. However once the sleep() is completed and I refr

RE: [PHP] Session Variables

2001-05-03 Thread Johnson, Kirk
> -Original Message- > From: Nikhil Goyal [mailto:[EMAIL PROTECTED]] > When does a session variable become available? Immediately after the > session_register command or after the script ends? Immediately after it is assigned. > And if the commands are as follows: > > session_start();

[PHP] Session Variables

2001-05-03 Thread Nikhil Goyal
When does a session variable become available? Immediately after the session_register command or after the script ends? And if the commands are as follows: session_start(); session_register("hello"); $hello=3; will the session variable $hello be set to 3 or do I have to add another session_regi

Re: [PHP] using an array with form list values

2001-05-03 Thread Philip Hallstrom
Something like this should help: if( is_array($preferred_location) ) { #your code goes here. } In article <9csden$8qu$[EMAIL PROTECTED]> you write: >I need to check that a form entry defined as an array contains a value >before initiating the foreach code in my script. > >I have my form

Re: [PHP] Redirect With Authentication Question

2001-05-03 Thread Philip Hallstrom
Take a look at: ftp://ftp.isi.edu/in-notes/rfc2617.txt To receive authorization, the client sends the userid and password, separated by a single colon (":") character, within a base64 [7] encoded string in the credentials. basic-credentials = base64-user-pass base64-user-pass

Re: [PHP] Need a partner for PHP dev.

2001-05-03 Thread Michael Kimsal
Perhaps you could post this project on sourceforge - you might be able to attract some developers that way. [EMAIL PROTECTED] wrote: > Hi, > >I know this isn't the best place to post this, but I tried a lot of > other places without much success. > >I am developing a very flexible shoppi

RE: [PHP] using an array with form list values

2001-05-03 Thread Johnson, Kirk
Try enclosing the foreach inside an: - if block which checks that count($preferred_location) > 0; or, - if block which checks if it is defined, if($preferred_location). Hopefully, one of these should work :) Kirk > -Original Message- > From: Claudia [mailto:[EMAIL PROTECTED]] > Sent: T

[PHP] problem search in array

2001-05-03 Thread Jan Grafström
Hi! This file will not work for me. I have tried in several ways and I want it to print "Got word" if it find $word. $filename = "test.xml"; $fp = fopen($filename, "r"); $string = fread($fp, filesize($filename)); $string = strip_tags($string); $refined_string = explode(" ", $string); if (in_a

[PHP] using an array with form list values

2001-05-03 Thread Claudia
I need to check that a form entry defined as an array contains a value before initiating the foreach code in my script. I have my form field defined in my form as: Bermuda California Caribbean Caroli

[PHP] changing a file on the server using a web form

2001-05-03 Thread Sherman
Hi, I have installed mod_php on my Apache web server and there is something I was curious about. I would like there to be a web page with a form that a user can enter some info into.. and it change a file in say /etc/file.txt when they submit the form .. any tips or advice on how I would g

[PHP] Need a partner for PHP dev.

2001-05-03 Thread cedric
Hi, I know this isn't the best place to post this, but I tried a lot of other places without much success. I am developing a very flexible shopping cart system, as I have clients who needs one and I think that the available software is either overpriced or lacks features / flexibility. I

[PHP] question about broadcast application

2001-05-03 Thread Michael Geier
My bosses came to me and asked me to spec out a broadcast mailer (spam box) that clients could: - log into - choose a pre-approved list (clients could have multiple lists) - choose a stored email - send sample - send broadcast I know that Qmail and EzMLM a

Re: [PHP] Starting PHP script with crontab

2001-05-03 Thread Michael Kimsal
Noah Spitzer-Williams wrote: > is there a service on the web that can do this for you? i once found a site > that would accept a url and an interval and would retrieve that url > (therefore running any code you had in there) on your interval > > - Noah cronservice.com is one. -- PHP Genera

[PHP] Redirect With Authentication Question

2001-05-03 Thread stan
Authentication Question... My company subscribes to several pay-to-view e-commerce sites that require htaccess-type authentication. To keep things simple for our users and to ensure that our users don't use these accounts w/out our permission, we would like to keep the account IDs and passwords

Re: [PHP] Starting PHP script with crontab

2001-05-03 Thread MaD dUCK
also sprach Noah Spitzer-Williams (on Thu, 03 May 2001 03:34:02PM -0400): > > > with lynx (lynx http://www.domain.nl/test.php) as a commandline within did you use 'lynx -dump '??? martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@mad

Re: [PHP] Starting PHP script with crontab

2001-05-03 Thread Noah Spitzer-Williams
is there a service on the web that can do this for you? i once found a site that would accept a url and an interval and would retrieve that url (therefore running any code you had in there) on your interval - Noah "Anuradha Ratnaweera" <[EMAIL PROTECTED]> wrote in message Pine.LNX.4.21.010502111

Re: [PHP] MySQL select rand() with weighting?

2001-05-03 Thread Mark Maggelet
On Thu, 3 May 2001 20:15:26 +0100, James, Yz ([EMAIL PROTECTED]) wrote: >Hi Guys, > >Does anyone know how to select one field randomnly from a MySQL table >against a weighting column in the same row the field is selected >from? > >For example, "SELECT id, url, image FROM table ORDER BY rand() LIMI

[PHP] Shorten String or encode/decode a string

2001-05-03 Thread Jared Howard
I want to shorten a string that I'll be throwing through the url. It's not so much that it's too long, but it's ugly. What it is, is my query string that I need to pass through to different pages, i.e. viewing multiple pages. Anyway, I was looking at encode and decode features but not really s

[PHP] MySQL select rand() with weighting?

2001-05-03 Thread James, Yz
Hi Guys, Does anyone know how to select one field randomnly from a MySQL table against a weighting column in the same row the field is selected from? For example, "SELECT id, url, image FROM table ORDER BY rand() LIMIT 1". And have a column like "weighting" where values between 1 and 100 ar

[PHP] BET News

2001-05-03 Thread MTV Jams
http://www.mp3.com/mcpedro from [EMAIL PROTECTED] The question is this, If you placed a Jamaican born MC on a Hip Hop/Trance/Techno track and told him to flow without losing his yard essence (Jamaican Vibes), what would you get? Most likely confusion of course, unless the MC was Pedro! Pe

RE: [PHP] File Uploads and Get Method

2001-05-03 Thread Johnson, Kirk
> -Original Message- > now, on the same form, i have a multiple select box, where > you can select > multiple values from one select box. the code is as follows -- > > [ snip ] > > > if the user selects more than one country, then if you echo > $country, it > will show you only the

[PHP] PHP 4.0.5 & Apache 2.0

2001-05-03 Thread Devin Atencio
I was wondering if anyone has gotten Apache 2.0 Beta to install with DSO Support and got PHP 4.0.5 to compile as a DSO using Apache 2.0? I am using FreeBSD 4.3 and can't seem to get it to work for the life of me. /'^'\

RE: [PHP] Include and require

2001-05-03 Thread Philip Olson
for a lengthy post on the subject that clearly explains the differences/similarities/history between require and include, see this post by Zeev : RE: [PHP] Require() vs Include() http://marc.theaimsgroup.com/?l=php-general&m=9741

[PHP] File Uploads and Get Method

2001-05-03 Thread Omar Elkassir
when i upload a file, the form method must be POST because when GET is used, it adds backslashes to the windows path name that already has backslashes, and this causes an error. for instance, the following snippet of code -- if ($add){ $newimage = "whatever.gif"; copy($image, $directory.

RE: [PHP] Include and require

2001-05-03 Thread Johnson, Kirk
> According to the docu u should not require() files or > external code in loops > or u must use curly Bracket when used in if conditions. > > But everythink works fine. I require() successfully in for > loops, I can use > it in if..elseif..else constucts without curly brackets. > (only one li

Re: [PHP] REG_BADPAT ERROR!

2001-05-03 Thread CC Zona
In article <007001c0d38f$c50929b0$a0a6ca18@renttib>, [EMAIL PROTECTED] ("Martin Bittner-Lamy") wrote: > Warning: REG BADPAT in /usr/home/64.157.1.190/public html/test/segrabs.php on > line 236 > > and the line 236 is: $url=ereg replace("&","&",$url); Why are bother to use a regex function fo

php-general Digest 3 May 2001 17:25:01 -0000 Issue 664

2001-05-03 Thread php-general-digest-help
php-general Digest 3 May 2001 17:25:01 - Issue 664 Topics (messages 51215 through 51301): Re: REG_BADPAT ERROR! 51215 by: Jason Murray 51255 by: Gyozo Papp Re: session_register() 51216 by: Jennifer 51220 by: Warren Vail 51222 by: Jennifer 512

[PHP] help variables ..

2001-05-03 Thread exodus
ok here is the problem.. im trying to create a php script that parses some info throws it into a database.. simple enough. now the program im getting the info from stores stuff in a flat file like so $VictimNumber1 = "nickhere"; $VictimNamenickhere = 2; now what i want to do is to do something l

[PHP] Error logging in PHP-4pl1 and Apache 1.3.19 w/ output buffering

2001-05-03 Thread Simon Stewart
I've an installation of PHP4pl1 running under Apache 1.3.19. Without output buffering enabled, the error logging is fine (going to Apache's error_log as expected) The problem is that when I turn on output buffering (to enable me to send cookies when I feel like it ;) the error logging stops being

Re: [PHP] OT-Please bare with me :)

2001-05-03 Thread KPortsmout
In a message dated 03/05/2001 18:07:18 GMT Daylight Time, [EMAIL PROTECTED] writes: << Hello, I am making a suite of php tolls that I want to have all incorporated in one management website. What I would like to have is a drop down menu in a frame on the left. A great example of what I wa

[PHP] OT-Please bare with me :)

2001-05-03 Thread Brandon Orther
Hello, I am making a suite of php tolls that I want to have all incorporated in one management website. What I would like to have is a drop down menu in a frame on the left. A great example of what I want is the left drop down menu on the new Cobalt XTR server admin section. If anyone has a Ja

Re: [PHP] very basic question, needs direction!

2001-05-03 Thread Henrik Hansen
Web master <[EMAIL PROTECTED]> wrote: > Hello, > > I am using PHP as my main language in my websites. I am planning to > set up my own server to host all my domains. Is there a place, where I > can see, how do I set up a server with PHP as the main language and > what are the hardware/soft

Re: [PHP] is this the correct way to use round function?

2001-05-03 Thread Henrik Hansen
"Jacky" <[EMAIL PROTECTED]> wrote: > 1. (*) text/plain > > Is this the correct way to use round function with 2 decimal? > $x = round((44.057/2.545),2); yep -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP] apache toolbox

2001-05-03 Thread Jerry Lake
Just out of curiosity, what problems did you have ? Jerry Lake- [EMAIL PROTECTED] Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Chris Schneck [mailto:[EMAIL PROTECTED]] Se

Re: [PHP] very basic question, needs direction!

2001-05-03 Thread Johannes Janson
Hi, have a look at this article: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ it describes the setup of Apache, PHP, SSL and MySQL. Johannes "Web master" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am using PHP as my main

RE: [PHP] is there free php+mySql hosting?

2001-05-03 Thread Philip Olson
for "informational purposes", an updatable page that contains all the "free php web host" information presented below can be found here : http://www.faqts.com/knowledge-base/view.phtml/aid/4058/fid/27/ regards, philip On Thu, 3 May 2001, Greg Schnippel wrote: > >From the archives: > > "T

Re: [PHP] Strange behaviour of mktime() in objects

2001-05-03 Thread Gyozo Papp
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. május 2. 21:34 Subject: [PHP] Strange behaviour of mktime() in objects > Hi folks, > I have to make several conversions from / to timestamp (seconds in the > UNIX-Epoche) > here you see two snippets of

[PHP] very basic question, needs direction!

2001-05-03 Thread Web master
Hello, I am using PHP as my main language in my websites. I am planning to set up my own server to host all my domains. Is there a place, where I can see, how do I set up a server with PHP as the main language and what are the hardware/software requirements for this? All I need is just a url o

RE: [PHP] Make text a submit button?

2001-05-03 Thread Sander Pilon
bleh Or something very similar. See the form.submit() function in your favorite Javacsript manual. > -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: 3 May 2001 18:09 > To: PHP User Group > Subject: [PHP] Make text a submit button? > > > Hello, > > I am

[PHP] need CORBA/satellite examples

2001-05-03 Thread Peter Dudley
I have been searching for some time now for examples of code that uses = satellite, but the best I can find is the README and the entries in the = PHP manual. Can anyone point me to code that uses satellite that I can = learn from (or if you have code you don't want to post, feel free to = send d

[PHP] Make text a submit button?

2001-05-03 Thread Brandon Orther
Hello, I am currently using image buttons for my submit buttons on a project I am working on. What I would like to use is regular text like a hyperlink. Does anyone know of how I can use text as the submit button? Thanks for any help Brandon -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] How to catch the output of http:// -> text file?

2001-05-03 Thread Wieger Uffink
Hi Simon, Try the following for reading the files, for(i=1;i<2000;i++) { $response=""; $request="kbid=$i"; //Header $header = "POST kb.html HTTP/1.0\r\n"; $header .= "Content-type: application/x-www-form-urlencoded\r\n"; $header .= "Content-l

Re: [PHP] Hosts.

2001-05-03 Thread Subodh Gupta
Check out www.spaceports.com. Subodh Gupta I have learned, Joy is not in things, it is in us. You will ultimately be known by what you give and not what you get. - Original Message - From: "David Bruce" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 7:

Re: [PHP] how?

2001-05-03 Thread Jason Stechschulte
On Thu, May 03, 2001 at 03:56:55PM -0700, elias wrote: > No, ... > Actually,... > I want it so generic, > like myfile.txt can have like: > - > Welcome $username > Enjoy your staying at: $site_name > Mail admin. at $admin_mail for any questions... > - > so bascially, i don't want to do str_replace

RE: [PHP] session_register()

2001-05-03 Thread Johnson, Kirk
Jennifer, there are at least two of us totally confused. I did a copy and paste of your code and got the expected results: session id is afb1f9e27afc752f7d9e96e096ca2209 session_register worked. testing is a registered variable with the contents of /tmp/sess_afb1f9e27afc752f7d9e96e096ca2209 bein

RE: [PHP] is there free php+mySql hosting?

2001-05-03 Thread Greg Schnippel
>From the archives: "The number of free PHP web hosts is growing . More and more are offering MySQL options too! Each category below is in alphabetic order. > Some don't require banners : http://www.1st-home.net/ (requires affiliate signups) http://www.mycgiserver.com/ htt

  1   2   >