[PHP] Re: Pictures and sound in MySQL and access via PHP

2002-08-09 Thread lallous
Personally I wouldn't store BIG files (like .mp3) into the database. If you insist checkout the mysql LOAD_FILE() Elias "Danny" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > I already posted this message but the time on my computer was wrong (26/07

Re: [PHP] Two version of php in the same system

2002-08-09 Thread Breno Cardoso Perucchi
It have some order for installation of the versions of PHP? First 4.03 Second 4.22 or First install 4.22 Second 4.03 You showed as installing version of php for Windows ? That go work with system Linux and FreeBSD ? Below this configuration of systems Linux and FreeBSD AddType applicat

Re: [PHP] storing errors from shell_exec command

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 04:14, [EMAIL PROTECTED] wrote: > I need to redirect the output from the shell_exec return variable to a > file. What I have below is not working. What I need to get from the > shell_exec is ant errors that happen and then I what to store those > errors in a error file >

Re: [PHP] Next and Previous links

2002-08-09 Thread Jason Wong
On Friday 09 August 2002 22:35, webmaster wrote: > Also, I keep getting an error that pg_fetch_row() and pg_fetch_array() > requires at least 2 parameters where all the examples I find only use > 1. Is this a DB configuration problem? Did you try the obvious step of consulting the manual? --

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 01:50, Gandalf wrote: > Well of course $foo[0] contains the first dimension of the $foo array and > the same goes for $bar[0]. The first rule of debugging is not to assume anything. Perhaps I should've phrased my question better: "Print out the damn things and see wh

Re: [PHP] Thumb nail of a web page

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 05:03, Henry wrote: > Hi All, > > Just out of interest, does anyone know of a way to generate a thumb nail of > a web page given a URL? This would be a major task. You would have to write a complete HTML renderer in PHP. Maybe some clever soul could write a library tha

Re: [PHP] Can't find my font file - Please help

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 09:48, JR wrote: > I am trying to use the "imagettfbbox" function. Am testing the script on > my local network > running W2K. Have defined : > $fontfile = "arial.tff"; // this file is in the same Shouldn't that be "arial.ttf" ? -- Jason Wong -> Gremlin

RE: [PHP] Win PHP Editor...

2002-08-09 Thread Maxim Maletsky
> But why not use notepad. Because it reduces your production speed and time is money. So, what costs you more? Maxim Maletsky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Win PHP Editor...

