Re: [PHP] Suggestion of webpage about search engines

2003-05-30 Thread ruusvuu
C'mon! You built this site - don't lie and say you 'found' it! Quoting l <[EMAIL PROTECTED]>: > I found one small site (designed in php of course:)) what care about > registration on search engines and search engine optimalization here: > > http://submit.prolidi.net/en/ > > I found some of the

Re: [PHP] Sessions can be dangerous

2003-05-30 Thread Mike Morton
Some great points in here George - but it leaves me hanging What are the options? If we are not to use a 'state-ful' system, how do you track users preferences, login/logout states, shopping baskets, and other items that need sessions or some other type of reliable tracking method? Not that

[PHP] Sessions can be dangerous

2003-05-30 Thread George Whiffen
Dear All, There doesn't seem to be much discussion of the disadvantages and long term dangers of using php "sessions". So let's redress the balance: 1. Heterogeneous Code Environments php session data is not easily accessible from non-php code e.g. Perl/C/ASP etc. In contrast, either client-s

[PHP] Re: Can we use one PHP.INI directive to set the other?

2003-05-30 Thread Ananth Kesari
Thanks. I too thought so, but still wanted to find out if there is a way out. Regards, Ananth. >>> "Catalin Trifu" <[EMAIL PROTECTED]> 5/30/2003 12:39:44 AM >>> Hi, Simply put: it doesn't work; you have to put it by hand there, or use the ini_set function in all PHP scripts you need.

php-general Digest 30 May 2003 12:24:32 -0000 Issue 2087

2003-05-30 Thread php-general-digest-help
php-general Digest 30 May 2003 12:24:32 - Issue 2087 Topics (messages 149508 through 149549): Re: Variables not being past 149508 by: The.Wiz "Please wait"/server push sample code 149509 by: Karl O.Pinc mysql field getting cut off 149510 by: Larry Brown 1495

[PHP] Suggestion of webpage about search engines

2003-05-30 Thread l
I found one small site (designed in php of course:)) what care about registration on search engines and search engine optimalization here: http://submit.prolidi.net/en/ I found some of the information very helpful, so I send it to you. L. -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Zend Gone missing

2003-05-30 Thread Chris Blake
Howdy David, I also got this info from Zends`site, but can`t find the file to run. I also checked around on their FAQ`s but found nothing related to my problem. I`ll send them mail to get it sorted, just thought someone knew off-the-bat what to do. Many thanks for replying, much appreciated. Re

Re: [PHP] Zend Gone missing

2003-05-30 Thread David Grant
Chris Blake wrote: Any ideas ? From: http://www.zend.com/install_instruct.php: To start the ZDE (Zend Development Environment), run the zde in the directory where you installed it (typically, /usr/local/Zend/bin) Looks like you'll have to create your own shortcut (advice on how to is beyond the

RE: [PHP] PHP- Converting to and from TIMESTAMPS

2003-05-30 Thread John W. Holmes
> I am wanting one field on a table in one of my MYSQL databases to contain > different dates and times as a epoch timestamps. > > Firstly how do I convert a particular time and date which the user will > enter on the website into the epoch timestamp. $db_timestamp = strtotime($user_input); > A

Re: [PHP] PHP- Converting to and from TIMESTAMPS

2003-05-30 Thread Leif K-Brooks
If you'd bothered to RTFM, you'd know both answers already. strtotime() for number one, and date() accepts an optional second argument (the timestamp). Ian Gray wrote: I am wanting one field on a table in one of my MYSQL databases to contain different dates and times as a epoch timestamps. Fi

Re: [PHP] PHP- Converting to and from TIMESTAMPS

2003-05-30 Thread David Grant
Ian Gray wrote: I am wanting one field on a table in one of my MYSQL databases to contain different dates and times as a epoch timestamps. You're better off storing as a DATETIME field -- it has limits from 1000-01-01 to -12-31, instead of 1970 to 2037.. Firstly how do I convert a particular

[PHP] PHP- Converting to and from TIMESTAMPS

2003-05-30 Thread Ian Gray
I am wanting one field on a table in one of my MYSQL databases to contain different dates and times as a epoch timestamps. Firstly how do I convert a particular time and date which the user will enter on the website into the epoch timestamp. And secondly, how do I convert it back once taken of

[PHP] Re: Zend Gone missing