2002-08-09 Thread Maxim Maletsky
For Windows, Edit Plus is the best! I even wrote a PHP library for it. (Check though their user files) Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com > -Original Message- > From: Jonni [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 4:34 AM > To: PHPlist >

RE: [PHP] Win PHP Editor...

2002-08-09 Thread Jonni
i LOVE my edit plus! :) > -Original Message- > From: Liam MacKenzie [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 6:38 PM > To: Dave at Sinewaves.net; PHPlist > Subject: Re: [PHP] Win PHP Editor... > > > Well, I still believe the best editor for windows is Editplus > (www.e

[PHP] Can't find my font file - Please help

2002-08-09 Thread JR
I am trying to use the "imagettfbbox" function. Am testing the script on my local network running W2K. Have defined : $fontfile = "arial.tff"; // this file is in the same directory with my script The instruction that fails: $thetextbox = ImageTTFBBox ($fontsize, 0, $fontfile, "

Re: [PHP] Win PHP Editor...

2002-08-09 Thread Liam MacKenzie
Well, I still believe the best editor for windows is Editplus (www.editplus.com) Small, fast, stable, tonnes of features and it supports a lot of file type. If it doesn't give you colour coding for a particular language, say Cold Fusion, go to the homepage and download the plugin. It's only 800K

Re: [PHP] Re: Getting information of a client

2002-08-09 Thread Monty
Try this: $_POST['var_name'] Monty > From: [EMAIL PROTECTED] (Radio X) > Newsgroups: php.general > Date: Fri, 9 Aug 2002 23:38:42 -0700 > To: <[EMAIL PROTECTED]> > Subject: Re: [PHP] Re: Getting information of a client > > how can i get a variable posted from a form by a user whitout having >

Re: [PHP] Name of Include File breaking a Function - Strange!

2002-08-09 Thread Monty
Dan, you were right and I feel so retarded now! I found another include file of the same name in the folder with the script that wasn't working. It was driving me crazy but I didn't even think to check that. Thank you for replying! Monty. > Perhaps, somewhere in your include path is another fi

Re: [PHP] Next and Previous links

2002-08-09 Thread webmaster
I found an answer for anyone who may be interested on phpbuilder.com http://phpbuilder.com/annotate/message.php3?id=1010986 -Elkan webmaster wrote: > Hello, > > I've been trying write a .php page that displays 10 results per page > with links to the next 10 avail. I've found a couple example

Re: [PHP] Can I perform a PHP script from a form but stay on the same page afterwards?

2002-08-09 Thread Jim Dam
http://www.faqts.com/knowledge_base/view.phtml/aid/235/fid/17 - Original Message - From: "php @ banana" <[EMAIL PROTECTED]> To: "PHP-GENERAL" <[EMAIL PROTECTED]> Sent: Friday, August 09, 2002 5:51 PM Subject: Re: [PHP] Can I perform a PHP script from a form but stay on the same page afterw

Re: [PHP] Connection to Access 2000 mdb file on another computer.

2002-08-09 Thread salamander
Jason, One option you have is to install OpenLink's Multi-Tier driver, ODBC Agent, which will allow you to "piggyback" on DSNs on other machines, e.g: webserver with PHP, client side MT driver DSN (let's call it "local_dsn") with ODBC as ServerType, and IDS as Name db server with MS Access, s

[PHP] While loop not working - please help

2002-08-09 Thread Wendy Yung
Can anyone tell me why this part of my code is not functional? The code might be quite messy to look at, but I've commented wherever I can. $gp = fopen("myFile.txt","r"); while(($t = fgets($gp,1024)) && !feof($gp)) { if ($t[0] == '=' && $t[1] == 'D') { \\Looks for =D in

[PHP] Re: JPgraph: Autoscaling [OT perhaps]

2002-08-09 Thread Christopher J. Crane
Just so you don't feel alone. I use jpgraph alot, however, I have not run into this problem. What version of jpgraph are you suning. "Lee P. Reilly" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Anybody out there using JpGraph? I directed the following questio

[PHP] (HELP) - PHP has encountered an Access Violation

2002-08-09 Thread Christopher J. Crane
I get the following errors when I run my script. It works fine with only 20 records, but at 100 I get errors. "PHP has encountered an Access Violation at 00DA088E Warning: Unknown list entry type in request shutdown (2) in c:\www\htdocs\demos\ct.org\directory.php on line 0" or "PHP has encount

RE: [PHP] Next and Previous links

2002-08-09 Thread Brian V Bonini
Could you send me the URL's for the MySQL examples? Thanks!! > -Original Message- > From: webmaster [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 10:36 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Next and Previous links > > > Hello, > > I've been trying write a .php page t

[PHP] Next and Previous links

2002-08-09 Thread webmaster
Hello, I've been trying write a .php page that displays 10 results per page with links to the next 10 avail. I've found a couple examples on how to do this with MySQL, and I tried to convert it to work with Postgres with no luck. Has anyone ever done this using PHP4.0.6 and Postgres 7.1? Also,

[PHP] Connection to Access 2000 mdb file on another computer.

2002-08-09 Thread Jason Morcom
Forgive my ignorance but i can not find how to connect to an Access 2000 (mdb) file through PHP if the file is on another computer in a lan (not on same computer as Apache/PHP server) I have no problem connectig to an mdb through ODBC and a valid DSN(system) for a local mdb file, but i get a gener

Re: [PHP] Can I perform a PHP script from a form but stay on the same page afterwards?

2002-08-09 Thread php @ banana
>You can send a 204 No Content header, and the browser won't move to the new >page, but instead the PHP script will be executed and the browser will stay >on the same page. could you gimmie a code snippet of the above Thanks R> > >Jim Dam >[EMAIL PROTECTED] > > >- Original Message -

Re: [PHP] Can I perform a PHP script from a form but stay on the same page afterwards?

2002-08-09 Thread Jim Dam
You can send a 204 No Content header, and the browser won't move to the new page, but instead the PHP script will be executed and the browser will stay on the same page. Jim Dam [EMAIL PROTECTED] - Original Message - From: "César Aracena" <[EMAIL PROTECTED]> To: "'DonPro'" <[EMAIL PROTE

RE: [PHP] need help

2002-08-09 Thread Pushkar Pradhan
And that is good actually since malicious users can't see your source code, variables it is difficult to hack the site. > that's the nature of php. it is executed server side then disappears > showing only it's results. :) > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMA

Re: [PHP] First Attempt to use DB failed.

2002-08-09 Thread Pushkar Pradhan
Jim, Are you using a port other than the default (3306)? If so you can specify it by localhost:3306 Is the server really running? > I ran the following PHP script: > > $die_msg = "Connection to Database Failed" > $connect = mysql_connect("localhost","UserName","UserPW") > or die("Connect Fail

RE: [PHP] need help

2002-08-09 Thread Admin @ blar!
that's the nature of php. it is executed server side then disappears showing only it's results. :) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 2:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] need help > > > Hi, how come on t