2003-05-30 Thread DvDmanDT
Like just go to the folder where you installed it and run? "Chris Blake" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Greetings learned PHP(eople), > > I just downloaded and installed the Zend Studio trial package as I`m > tired of usign vim for all my PHP stuff, and during the

[PHP] Zend Gone missing

2003-05-30 Thread Chris Blake
Greetings learned PHP(eople), I just downloaded and installed the Zend Studio trial package as I`m tired of usign vim for all my PHP stuff, and during the install process it asked if I wanted a shortcut/link placed on the desktop (Manrake 9.1 running here). I said yep, and install finished. Now

[PHP] PATH_INFO wrong URL

2003-05-30 Thread Tobias Martelius
Hi My path_info variable adds on to the current URL so the paht_info lose track every time a click on the link , like this... (myscript = myscript.php) myscript/public/main.html myscript/public/main.html/myscript/public/main.html myscript/public/main.html/myscript/public/main.html/myscript/public

RE: [PHP] How to question.

2003-05-30 Thread Sichta Daniel
Hi, You can build some class which will hold some data and then you just need to sets all class variables and register instance of this class to the session variable. DS -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:37 AM To: [EMAIL PROTECTED] Su

RE: [PHP] How to question.

2003-05-30 Thread Wim Paulussen
Dear Ryan, 2 possible scenarios I use : a. store the values in variables that you transfer back and forth using 'hidden' input b. store the values in variables that you register in the session you opened (fyi all my php files start with session_start regardless whether I use it or not). Wim ---

[PHP] How to question.