Re: [PHP] First Attempt to use DB failed.

2002-08-09 Thread Analysis & Solutions
On Fri, Aug 09, 2002 at 04:27:56PM -0500, Jim Bailey wrote: > $die_msg = "Connection to Database Failed" Where's the terminating ";" on that prior line? > $connect = mysql_connect("localhost","UserName","UserPW") > or die("Connect Failed" ): You put a ":" rather than ";" on the prior line

[PHP] First Attempt to use DB failed.

2002-08-09 Thread Jim Bailey
I ran the following PHP script: I received the following error message Parse error: parse error, unexpected T_VARIABLE in C:\FREEDEV\XITAMI\webpages\private\test.php on line 3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread Analysis & Solutions
Hi Duncan: On Fri, Aug 09, 2002 at 04:14:47PM -0500, §§ Duncan MacLeod §§ wrote: > it seems as though this wold work great if I had the script running in a > actual php.. the initial file is index.php but calls to indexcontent.inc > that calls to another inc file that has the actual content info

[PHP] need help

2002-08-09 Thread XoXGrimreaper
Hi, how come on the "view source" link on the bottom of the php.net homepage shows a whole mess of php code but when I select "view page source" in Internet explorer or netscape in shows everything as html on the home. This is kinda hard for me to explain, here is an example below: Ever wond

[PHP] Re: Newbie question about SQL result formatting

2002-08-09 Thread Kristoffer Strom
There we go :) If there's any consolation, you just helped NataliePortman.com become a better website :) Thx /Kris "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > see nl2br(). You might also want to convert spaces to  's > > On Fri, 9 Aug

Re: [PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread §§ Duncan MacLeod §§
it seems as though this wold work great if I had the script running in a actual php.. the initial file is index.php but calls to indexcontent.inc that calls to another inc file that has the actual content info in it. maybe it would help if put a copy of the inc file and a copy of the php files.. ?

Re: [PHP] special characters

2002-08-09 Thread Analysis & Solutions
On Fri, Aug 09, 2002 at 02:58:26PM -0400, Jeb A. Scarbrough (home) wrote: > > a) strip out any non-standard ascii characters (like the TM or > copyright symbol) preg_replace() or ereg_replace(). > b) have PHP encode all these symbols. > > I know about htmlentities, but it not catch everythi

Re: [PHP] Newbie question about SQL result formatting