2003-05-30 Thread Ryan A
Hi, I am a little confused with something that I am trying to implement (if you want to see the code tell me, but its pretty simple so i dont think you will need to) heres the idea, I want the client to be able to save up his choice into his account eg: his choice is 5 records (which transalates t

[PHP] Re: sessions and domains

2003-05-30 Thread George Whiffen
Bk wrote: Hi I've to set up a shared shopping cart to buy items from four different sites and pay them at once passing trough a single checkout. Provided that these sites are hosted on the same server (actually in the same directory), but have different names, is it possible to share php session

Re: [PHP] generate random

2003-05-30 Thread David Grant
Leif K-Brooks wrote: I reccomend you RTFM! There's a MANUAL?! Wow! :) -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Ro

Re: [PHP] "Email This Story" and "Print" Functions

2003-05-30 Thread David Grant
Jeffrey L. Fitzgerald wrote: Thanks to Kevin, Monty and the others who helped with my earlier post... Anyone have experience with PHP based "Email This Story" and "Print This Story" functions?? I am looking to add these along with a digital postcard mailer. Probably not the answer you

Re: [PHP] mail function problem

2003-05-30 Thread David Grant
Bersani Francesco wrote: Hi, I have a problem with the "mail" function; it always sends mails assuming in the "from" field the user "[EMAIL PROTECTED]". I tried to override it with this code: mail($email, $subject, $message, $headers); ?> -- It doesn't work... C

Re: [PHP] generate random

2003-05-30 Thread David Grant
Marius wrote: how to generate random number ? Look no further than rand(). Well, actually do look further because srand() is better. Regards, David -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered O

[PHP] mail function problem

2003-05-30 Thread Bersani Francesco
Hi, I have a problem with the "mail" function; it always sends mails assuming in the "from" field the user "[EMAIL PROTECTED]". I tried to override it with this code: mail($email, $subject, $message, $headers); ?> -- It doesn't work... Can anybody help me ?

Re: [PHP] Anyone have oci8 working on MacOSX?

2003-05-30 Thread Sapporo
I compiled 4.3.1 as Apache module and also installed the CLI (which I'm not using). Compilation was not a problem here either - it's just that oci8 crashes whenever I try to use it. Here's my configure command: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share

Re: [PHP] generate random

2003-05-30 Thread Leif K-Brooks
I reccomend you RTFM! www.php.net/rand www.php.net/mt_rand Marius wrote: how to generate random number ? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http

[PHP] "Email This Story" and "Print" Functions

2003-05-30 Thread Jeffrey L. Fitzgerald
Thanks to Kevin, Monty and the others who helped with my earlier post... Anyone have experience with PHP based "Email This Story" and "Print This Story" functions?? I am looking to add these along with a digital postcard mailer. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] generate random

2003-05-30 Thread Marius
how to generate random number ? -- Marius [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] general question

2003-05-30 Thread Evan Nemerson
"The php-gtk-general list is meant for general discussion about using PHP-GTK. To subscribe, send blank email to [EMAIL PROTECTED] The address of the list itself is [EMAIL PROTECTED] The list is archived at MARC. " - http://gtk.php.net/resources.php Try there- you'll prolly get a better answer

Re: [PHP] random

2003-05-30 Thread Evan Nemerson
"limiter" is the maximum number of limbs, not the max random number. A limb, according to the GMP documentation, is " the part of a multi-precision number that fits in a single word. (We chose this word because a limb of the human body is analogous to a digit, only larger, and containing several

[PHP] output_handler in php.ini: how to use custom function

2003-05-30 Thread Jean-Christian Imbeault
I'd like ot set the output_handler in php.ini to be a custom function I will write. Is this possible. The documentation say how to redirect to a function that is not part of the PHP core ... Basically I want to have all the output be sent to my custom function, which will do something to it, be

Re: [PHP] Mail - mime question

2003-05-30 Thread Manuel Lemos
Hello, On 05/30/2003 02:28 AM, Jim McNeely wrote: I've come a long way with many google searches an I almost have this working, so have mercy!!! So what am I missing here? I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to have text and html versions which is why I'm using t

[PHP] general question

2003-05-30 Thread laurent hermann
hello i need to make a standalone application from a web php site. how can i use php-gtk ? how can i package this application ? thanks

[PHP] random

2003-05-30 Thread Marius
I tried but it echoes realy big numbers like 36324613454671 -- Marius [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail - mime question

2003-05-30 Thread Jim McNeely
I've come a long way with many google searches an I almost have this working, so have mercy!!! So what am I missing here? I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to have text and html versions which is why I'm using this. It is sending out the email OK, but when I ge

[PHP] imagettftext and Anti-Aliasing

2003-05-30 Thread Jeff Maki
Hello Everyone: I have a quick question about libgd, ttf fonts, imagettftext and anti-aliasing -- I have two FreeBSD boxes, both running PHP 4.3. One anti-aliases the text very nicely, and the other does not. I cannot figure out why the images look so different on the two different boxes -- do

Re: [PHP] Anyone have oci8 working on MacOSX?

2003-05-30 Thread Weston Houghton
What version of PHP are you using, and are you using both CLI and Apache module at the same time? I compiled it at work with no huge problems. Wes On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote: Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to co

[PHP] PHP OOP x Procedural Performance - Conclusions

2003-05-30 Thread William N. Zanatta
First of all. Thanks everybody for the feedback. It was very precious to hear from you. So, there's no big differences unless we're working with heavy processes. Even in this case, the performance seems to be very good in both practices, thus I'll keep OOP. My OOP concepts are not really s

Re: [PHP] array question

2003-05-30 Thread Randy Johnson
I found this in the manual user comments and it worked great mysql_data_seek($result,0); Randy - Original Message - From: "Randy Johnson" <[EMAIL PROTECTED]> To: "Brian Dunning" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 10:14 PM Subject: [PHP] array question

[PHP] array question

2003-05-30 Thread Randy Johnson
How do I access the data in $query_data after I go through the while loop, here is an example $result=mysql_query($query,$link); while ($query_data=mysql_fetch_array($result) ) { $var1=$query_data["var1"]; $var1=$query_data["var1"]; } after the while is done, How do I access the data in q

Re: [PHP] Random Blank Output wit 4.3.2

2003-05-30 Thread Justin French
Do you use sessions? I had some weird results, blank output and loss of session in 4.2.x with sessions using shared memory -- when sessions were changed back to files, all was ok. This may be, but probably not, related :) Justin on 30/05/03 2:00 AM, Andy BIERLAIR ([EMAIL PROTECTED]) wrote: >

RE: [PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
That, indirectly, is exactly what happened. I have a subsequent screen for modifying the results. I must have gone back into that screen to change something else and since it only pulled the St. when I applied it it changed the field in the database. Thanks a lot. It seemed weird. Larry S. Bro

RE: [PHP] mysql field getting cut off

2003-05-30 Thread John W. Holmes
> If anyone can help I seem to be stuck on a problem getting a mysql field > inserted correctly. For instance the first page would have a field such > as... > > > > info that is placed into the field is "St. Petersburg, FL" (without the > quotes) > > the php code for the statement... > > $que

[PHP] php cookie problem ie 5.5

2003-05-30 Thread steven melendez
Hi, I'm using php 4.2 with NT/IIS and am having a problem setting cookies on ie 5.5. I am setting a series of cookies using the array syntax: setcookie ("cookie[three]", "cookiethree"); setcookie ("cookie[two]", "cookietwo"); setcookie ("cookie[one]", "cookieone"); I've seen a variety of entries

[PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
If anyone can help I seem to be stuck on a problem getting a mysql field inserted correctly. For instance the first page would have a field such as... info that is placed into the field is "St. Petersburg, FL" (without the quotes) the php code for the statement... $query = "insert into table

[PHP] "Please wait"/server push sample code

2003-05-30 Thread Karl O . Pinc
Does work with Mozilla Regards, Karl Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein -- * * This code does not work with Microsoft's Internet Explorer. * (I suspect they want you to use their DHTML ins

[PHP] Re: Variables not being past

2003-05-30 Thread The.Wiz
Could be because there is a solar eclipse somewhere If your going to ask a question, at least give details that matter. Asking a question like: Why isn't the sun shining?? Leaves endless possibilities as to why you can't see the sun. Is there a blanket over your head? Is it night time???.. Ju

Re: [PHP] Re: Biding Arrays from Oracle Stored Procedure to PHP Variables

2003-05-30 Thread Lang Sharpe
I don't know of a way to get more detail on which bind variables are missing. You could try putting OCIInternalDebug(1); in you script. Normally when i get this error it's usually a typo in my code. Lang Gregory Watson wrote: > Thanks Lang - from the notes you sent me I'm able to bind arrays

Re: [PHP] strip_tags() Quandry....

2003-05-30 Thread Noah
Hey John; Hey Carl. I've heard this debate before; i.e. regular expressions vs. PHP string formatting functions. The problem I'm dealing with will require, I believe, a combination of preg_replace(), str_replace(), strstr(), and str_pos(). To my limited knowledge, there is no way to remove white

Re: [PHP] Array conversion

2003-05-30 Thread Ernest E Vogelsinger
At 01:38 30.05.2003, John Wulff said: [snip] >I'm new to working with complex arrays/objects and need a little help. >Below is the array I need to convert to a different type of array. The >"begin what i have" section is data I've succesfully mined from an X

[PHP] Array conversion

2003-05-30 Thread John Wulff
I'm new to working with complex arrays/objects and need a little help. Below is the array I need to convert to a different type of array. The "begin what i have" section is data I've succesfully mined from an XML file. The data labeled "desired output" is how I need the data to be formatted. How d

Re: [PHP] Re: Opening a Dynamic Pop Up Window

2003-05-30 Thread Kevin Stone
In 4.06 you have to use $HTTP_GET_VARS in place of $_GET. It's the same thing, just a different name. Ditto with $_SERVER, $_POST and $_SESSION - Kevin - Original Message - From: "Jeffrey L. Fitzgerald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 4:05 PM S

[PHP] Anyone have oci8 working on MacOSX?

2003-05-30 Thread Sapporo
Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to connect using OCILogon(), oci8 crashes: May 30 00:33:19 localhost crashdump: Unable to write crash report to /Library/Logs/CrashReporter/httpd.crash.log for uid: 70 Date/Time: 2003-05-30 00:33:19 +0200 OS

Re: [PHP] \n outputs \r\n ??

2003-05-30 Thread Jaap van Ganswijk
At 2003-05-29 11:38 -0700, Michael Isaacs wrote: >Still new to PHP - any assistance would be very much appreciated... > >I am using a php script to send info to a local file for mail filtering. >Whe the php script sends the following: > >fputs($nf, "MAILDIR=$MAILDIR # Default mail directory\n"); >

[PHP] Can't change a cookie

2003-05-30 Thread Brian Dunning
Help, I'm trying to change a cookie to whatever is submitted as a URL parameter called 'aid.' But once it's set the first time, I can't get it to overwrite it next time the 'aid' parameter is received. How do I make this work? Here is my code: -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Opening a Dynamic Pop Up Window

2003-05-30 Thread Jeffrey L. Fitzgerald
Actually, I just found out we run PHP 4.0.6... Will the query string/GET process still work? Right now it's not and I thought I saw in the docs that the POST/GET isn't in pre 4.1... Just add some Javascript to the links around your thumbnails, like this: Then you need to create a scr

Re: [PHP] Variables not being past

2003-05-30 Thread Philip Olson
Read this: http://www.php.net/variables.external Be sure to note what register_globals means. Regards, Philip On Thu, 29 May 2003, The Doctor wrote: > Questions, I have a > cusotmer using a basic username and password > verifier on a php Web Page. > > This was working and suddenly with

[PHP] Re: Variables not being past

2003-05-30 Thread Catalin Trifu
Hi, Check the php.ini for register_globals By default, from PHP 4.2.0 register_globals is OFF Cheers, Catalin "The Doctor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Questions, I have a > cusotmer using a basic username and password > verifier on a php Web Pa

RE: [PHP] sound

2003-05-30 Thread ruusvuu
Bobby! I have several websites that have streaming music with on/off buttons Basically I have music.php in a hidden frame and the off button loads nomusic.php. Then the on button loads music.php and a different .swf with nothing but music loads via rand() Quoting Bobby <[EMAIL PROTECTED]>: > I

[PHP] Re: sound

2003-05-30 Thread zerof
Please see: http://www.opaque.net/ how to use ming module. - zerof - "Bobby" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Does anybody know of a way under php to add a background sound to a > webpage...i have sound on my page when it's local but as soon as I copy >

Re: [PHP] Re: Opening a Dynamic Pop Up Window

2003-05-30 Thread Jeffrey L. Fitzgerald
First thanks for your help!.. I have the variable passing OK to this html page below. But the filename is not making it to the tag. I think the syntax is off?? I'm thinking maybe the img src tage needs to be broken up to allow the $image var to process? Test image $im

[PHP] Variables not being past

2003-05-30 Thread The Doctor
Questions, I have a cusotmer using a basic username and password verifier on a php Web Page. This was working and suddenly with I redefined the php environment, the php variables are not getting passed on. why? -- Member - Liberal International On 11 Sept 2001 the WORLD was violated. This i

Re: [PHP] e-mailing with attachements

2003-05-30 Thread Ernest E Vogelsinger
At 23:20 29.05.2003, Artoo Smith said: [snip] >How do you send attachments when sending e-mail uisng the mail() command? [snip] If you want to use the builtin mail() function you gotta construct the complete MIME comp

[PHP] Re: Variables don't pass... *sniff*

2003-05-30 Thread George Whiffen
Daniel, Switch register_globals back on, and everything works as it always did. So do it! All this fuss about register_globals being insecure is a complete load of rubbish. This issue really bores me, but it seems programmers are wasting a lot of time on it, so I guess I'd better run through

[PHP] e-mailing with attachements

2003-05-30 Thread Artoo Smith
How do you send attachments when sending e-mail uisng the mail() command? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Pierre-Luc Soucy
I just tried, but that didn't correct the problem - the output.txt file is still not generated: $command = "/usr/bin/gpg --homedir=/path/to/homedir/.gnupg --no-secmem-warning --passphrase-fd 0 --always-trust --yes --output /path/to/homedir/.gpgkeys/temp/output.txt --decrypt /path/to/homedir/.

Re: [PHP] request

2003-05-30 Thread Evan Nemerson
On Thursday 29 May 2003 01:24 pm, Marius wrote: > $random = gmp_random(10); > echo "$random"; > ?> > how to do that it echoes a random number and not a > Resource id #1, -- Happy shall he be, that taketh and dasheth thy little ones against the stones. -Psalms 137:9 -- PHP General Mailing

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Evan Nemerson
Are you appending a newline to your passphrase? $passphrase = "my gnupg passphrase\n"; On Thursday 29 May 2003 06:56 am, you wrote: > From the GnuPG docs: > > --passphrase-fd n > > Read the passphrase from file descriptor n. If you use 0 for n, the > passphrase will be read from stdin. Th

RE: [PHP] sound

2003-05-30 Thread Alex Earl
I'm guessing perhaps you didn't upload the sound to the server when you uploaded the webpage? Slide -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sound

2003-05-30 Thread Brian S. Drexler
Negative. Sounds are client side, PHP is server side. -Original Message- From: Bobby [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sound I know that...i'm just curious if somebody knows of a bit of php code

Re: [PHP] Structered or Object Oriented?

2003-05-30 Thread Rey Segundo Guerrero Proenza
Hi: On Thu, 29 May 2003, Jaime Diaz wrote: > I would like to know wich is the best way to program in PHP, is it OO or > structured, because I red in a book that if I program in OO PHP the > performance of the page is slower than programming it in structured. > But if i have a big web site isn´t i

RE: [PHP] sound

2003-05-30 Thread Bobby
I know that...i'm just curious if somebody knows of a bit of php code outside of the usual html embed src and background tags for sound on a webpage...and I'm trying to avoid having to add flash unless I have to...but yes that is an option Thanks -bobby > -Original Message- > From: Julien

RE: [PHP] sound

2003-05-30 Thread Julien Wadin
Php is on the server, not on the local client You can make it with Flash -Message d'origine- De : Bobby [mailto:[EMAIL PROTECTED] Envoyé : jeudi 29 mai 2003 21:39 À : [EMAIL PROTECTED] Objet : [PHP] sound Does anybody know of a way under php to add a background sound to a webpage...i hav

Re: [PHP] sound

2003-05-30 Thread Jordan S. Jones
Have you copied the sound file to your server as well? Jordan Bobby wrote: Does anybody know of a way under php to add a background sound to a webpage...i have sound on my page when it's local but as soon as I copy it to the server, nothing :( thanks -bobby Bobby Brooks [EMAIL PROTECTED] ht

[PHP] sound

2003-05-30 Thread Bobby
Does anybody know of a way under php to add a background sound to a webpage...i have sound on my page when it's local but as soon as I copy it to the server, nothing :( thanks -bobby Bobby Brooks [EMAIL PROTECTED] http://bobby-brooks.com Public Key = bobby-brooks.com/pubring.pkr Simulated di

Re: [PHP] request

2003-05-30 Thread Weston Houghton
I would imagine that you have to add: $random = gmp_strval($random); In between the two lines to convert the resource to a string value. Wes On Thursday, May 29, 2003, at 04:24 PM, Marius wrote: how to do that it echoes a random number and not a Resource id #1, -- Marius [EMAIL PROTECTED]

[PHP] request

2003-05-30 Thread Marius
how to do that it echoes a random number and not a Resource id #1, -- Marius [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Opening a Dynamic Pop Up Window

2003-05-30 Thread Monty
This should be fairly easy. It sounds like the script you are using is opening only the image in a new window, and not a page that loads the image in a new window. Just add some Javascript to the links around your thumbnails, like this: Then you need to create a script called show_photo.php tha

[PHP] Ebay Cookie? Login Help w/ Script

2003-05-30 Thread sevenfiftyflat
Hello All! I hope someone can give me some good advice, I'm trying to write a PHP script to make it easy for me to do my ebay auctions, and I'm having problems dealing with the Cookies at Signin. I _BELIEVE_ ( but I'm not sure ) that the problem is all about the cookies. I forget what site I fo

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 02:42 PM, Edward Peloke wrote: > Nevermind, I got it working with a few ini changes... All rightee. Glad I could help. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax)

[PHP] Re: Can we use one PHP.INI directive to set the other?

2003-05-30 Thread Catalin Trifu
Hi, Simply put: it doesn't work; you have to put it by hand there, or use the ini_set function in all PHP scripts you need. Cheers, Catalin "Ananth Kesari" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Can we use one PHP.INI directive to set the other? > > Wh

[PHP] Re: \n outputs \r\n ??

2003-05-30 Thread Catalin Trifu
Hi, If indeed \n puts CRLF pairs, which i doubt, you can use the hex code for LF which is 0x0A istead. Cheers, Catalin "Michael Isaacs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Still new to PHP - any assistance would be very much appreciated... > > I am using a p

[PHP] Re: opendir(), readdir() question..

2003-05-30 Thread Catalin Trifu
Hi, You could put them into an array and sort the array. cheers, Catalin "" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > How can i do for the moment i open and list all file there, display in the > browser the order of this files by name ?. I have this co

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Edward Peloke
Nevermind, I got it working with a few ini changes... Thanks, Eddie -Original Message- From: Steve Keller [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:24 PM To: Edward Peloke; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] imagecreatefromjpeg() At 5/29/2003 01:55 PM, Edward

[PHP] Best Approach for defining User Access Levels

2003-05-30 Thread Monty
Hi. I've set up a membership site that has different levels of users. Each member's DB record has a "user_status" field that has a number from 1-9, 9 being the highest (Admin) level of access. This has worked okay, but, I'm finding this system of granting access too limiting, and need finer control

[PHP] \n outputs \r\n ??

2003-05-30 Thread Michael Isaacs
Still new to PHP - any assistance would be very much appreciated... I am using a php script to send info to a local file for mail filtering. Whe the php script sends the following: fputs($nf, "MAILDIR=$MAILDIR # Default mail directory\n"); the output actually has a chr 13, 10 ProcMail interpres

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Edward Peloke
would this still be in phpinfo? I am running apache on windows and all I did was move unzip the binaries to my php folder, then move the dll into my windows system directory...phpinfo now displays version 4.3.2but maybe I need to do more...I was using 4.2.x before I upgraded. -Original Me

[PHP] Opening a Dynamic Pop Up Window

2003-05-30 Thread Jeffrey L. Fitzgerald
Help! :-) Have a need for a pop up window to show images when the thumbnail is clicked. But the script I found only shows the image and no background, etc. I want to be able to have the pop up open and then send it a php created dynamic page with the proper html and image. In perl I know ho

RE: [PHP] Re: PHP OOP x Procedural Performance

2003-05-30 Thread Dan Joseph
Hi, From my personal recent experience, I can tell you that processing a lot of echo's thru classes is a heck of a lot slower than just doing it the normal way. Although I wouldn't have done this particular project any other way, I do with that I could get it to display faster. Its not a

Re: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 01:55 PM, Edward Peloke wrote: > I now have php 4.3.2 I'm sorry, I read the version wrong. Feel free to ignore me. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Emai

Re: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 01:55 PM, Edward Peloke wrote: > Isn't php4.3.2 compiled with the gd library Not necessarily. Run a phpinfo() and look in the configuration for --with-gd. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 90

[PHP] opendir(), readdir() question..

2003-05-30 Thread
Hi all, How can i do for the moment i open and list all file there, display in the browser the order of this files by name ?. I have this code: And the result send to the browser, is the files, but witouth any order. Thanks for reading, your help is greatly appreciated! -- Esteban Fernández

[PHP] imagecreatefromjpeg()

2003-05-30 Thread Edward Peloke
ok, I am having an off day, I admit...I got this script off codewalkers this morning (cheating, I know) I now have php 4.3.2 and I get the error "call to undefined function imagecreatefromjpeg()". Isn't php4.3.2 compiled with the gd library or do I have to do something explicitely to use it? T

[PHP] Re: Links in e-mail

2003-05-30 Thread Manuel Lemos
Hello, On 05/29/2003 12:13 PM, Christian Tischler wrote: I use mail() to send e-mail automatically. But all I can send is text. I would like to send links, but can figure out how to make them work. In most mail programs, if you start address in text messages with http:// or mailto: for instance,

Re: [PHP] Re: PHP OOP x Procedural Performance

2003-05-30 Thread rush
"Joe Stump" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sure ... > > I'm of the belief that OOP (in PHP anyways) has great use for core > libraries. Core libraries, by their nature, generally don't output HTML. > It's a core libraries job to separate logic and presentation. How po

Re: [PHP] easy conversion to a date?

2003-05-30 Thread Anthony
exactly what I'm looking for. Thanks! - Anthony "Jordan S. Jones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anthony, > > I believe that what you are looking for is the following: > http://www.php.net/strtotime > > Jordan > > Anthony wrote: > > >I have a form where the user en

Re: [PHP] PHP OOP x Procedural Performance

2003-05-30 Thread Ernest E Vogelsinger
At 04:05 29.05.2003, William N. Zanatta said: [snip] > It is a known issue that function calls are expensive for the processor. > > The OOP let us better organize the code but, thinking in function (or >method) calls it may be more expensive than in the proc

Re: [PHP] strip_tags() Quandry....

2003-05-30 Thread CPT John W. Holmes
> Yes, no problem! Glad it worked out. you may wish to actually study the > perlre man page on perl.com. This goes into the most details and talks about > how PERL actually EXTENDS shell regular expressions significantly and > excellent resource that I have used many many times. > > I figure since

RE: [PHP] strip_tags() Quandry....

2003-05-30 Thread Carl Furst
Yes, no problem! Glad it worked out. you may wish to actually study the perlre man page on perl.com. This goes into the most details and talks about how PERL actually EXTENDS shell regular expressions significantly and excellent resource that I have used many many times. I figure since PHP regexps

Re: [PHP] [sessions] using [sockets]. Very tough!

2003-05-30 Thread N. F. Singh
Fantastic! I was totally unaware of this function. Thanks very much! If any of you guys found this helpfull, be sure to call session_start() again if you're using --enable-trans-sid. Otherwise, on your subsequent call to another page needing a session state, the SID won't be propogated (at least on

  1   2   >