2002-08-09 Thread Analysis & Solutions
On Fri, Aug 09, 2002 at 10:55:52PM +0200, Kristoffer Strom wrote: > > How do I convert the result to HTML code, I especially want the linebreaks!! Two options. Put the output in between tags. Or if you want the regular font, in PHP use the nl2br() function. --Dan PS: For future reference.

[PHP] Re: Newbie question about SQL result formatting

2002-08-09 Thread Philip Hallstrom
see nl2br(). You might also want to convert spaces to  's On Fri, 9 Aug 2002, Kristoffer Strom wrote: > Ok, this is totally newbie but I just started messing around with PHP after > programming IBM's NetData for a while. > > My first big problem I haven't been able to solve myself is how to for

Re: [PHP] Name of Include File breaking a Function - Strange!

2002-08-09 Thread Analysis & Solutions
On Fri, Aug 09, 2002 at 01:59:09PM -0400, Monty wrote: > > function user_acess() { > if ( isset($_SESSION['valid_user']) ) { > return 1; > } > return 0; > } > > Most of the time it returns 0 (zero) even though I know the session variable > is set. However, if I rename the fun

[PHP] Newbie question about SQL result formatting

2002-08-09 Thread Kristoffer Strom
Ok, this is totally newbie but I just started messing around with PHP after programming IBM's NetData for a while. My first big problem I haven't been able to solve myself is how to format the result of an SQL query into HTML code. In the (MySQL) database, I have one field for very long texts. On

[PHP] Thumb nail of a web page

2002-08-09 Thread Henry
Hi All, Just out of interest, does anyone know of a way to generate a thumb nail of a web page given a URL? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can I perform a PHP script from a form but stay on the same page afterwards?

2002-08-09 Thread César Aracena
> -Original Message- > From: DonPro [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 5:34 PM > To: php list > Subject: [PHP] Can I perform a PHP script from a form but stay on the same > page afterwards? > > Hi, > > I have a form where the user can change a value ion a text box

Re: [PHP] Re: Getting information of a client

2002-08-09 Thread Larry Rosenman
On Sat, 2002-08-10 at 01:38, radio x wrote: > how can i get a variable posted from a form by a user whitout having > register_globals set On? > $_POST["variable"] or $HTTP_POST_VARS["variable"] > Nick > > > - Original Message - > From: "Saci" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTE

Re: [PHP] Re: Getting information of a client

2002-08-09 Thread radio x
how can i get a variable posted from a form by a user whitout having register_globals set On? Nick - Original Message - From: "Saci" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 09, 2002 1:08 PM Subject: [PHP] Re: Getting information of a client > $mensagem = $men

[PHP] Can I perform a PHP script from a form but stay on the same page afterwards?

2002-08-09 Thread DonPro
Hi, I have a form where the user can change a value ion a text box and then click on a button which will update a table in a MySQL database. I assume that the only way to do this is to have the button POST the form value to my script which updates the MySQL table. However, once updated (whether

[PHP] Advogato metric

2002-08-09 Thread David Norman
Has anyone written or seen the Advogato.org trust metric implemented in PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] security concern with curl

2002-08-09 Thread Andy
Hi everybody, I am planing to install oasis a management tool for ads. This software requires to install curl http://curl.haxx.se/ My concern is that this would open a serious security whole on my server. Curl is stating out that: Curl is a command line tool for transferring files with URL synt

[PHP] Re: Getting information of a client

2002-08-09 Thread Saci
"Jan Souman" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to get information of a person who is browsing my site. Does > anyone know how to get this information? > > Kind regards, > > Jan > > -- PHP General Mailing List (http://www.ph

[PHP] storing errors from shell_exec command

2002-08-09 Thread rdkurth
I need to redirect the output from the shell_exec return variable to a file. What I have below is not working. What I need to get from the shell_exec is ant errors that happen and then I what to store those errors in a error file $output=shell_exec($cmd); $cmd ="`$output > /usr/autoserv/errlog`"

Re: [PHP] I'm going to shoot myself

2002-08-09 Thread [-^-!-%-
You may have some extra, or missing some, quotes in the TEXTFIELD-SQL. Try echoing the string coming from the text field. Also, use mysql_error() to see what errors mysql is reporting. -j =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web De

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Lee P. Reilly
My two cents: I used Zope a while back for a university project, and I've been using PHP for the best part of a year. Zope is very similar to PHP, but Zope is better suited for the novice web designer / developer. Zope makes it easy to interact with databases and allows you to iterate through a r

RE: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-09 Thread Dan Vande More
Doug, can you log in via plain db2 in linux (sorry if you said you could, I didnt read that far back). Heres what I do: * [root@somelinuxbox /root]# su - db2inst1 [db2inst1@somelinuxbox db2inst1]$ /u

[PHP] Re: extra calls to pcDataHandler method

2002-08-09 Thread Alex Maslov
I figured it out. Turns out that my "pretty" structure of XML formating within the xml file shot me. everytime i indented a new tag i intoduced a \tab character, and apparently everything not within any tag is also #PCDATA?! i never seen this mentioned anywhere. oh well; i am just posting an an

[PHP] special characters

2002-08-09 Thread Jeb A. Scarbrough \(home\)
Is there a way to have PHP to either: a) strip out any non-standard ascii characters (like the TM or copyright symbol) b) have PHP encode all these symbols. I know about htmlentities, but it not catch everything. Thanks!

[PHP] Re: compile PHP --with-imap, on OS X: progress, but...

2002-08-09 Thread Andy
Hi Michael: Í have done this on suse72 and after a while I did get it running. The problem was that I did forget to move the 3 directories to their spot as described in the docu. You have also to change some lines in another file which I do not know if this is available on X (cant remember the na

[PHP] session.save_path problem again

2002-08-09 Thread Dmitry Beransky
Hi, I'm sorry, I know this is a commonly asked question, but I've checked every suggestion offered here and in other groups/lists. Yet, I still get "Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp/php)" I have save_path set to "/

RE: [PHP] Environment Variables

2002-08-09 Thread César Aracena
My guess is that you should look into your server's configuration, to see if it recognizes index.php as a valid main page. Maybe it's configured (standard) to detect index.htm / index.html as valid main pages. HTH, C. > -Original Message- > From: Robert Morse [mailto:[EMAIL PROTECTED]] >

[PHP] Passing hidden form var?

2002-08-09 Thread Jas
I think I am just over looking something here, a new pair of eyes would be useful. Thanks in advance. The var $ipaddy is not getting passed to code listed below /* Form for IP checking */ $table = "cm_sessions"; $record = @mysql_query("SELECT * FROM $table",$dbh); while ($row = mysql_fetch_a

[PHP] compile PHP --with-imap, on OS X: progress, but...

2002-08-09 Thread Michael Geary
Hi folks, I am desperately trying to get PHP (4.2.2) --with-imap running on OS X, so I can run the IMP web-mail client. I already have IMAP installed, and have downloaded and compiled the U-W c-client. I have also followed the directions on the PHP.NET website under IMAP. Here is my PHP confi

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread Julio Nobrega
[EMAIL PROTECTED] em Friday 09 August 2002 14:14 foi agraciado com uma resposta por: > but how many huge dot-coms wrote their sites in PHP? We did :-) A Linux/Apache/PHP/Mysql system that will run credit solicitations for financial institutions. Management of around 500 million dollars, y

[PHP] Environment Variables

2002-08-09 Thread Robert Morse
Hello. I have run into a weird problem with php. I have a very short php script that will print out a particular environment variable. Here is the contents of an index.php file: Test LOOK -- Now, when I go to http://server/index.php, it prints out my variable as I want.

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Stig Venaas
On Fri, Aug 09, 2002 at 07:50:46PM +0200, Gandalf wrote: > Well of course $foo[0] contains the first dimension of the $foo array and > the same goes for $bar[0]. > > It is still not working as it should, i am close to going nuts. If I understood you correctly, there is no element 0 in $foo and

[PHP] Name of Include File breaking a Function - Strange!

2002-08-09 Thread Monty
I have an include file named functions.inc.php that I include in nearly every script. For some bizarre reason, the following function inside this file does not always work: function user_acess() { if ( isset($_SESSION['valid_user']) ) { return 1; } return 0; } Most of the tim

Re: [PHP] $http_host use case

2002-08-09 Thread David D
You re right i will make a if statement ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Win PHP Editor...

2002-08-09 Thread Dave at Sinewaves.net
Just have to add one little fine piece of free software that nobody's mentioned yet, Crimson Editor (http://www.crimsoneditor.com ) No code completion, but it's got every other feature of the big commercial beasts... definitely check it out - I just switched over, and it's great. >From the site

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Gandalf
Well of course $foo[0] contains the first dimension of the $foo array and the same goes for $bar[0]. It is still not working as it should, i am close to going nuts. At 11:43 09.08.2002 +0800, you wrote: >On Friday 09 August 2002 06:14, Gandalf wrote: > > > > > $diff = array_diff($foo[0], $bar[0

RE: [PHP] Sending automatically mail

2002-08-09 Thread César Aracena
You're probably right. I tend to think like this 'cause I'm a guy with no access to my server at all. I just rent-a-server for all my hosting needs. C. > -Original Message- > From: Kondwani Spike Mkandawire [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 2:36 PM > To: [EMAIL P

Re: [PHP] Sending automatically mail

2002-08-09 Thread Jeff Hill
Well, if you compile a cgi version of php, just add a cronjob to run your script. When you automate these things though, especially if it's sending out e-mail, it's best to carefully setup error reporting to catch any script failures or faults -- you want them reported to you quickly and to kill t

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > "César aracena" <[EMAIL PROTECTED]> wrote in message > 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... > > I had a question like this once, and

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Aaron Gould
You might want to check the archives. This topic has been discussed exhaustively many times... To name a very small few: HTML-Kit Zend IDE HomeSite Dreamweaver jEdit ... and many, many more. -- Aaron Gould [EMAIL PROTECTED] Web Developer - Original Message - From: <[EMAIL PROTECTED]>

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
"César aracena" <[EMAIL PROTECTED]> wrote in message 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... > I had a question like this once, and the most applicable answer I got > from this list was to make a script which triggers *IF* a certain time > of day was

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Jason Reid
Yep. Theres several for windows. I've used: -PHP4EE -Homesite -Dreamweaver (MX version finally has syntax highlighting) -Good old notepad -PHP Coder Pro (What PHP4EE was based on) Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: <[EMAIL PROTECTED]

RE: [PHP] Sending automatically mail

2002-08-09 Thread César Aracena
I had a question like this once, and the most applicable answer I got from this list was to make a script which triggers *IF* a certain time of day was reached. The only problem is that it had to be triggered by one visitor's clicking at least (the script was asleep in a page until that page was c

Re: [PHP] Checking Var's passed via URL

2002-08-09 Thread Saci
Thank you for your reply Believe or not the code today works , without any change. I guess is somethhhing related to browser cache., who probably was holding one old version. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I'm going to shoot myself

2002-08-09 Thread Liam Gibbs
<> UBF. Sorry for the false alarm, guys. I'm gonna go under a rock now. Thanks anyway, Rasmus. Your suggestion helps me for the future, anyway. __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- PHP General Mailin

[PHP] funtion exporter; static inclusion of external scripts

2002-08-09 Thread ed
Does anyone know of any tools for php that will let you include only certain functions from a file. For example if I only wanted a function named "login" from a file named "func_common.php", I could maybe do something like this: my_require('path/to/func_common.php', 'login'); I was thinking of

[PHP] JPgraph: Autoscaling [OT perhaps]

2002-08-09 Thread Lee P. Reilly
Anybody out there using JpGraph? I directed the following question to the support web site, but as yet... there's been no reply: Could somebody tell me how to disable the autoscaling in JpGraph, and/or how to provide my own scaling? It's perfect for 99% of the graphs and plots I create, but when

Re: [PHP] JSP vs. PHP?

2002-08-09 Thread Rasmus Lerdorf
You are mixing up some things here. JSP is server-side Java, applets are client-side. The two have very little to do with each other. You can use PHP and still send a Java applet to the browser, for example. But if you are asking if doing client-side graphics with a java applet is faster or sl

[PHP] Sending automatically mail

2002-08-09 Thread Jan Souman
I would like my php-script to send a mail every day automatically, without anyone opening my site. Is this possible and if yes can anyone tell how to do this? Kind regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread cteubner
I'm not a JSP programmer so don't quote me but... A) The syntax isn't really that similar to Java. In Java, EVERYTHING is an object. You could write PHP like that if you wanted to but most people don't, especially those who are working with MySQL, for example. PHP is really a cross between C

[PHP] Getting information of a client

2002-08-09 Thread Jan Souman
I would like to get information of a person who is browsing my site. Does anyone know how to get this information? Kind regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] extra calls to pcDataHandler method

2002-08-09 Thread Alex Maslov
Hi, i have a question about how PHP XML support works, in particular how handler methods are called. if i have element-only tag, like: foo usa and i invoke xml parser on this, should my registered pcDataHandler method be called when tag is being parsed, or par

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread @ Edwin
I'm sure you can also use vim or jedit or Zend's mentioned earlier. Or, visit this site for more: http://php.weblogs.com/editors - E > >Is there a php editor for Win2k ? > _ $B%&%#%k%9%a!<%k!"LBOG%a!<%kBP:v$J$i(B MSN Hotmail h

[PHP] Pictures and sound in MySQL and access via PHP

2002-08-09 Thread danny
hi, I already posted this message but the time on my computer was wrong (26/07 so i post it again). I am new on MySQL and PHP. I'm making a on-line dictionary. I use PHP and a MySQL Database. Now I want to add audio-streaming (MP3) and pictures (JPG) to the database and retrieve it true PHP. Can

[PHP] Submitting Form in E-mail to Server Fails

2002-08-09 Thread Jeff Hill
Submitting a form that is within the body of an e-mail message fails when I use the 'post' method, although it works if I use 'get'. With the post method, it will open up a web browser, but the receiving form's headers show no data, no array, submitted. I thought at first it was a conflict with su

[PHP] JSP vs. PHP?

2002-08-09 Thread Kondwani Spike Mkandawire
I'm still into PHP like crazy... But I have been told JSP is more powerful how true is this? >From what I've read so far (tutorials and all), the syntax is 100% similar to Java i.e. it is basically Java with additional library functions... Now here's the story: I am yet to use PHP with a Graphi

Re: [PHP] PHP: problem with patterns

2002-08-09 Thread Analysis & Solutions
Hi Alia: On Fri, Aug 09, 2002 at 02:50:32PM +0300, Alia Mikati wrote: > > I have to parse an html file and replace > src attribute of an img. I'm using 'preg_match_all' First off, if you're doing a search and replace, use preg_replace(). > having problem with patterns. This is the part of cod

Re: [PHP] I'm going to shoot my machine

2002-08-09 Thread Rasmus Lerdorf
Probably a quote problem, or you are adding a ; at the end. The mysql_error() output after the failed query would tell you exactly. Much easier than asking here. -Rasmus On Fri, 9 Aug 2002, Liam Gibbs wrote: > Is there any reason why a MySQL query won't run > properly in a mysql_query command

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread EdwardSPL
Is there a php editor for Win2k ? Negrea Mihai wrote: > try nedit from nedit.org > you can download the patterns from the site to do php syntax highlight.. > > I have combined it with cervisia from kde 3 and made it look smth like an IDE > :) .. and I've been working 4-6 hours per day for about

[PHP] I'm going to shoot my machine

2002-08-09 Thread Liam Gibbs
Is there any reason why a MySQL query won't run properly in a mysql_query command, but will run properly when I put the *exact same* statement into a textbox that inputs into a mysql_query command? __ Do You Yahoo!? HotJobs - Search Thousands of New

[PHP] How do i add sound + pictures in a MySQL Database and how do i consult it via PHP

2002-08-09 Thread danny
hi, I am new on MySQL en PHP. I'm making a on-line dictionary. I use PHP and a MySQL Database. Now I want to add audio-streaming (MP3) and pictures (JPG) to the database. Can sombody help me out? The database is working well (only text). Danny -- PHP General Mailing List (http://www.php.net/

RE: [PHP] Linux PHP editor

2002-08-09 Thread Adam Plocher
I had problems compiling quanta on my redhat 7.1 box, I had to grab some cvs files to fix it (Don't remember which files.. Probably whichever ones had problems compiling - and the makefile). Quanta is a great program, it's basically a homesite clone for Linux. -Adam -Original Message- F

Re: [PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread Analysis & Solutions
On Fri, Aug 09, 2002 at 08:58:41AM -0500, §§ Duncan MacLeod §§ wrote: > I am only being able to list the first > file in each of the directories. Not the entire directory. ... snip ... > Although, the only files I really need out of the > directory are going to be '.JPG', '.jpg', '.GIF', '.gif

[PHP] Problem with output buffering in PHP 4.0.6 and Apache/1.3.20

2002-08-09 Thread ing.Martin Prášek
Hi.. I have found a strange problem. I try to use php output buffering, but I found this problem. Working with small amount of data everything is fine. But If I set example script like this: Everything works fine when $buffer < approx 1.5 Mb, but if the size of the output, that need to be bu

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread ed
Check this page out: http://www.zope.org/WhatIsZope .. And click the links on that page too. I don't know much about it. But what I gather is that it's sort of like an open source "cold fusion" type application written in python. Not that it necissarily resembles cold fusion in any way, but that

[PHP] DPHPEdit - FREE PHP IDE, new version available

2002-08-09 Thread Davor Pleskina
It is still FREE! Download site: http://www.pleskina.com/dphped In newest version (0.9.3.0): a. Recent projects list (Reopen) added to "File" menu b. File Browser added - you can now add files to project or open projects via double-clicking file name in internal file browser! c. Added Syntax Hi

[PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread §§ Duncan MacLeod §§
I was wondering if I could get alittle help in this issue. I have extinguished all other resources, with no avail to help. I am trying to get a directory listing for a dropdown list to choose for connection to a MySQL database for the correct image name to be printed into the database. I have t

Re: [PHP] $http_host use case

2002-08-09 Thread Analysis & Solutions
David: On Thu, Aug 08, 2002 at 10:30:15PM +0200, David D wrote: > > I make 2 sites with 2 domain names that use same scripts, > Each has got its html templates in a special dir selected judgging from > $HTTP_HOST values. ... snip ... > search engine works, did they affect this var correctly ? I

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I'll try... Anyway, next time, I'll try using KDE as well... Regards, - E > >hmm, can't answer those questions...I hope you can find such answers >on their web site. > >warmly, >paul > >At 03:40 PM 8/9/2002, you wrote: >>I'd like to use it but I don't use KDE (perhaps the libraries >>needed a

Re: [PHP] Is there a standard function to remove multiple spacesfrom a string?

2002-08-09 Thread Rasmus Lerdorf
function foo($str,$num) { return preg_replace('/ {'.$num.',}/',str_repeat(' ',$num),$str); } On Fri, 9 Aug 2002, Henry wrote: > Hi All, > > Are there standard functions for removing multiple spaces (or even better > limiting contiguous space to specified lengths)? > > i.e > > foo("Hello

Re: [PHP] Help with multiple select

2002-08-09 Thread Analysis & Solutions
Untested... $row = mysql_fetch_array($result, MYSQL_ASSOC); # Assuming items are comma separated in the field... $mins = explode(',', $row['mins']); echo "\n"; echo " \n"; for ($i=0; $i<12; $i++) { echo " $i\n" } echo " \n\n"; echo "\n"; echo "

  1   2   >