[PHP] Re: Javascript Calendar and PHP

2005-04-05 Thread Joe Harman
-- Forwarded message -- From: Joe Harman <[EMAIL PROTECTED]> Date: Apr 6, 2005 2:50 AM Subject: Re: [PHP] Re: Javascript Calendar and PHP To: Nadim Attari <[EMAIL PROTECTED]> interakt has a great one that is used with field forms... it's like $30 or something... it's actually a Dr

Re: [PHP] plug-in forum

2005-04-05 Thread Davy Obdam
Hi Ryan, You might wanna take a look at PunnBB : http://www.punbb.org/ Best regards, Davy Ryan A wrote: Hi, a client wants me to add a forum to his existing site...which is not a problem, the problem is he wants it to work off his existing site eg: once someone logs in to the main site they dont ha

RE: [PHP] read from comport: windows vs. linux

2005-04-05 Thread Kim Madsen
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 3:42 PM > > having apache be the groupowner doesn´t change anything > You may also need to change the user/owner, depending on what Apache is > running as. User and group is apache. It

[PHP] Re: Javascript Calendar and PHP

2005-04-05 Thread Nadim Attari
> What Javascript calendar works good with PHP? > Thanks http://www.blueshoes.net/en/javascript/datepicker/ Regards, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with proper post method...

2005-04-05 Thread Lars B. Jensen
very quick and *very* dirty, put this in top of your file extract($_POST); and voila, you bypassed "registerglobals off" -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com - Original Messag

Re: [PHP] Anybody getting these also?

2005-04-05 Thread Lars B. Jensen
yep -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com - Original Message - From: "Andy Pieters" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 06, 2005 2:33 PM Subject: [PHP] Anybody

[PHP] Anybody getting these also?

2005-04-05 Thread Andy Pieters
-- Forwarded Message -- Subject: Date: Wednesday 06 April 2005 07:30 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Thank you for contacting ActiveWire Inc! This is an automated response. Due to the enormous amount of SPAM (200+) emails per day, we have blocked this email add

Re: [PHP] To session or not to session

2005-04-05 Thread Andy Pieters
I forgot to mention some context related stuff. 1. This is for distribution, so wether or not session will actually be avaiable is something I cannot know. > Right now I am giving a trust factor of 80% to POST and 0% on GET. What > trust factor should I apply to SESSION 2. These trust factors

Re: [PHP] asking comment

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 5:44 am, William Stokes said: > I got a bit frustrated with image upload stuff with different image name > problems. So I created a system that gives the uploaded imaged a random > numeric name between 1-10 000 000 and saves the file to a server folder > and > the image name

[PHP] Help with proper post method...

2005-04-05 Thread Joey
OK I am migrating some sites from an old school server to one with MySQL 4 & newest PHP, however certain things aren't running because of the register_globals variable on the new server is set to OFF for security reasons. What I am trying to do is post like so with hidden variables The displ

Re: [PHP] PHP 5 Strings are References?!

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 6:48 am, Jochem Maas said: >>> I don't really think that's relevant, however, as PHP is storing $name >>> back *IN* to my $_SESSION data, just because I did: >>> $name = $_SESSION['name']; >>> $name = "Fooey"; >>> >>> $name is a STRING. >>> >>> It's not an object. >>> >>> It

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 9:22 pm, Eric Gorr said: >> It's possible, though extremely unlikely, that somebody could construct >> a >> malicious email that passes through strip_tags and/or htmlentities and >> still does something *bad* for your particular email application. > > Can you give an example?

Re: [PHP] php user groups - searching for php developers for a project...

2005-04-05 Thread Manuel Lemos
Hello, On Fri, April 1, 2005 7:44 am, bruce said: we're trying to find php developers/partners for a project, and we're wondering if there are php user groups in the cali/bay area (san fran/san jose) area that we can talk with, attend meetings, etc... searching google didn't really turn up anything

Re: [PHP] Mail with acknowledgement of delivery

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 8:31 am, marc serra said: > I got a problem with mail function. I want to know if it's possible to > send a email in php and to get back an acknowledgement of delivery. My > problem is that i want to know if my emails are delivered successfully > to recipients. > > Can you pl

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
A sample use: [...] 'include_once' allows me to lazy load -- and thus optimize my application. Sure, it may be a slight performance hit -- but not nearly that of loading the files in question. I do not question usefulness of include_once(). In fact, currently I'm developing application that might

Re: Re[2]: [PHP] How to format every secound row in a database result

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 11:08 am, Richard Davey said: > Hello Leif, > > Wednesday, March 30, 2005, 6:54:15 PM, you wrote: > > LG> http://www.devtek.org/tutorials/alternate_row_colors.php > > There is no need to involve a math heavy modulus function just to > alternate row colours! The following sing

Re: [PHP] Almost OT - urlencode and IE

2005-04-05 Thread Chris
Thanks, while that solution would technically work, it doesn't appeal to me very much. What these values are are the primary key of a table in a database. They are going to be primarily numbers, but I need the ability to have them as strings as well. I'm probably going to end up checking if th

Re: [PHP] Include file

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 2:31 pm, [EMAIL PROTECTED] said: >> ..."Scripts using single quotes run slightly faster because the PHP >> parser can include the string directly. Double quoted strings are >> slower because they need to be parsed."... This is PATENTLY FALSE, at least in part. PHP *must* pa

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Eric Gorr
Richard Lynch wrote: On Mon, April 4, 2005 2:00 pm, Eric Gorr said: I wanted to setup a good 'contact me' page on my website. I do not want to reveal my e-mail address, so I was going to use a form. The PHP script with the actual mail() function would define the To and Subject parameters, so these

Re: [PHP] php user groups - searching for php developers for a project...

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 7:44 am, bruce said: > we're trying to find php developers/partners for a project, and we're > wondering if there are php user groups in the cali/bay area (san fran/san > jose) area that we can talk with, attend meetings, etc... > > searching google didn't really turn up anyth

Re: [PHP] Re: Storing data structires in DB

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 10:49 am, GamblerZG said: > And please do not tell me that I need to write it in C++. The thing should > be portable. Write it in C, not C++, as a PHP extension. http://talks.php.net -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.

Re: [PHP] SSL & XML File Download Problem

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 12:20 pm, Shaun said: > As the > header is chaged to XML it forces the browser to ask the user if they want > to download the file rather than outputting the results straight to the > browser: I can't necessarily help you with your problem, but the above statement is INCORREC

Re: [PHP] Easy way to grab a value out of XML?

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 1:53 pm, Brian Dunning said: > I've been looking at the XML commands and am feeling a bit overwhelmed. > My needs are simple and I'm hoping there's an easy solution that I'm > just missing. I have a hunk of well-formed XML in a variable, $xml, and > it contains only one instan

Re: [PHP] Recommendation for a MySql wrapper class

2005-04-05 Thread Richard Lynch
On Sat, April 2, 2005 5:41 am, Ryan A said: > so although this is new to me, I know there are a lot of PHP gurus on the > list and i'm sure this is not new to themI was hopeing someone could > recommend a class they are using as I am starting a new project on monday > and dont have the time to

Re: [PHP] Re: Retrieve URL of website

2005-04-05 Thread Richard Lynch
var_dump($_SERVER); should provide you with sufficient info to piece together what you need. On Fri, April 1, 2005 9:36 pm, HarryG said: > Thanks guys. > > "HarryG" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Hi, > > I want to retrieve the complete url in my php script. How

Re: [PHP] filtering uploaded files

2005-04-05 Thread Richard Lynch
On Sat, April 2, 2005 6:35 am, Marek Kilimajer said: > Angelo Zanetti wrote: >> hi Richard this sounds like quite a serious subject but is there no >> other way to check the validity of the file and type without using the >> unix command? >> >> IE using PHP and not depending on system commands?

Re: [PHP] Printing

2005-04-05 Thread Richard Lynch
On Sat, April 2, 2005 9:03 am, Niels Riis Kristensen said: > I am using a Unix machine (Mac) but can't find ways to print to my > local printer. Plenty of information about printing from a PC, but none > from a mac. Can that be, that you can't print from php to mac? First, get printing to work AT

Re: [PHP] Broken connection

2005-04-05 Thread Richard Lynch
Your script is dying at some point. You're not seeing any error messages in your browser or your logs. So you need to crank up the error_reporting, check all return codes, and *DO* something useful when you encounter invalid data and error codes. Nobody can tell you much more than that without

Re: [PHP] fpassthru(); corrupts files on win 5.0.4 ??

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 12:11 am, Andras Kende said: The only thing "wrong" I see is: > $path = "\\\server\ftpserver\\$company\\" . $file; \\ is \ \s is, errr, I dunno. You tell me. What's \s \f is, errr, I dunno. Crank up your error_reporting, use wget (or whatever on Windows) to find out

Re: [PHP] help with GD

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 12:31 am, [EMAIL PROTECTED] said: > is there any way to edit and resize animated gifs in PHP? > with imagegif() i only get a static image Not as far as I know... Though I do recall seeing something about this on the GD page, so maybe you want to look at adding that support t

Re: [PHP] php - set interval

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 7:10 pm, Andrew said: > i've been searching for a 'setInterval' function in php and haven't had > much luck. http://php.net/sleep is kinda sort not like what you want. A cron job might be what you want, depending on if you classify cron as "complicated server stuff" or not.

Re: [PHP] create word files

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 2:07 am, Roman Duriancik said: > I have problem with creating word file in PHP script. I create table in > word document but sometimes php send me error message : "*Warning*: > (null)(): Invoke() failed: Exception occurred. *Source*: Microsoft Word > *Description*: There is in

Re: [PHP] Exchanging Data among processes

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 5:30 am, Matheus Degiovani said: > How can I exchange data among processes (i.e. two or more users > accessing a php webpage)? The two "usual" ways would be using either a > database or file, so I was wondering if there is another, more "fast" > (with reduced latency) for diff

Re: [PHP] Adding Fonts to JpGraph

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 12:39 pm, Stephen Johnson said: > I am using JPGraph for a project that I am working on right now and I have > hit a small snag - > > My client wants to have the user be able to select from a list of about 20 > ­30 standard fonts. JPGraph only has about six built into it and

Re: [PHP] Creating INSERT INTO statement from dbf file

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 1:33 pm, Rahul S. Johari said: > It works fine, except for one problem. It¹s able to create the INSERT INTO > sql statement, with all the fields and corresponding values, but as I¹m > running a loop for both the fields names, and the values corresponding to > fields names, it

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 2:00 pm, Eric Gorr said: > I wanted to setup a good 'contact me' page on my website. I do not want > to reveal my e-mail address, so I was going to use a form. > > The PHP script with the actual mail() function would define the To and > Subject parameters, so these could not b

Re: [PHP] strtotime() bug?

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 3:14 pm, Al said: > Suddenly my strtotime() are goofy, anyone have any ideas? > > echo date('Y/m/d/H', time()). ""; //2005/04/04/18 > echo date('Y/m/d/H', strtotime("-1 day")). ""; > //2005/04/03/18 > echo date('Y/m/d/H', strtotime("

Re: [PHP] ImageMagick Versus GD

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 1:05 am, [EMAIL PROTECTED] said: > which one is better ImageMagick or GD? > > infact I am much more curious about their image processing speed and > server > load. especially resizing large imagefiles. It probably depends more on your Machine's typical load/usage/processes th

Re: [PHP] To session or not to session

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 2:24 pm, [EMAIL PROTECTED] said: > I have been doing all my design by using POST to transfer user data and > GET > for user changeable variables. > > I would like to know what you guys think of using SESSION in production > sites. GET, POST, SESSION, Whatever it takes. > Rig

Re: [PHP] dynamic image will not print properly

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 2:26 pm, DuSTiN KRySaK said: > Hi there - I had my first crack at creating a dynamic image. The thing > is - the image is displayed fine in the browser, but when you go to > print it, the image is either missing, or part of it is missing. Is > there something special needed to

[PHP] Re:Re: [PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
I wondered that myself, but all the other (not dynamic) images print fine! d On 5-Apr-05, at 4:51 PM, [EMAIL PROTECTED] wrote: From: Andy Pieters <[EMAIL PROTECTED]> Date: April 5, 2005 2:35:22 PM PDT To: php-general@lists.php.net Subject: Re: [PHP] dynamic image will not print properly To test,

RE: [PHP] plug-in forum

2005-04-05 Thread Ryan A
Hey, Thanks, will look into it. I did like this part the best though: "Maybe you could cull the admin section to include only the necessary option and hide everything else from the admin as to not overwhelm their puny brain." hehe If only our clients knew how we speak about them or their "compute

[PHP] Re: To session or not to session

2005-04-05 Thread Skrol 29
Hi, SESSION feature connot be compared to POST and GET. POST and GET are methods to transfer data from the client to the server. SESSION is a method to keep the server in touch with the client, like COOKIES. A SESSION works with an ID saved in a cookie, or recalled in the URL. The value of the se

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
On Tuesday 05 April 2005 07:16 pm, Chris W. Parker wrote: > Andre Dubuc > > on Tuesday, April 05, 2005 4:04 PM said: > > Might want to look at: > > > > http://fudforum.org > > > > hth, > > Andre > > Andre, > > Who are you responding to? Myself or to the op? > > > > Ch

RE: [PHP] plug-in forum

2005-04-05 Thread Chris W. Parker
Andre Dubuc on Tuesday, April 05, 2005 4:04 PM said: > Might want to look at: > > http://fudforum.org > > hth, > Andre Andre, Who are you responding to? Myself or to the op? Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
On Tuesday 05 April 2005 06:50 pm, Chris W. Parker wrote: > Ryan A > > on Tuesday, April 05, 2005 3:07 PM said: > > a client wants me to add a forum to his existing site...which is not a > > problem, the problem is he wants it to work off his existing site > > > > eg:

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
> What fancy logic? And why does no one need it? I'm referring to this: http://archives.devshed.com/a/ng/557-22943/ > Now surely you can RTFM and find more answers. If you disagree with the > way that some things work you have a couple of options; > > a. Contact the PHP development group and explai

RE: [PHP] plug-in forum

2005-04-05 Thread Chris W. Parker
Ryan A on Tuesday, April 05, 2005 3:07 PM said: > a client wants me to add a forum to his existing site...which is not a > problem, the problem is he wants it to work off his existing site > > eg: > once someone logs in to the main site they dont have to relogin or

Re: [PHP] Maybe Newbie: PHP-scripts in sub-directories

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 5:43 am, Oliver Ekeis said: > I'm very sorry to bother you, but I've wasted a week solving my problem > and didn't find any solution in the net. > > On my dedicated server preinstalled with Linux Suse 9.0, Apache 2.0.48, > PHP 4.3.3 in want to use php in subdirectories. In the

Re: [PHP] Sending mail directly to php

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 7:43 am, ÞilvinasÐaltys said: > I have to create a script that could parse attachments that come from > another > server by mail. I could use crontab & pear pop to do the job. But maybe > someone knows if it is possible to configure my server in such way that it > could send m

Re: [PHP] Re: registering session with user and password

2005-04-05 Thread Tomás Rodriguez Orta
ok thanks I test an solution an working in the page login.php i do the following $user=$username; session_register("user"); and the all pages I do this. if (isset($_SESSION['user'])) { . } else header("Location:http://webadmin/index.php";) and that all ok, before I asked by the if (!se

RE: [PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Chris W. Parker
Todd Cary on Tuesday, April 05, 2005 2:35 PM said: > I have installed FC 3 with Apache and MySQL. When I run phpinfo(), I > do not see MySQL listed as a database nor can I connect via php. > > Does something have to be specially done with the FC 3 install? Other t

RE: [PHP] To session or not to session

2005-04-05 Thread Chris W. Parker
[EMAIL PROTECTED] on Tuesday, April 05, 2005 2:25 PM said: > Right now I am giving a trust factor of 80% to POST and 0% on GET. > What trust factor should I apply to SESSION What do you mean "trust"? If by trust you mean "I trust the data to be 80% h4x0r-free if I'

[PHP] Re: registering session with user and password

2005-04-05 Thread Jason Barnett
Tomás Rodriguez Orta wrote: > Hi, people. > I want to register all session of my web sitie, by the way in my index web I > register all user with your username and password > session_start(); > $_SESSION['username']=$username; > session_register('username'); > You should use $_SESSION *or* sessio

[PHP] Re: To session or not to session

2005-04-05 Thread Jason Barnett
[EMAIL PROTECTED] wrote: > Hi all > > I have been doing all my design by using POST to transfer user data and GET > for user changeable variables. > > I would like to know what you guys think of using SESSION in production sites. SESSION is "A Good Thing". > > Right now I am giving a trust factor

[PHP] plug-in forum

2005-04-05 Thread Ryan A
Hi, a client wants me to add a forum to his existing site...which is not a problem, the problem is he wants it to work off his existing site eg: once someone logs in to the main site they dont have to relogin or create new accounts in the forum section a one login gets you total site access ki

Re: [PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Andy Pieters
On Tuesday 05 April 2005 23:35, Todd Cary wrote: > Does something have to be specially done with the FC 3 install? I kindly redirect you to google for LAMP which is short for Linux Apache MySQL PHP I have also learned to setup this kind of system on Fedora Core 3. While you CAN rely on the rpm

[PHP] Fwd: dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
One thing to add. the issue is only on windows/IE. If it is say windows/Firefox - everything works as it should. d Begin forwarded message: From: DuSTiN KRySaK <[EMAIL PROTECTED]> Date: April 5, 2005 2:26:14 PM PDT To: PHP Subject: dynamic image will not print properly Hi there - I had my f

[PHP] registering session with user and password

2005-04-05 Thread Tomás Rodriguez Orta
Hi, people. I want to register all session of my web sitie, by the way in my index web I register all user with your username and password session_start(); $_SESSION['username']=$username; session_register('username'); and the other page if the user don't enter your name and password I was redirec

Re: [PHP] PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 10:49 am, Whil Hentzen said: > So now I switched my development box to SuSE, then, later, installed > Apache 2 and PHP via YaST, and it's burping on me. Apache processes > static pages fine, but the PHP function calls aren't being processed. > I'm guessing that there are missi

Re: [PHP] PHP inside .htacess protected file

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 11:24 am, james tu said: > We have a webserver that we want to turn on/off access. > We were thinking of using simple HTTP authentication to protect the > main webserver directory. > > We have Flash movies that talk to PHP scripts inside the webserver > directory. > > When we

Re: [PHP] dynamic image will not print properly

2005-04-05 Thread Andy Pieters
To test, cstl.php?dk=somethinghere and try to print that? Maybe your browser is configured to NOT print images (or bakckground) ? Maybe your printer is textonly (just kidding) Tada Andy On Tuesday 05 April 2005 23:26, DuSTiN KRySaK wrote: > Hi there - I had my first crack at creating a dyn

[PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Todd Cary
I have installed FC 3 with Apache and MySQL. When I run phpinfo(), I do not see MySQL listed as a database nor can I connect via php. Does something have to be specially done with the FC 3 install? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jason Barnett
Jay Blanchard wrote: > [snip] > Why include_once() is doing some fancy logic, which nobody needs? I need it. If you don't need it, don't use it. > Why array_shift() re-indexes arrays? Because most people *expect* it to behave that way. > Why 2 simple string comparisons are slower than one preg

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 11:44 am, GamblerZG said: > Why include_once() is doing some fancy logic, which nobody needs? Obviously somebody needed it, or they wouldn't have written it! If you don't need it, you can roll your own in about 10 seconds, or you could simply *NOT* use include_once and struc

[PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
Hi there - I had my first crack at creating a dynamic image. The thing is - the image is displayed fine in the browser, but when you go to print it, the image is either missing, or part of it is missing. Is there something special needed to print a dynamic image? Here is a code snippet used to

[PHP] To session or not to session

2005-04-05 Thread mailings
Hi all I have been doing all my design by using POST to transfer user data and GET for user changeable variables. I would like to know what you guys think of using SESSION in production sites. Right now I am giving a trust factor of 80% to POST and 0% on GET. What trust factor should I appl

Re: [PHP] Cannot connect to database when using Zend studio debugger

2005-04-05 Thread Supersky
Thanks, Burhan. Supersky "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Supersky wrote: >> Dear Richard, >> >> Thanks. >> >> After I swaped to PHP4 option in the preference of Zend Studio, I can >> connect to the database. However, other problems arised. The proble

RE: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jay Blanchard
[snip] Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in th

Re: [PHP] Re: PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Whil Hentzen
There's /etc/apache2/httpd.conf that basically just has a bunch of includes. Don't wanna touch that. There's /etc/apache2/default-server.conf that looks like it's where the action is. And there's a /etc/apache2/conf.d/php4.conf file that has specific php commands, such as AddType

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
Why don't you RTFM? There is nothing in manual that answers any of those questions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Jason Motes
Whil Hentzen wrote: Hi folks, I've done a bit of work with PHP/MySQL on a Fedora Core server over the past few months and just about the time I got comfortable, it was time to change the server to SuSE. What a delight! Installed Apache 2, PHP and MySQL and I was processing pages within minutes.

RE: [PHP] cancelling

2005-04-05 Thread Chris W. Parker
newbie c on Tuesday, April 05, 2005 12:23 PM said: > The executables are taking the user's input and going to the database > to grab and cut out the pictures that are corresponding to the user's > search term. I can only guess then that these executables could not b

RE: [PHP] cancelling

2005-04-05 Thread newbie c
The executables are taking the user's input and going to the database to grab and cut out the pictures that are corresponding to the user's search term. I understand the stop button may solve some problems and I am going to test this some more. But there is still the need to stop a user from m

RE: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jay Blanchard
[snip] Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in th

Re: [PHP] Slightly 0T - database (adodb) SOLVED

2005-04-05 Thread Ryan A
Hey, Solved it, they wrote $database in the docs as I was supposed to change it to the database i am using (mysql) while I mistook it for the database where the tables are stored (test1) Hope that helps anyone else if they have this problemso for the adodb looks pretty good! Cheers, Ryan On

[PHP] Slightly 0T - database (adodb)

2005-04-05 Thread Ryan A
Hey all, After my old thread of "SQL-Injection" I have been checking out the PEAR db classes and ADODB as a database wrapper. PEAR is quite large and has a LOT of stuff which I prolly will never use (but very useful stuff if you know how to use it) so I thought i'll go with adodb. After reading t

Re: [PHP] cancelling

2005-04-05 Thread Philip Hallstrom
You might find this section in the manual helpful... never done it myself though... http://us2.php.net/manual/en/features.connection-handling.php On Tue, 5 Apr 2005, newbie c wrote: Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. B

[PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in the first

[PHP] help on "Array to string conversion" warning when use mail()

2005-04-05 Thread cchereTieShou
I am using the mail() function to send a quite simple email but always get warning message as "Notice: Array to string conversion" at this line "if(mail($MailTo, $MailSubj, $MailCon, $MailH,"[EMAIL PROTECTED]")){" in the following php code. I don't see where is the Array at all. Appreciated for he

RE: [PHP] cancelling

2005-04-05 Thread Chris W. Parker
newbie c on Tuesday, April 05, 2005 11:03 AM said: > Are these ideas practical and possible? Practically speaking? It seems like a waste of time. What are these executables doing? The stop button on the browser or clicking a link to a new page should suffice. As fo

Re: [PHP] Re: Browser problem

2005-04-05 Thread [EMAIL PROTECTED]
take out the & sign. just: pag.php?var=1#print -afan Satyam wrote: I think the #, if meant as a bookmark, should go before the ?: pag.php#print?var=1 If it is not meant as a bookmark, then it should be urlencoded Satyam "Ja Ko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I h

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread Satyam
"John Coppens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 5 Apr 2005 19:14:17 +0200 > [EMAIL PROTECTED] (Satyam) wrote: > >> One think I can tell you for sure because I just checked is that >> Microsoft does not list 'lang' as an atribute for the html tag, so I >> would

[PHP] PHP inside .htacess protected file

2005-04-05 Thread james tu
I have this dilemma...I know this is more of an apache question than a PHP questions, but I thought that it's partially related. We have a webserver that we want to turn on/off access. We were thinking of using simple HTTP authentication to protect the main webserver directory. We have Flash mo

[PHP] Re: Browser problem

2005-04-05 Thread Satyam
I think the #, if meant as a bookmark, should go before the ?: pag.php#print?var=1 If it is not meant as a bookmark, then it should be urlencoded Satyam "Ja Ko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I have a little problem: > The following link works well on Expl

[PHP] cancelling

2005-04-05 Thread newbie c
Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. Basically, I have a mypictures.php file. There are select statements, grep statements, and a call to executables. I don't understand why there isn't that much around about this c

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
On Tue, 5 Apr 2005 19:14:17 +0200 [EMAIL PROTECTED] (Satyam) wrote: > One think I can tell you for sure because I just checked is that > Microsoft does not list 'lang' as an atribute for the html tag, so I > wouldn't expect Internet Explorer to care about it: > > http://msdn.microsoft.com/worksho

[PHP] Browser problem

2005-04-05 Thread ja ko
Hi, I have a little problem: The following link works well on Explorer, Mozilla and Firefox: pag.php?var=1&#print But on Opera, the same link change to this: pag.php?var=1%EF%BF%BDprint causing an error. How I can solve it? Thanks for the answers -- PHP General Mailing List (http://www.

Re: [PHP] Re: MySQL empty row

2005-04-05 Thread GamblerZG
DB Error: constraint violation What DB do you use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Whil Hentzen
Hi folks, I've done a bit of work with PHP/MySQL on a Fedora Core server over the past few months and just about the time I got comfortable, it was time to change the server to SuSE. What a delight! Installed Apache 2, PHP and MySQL and I was processing pages within minutes. So now I switched m

Re: [PHP] PHP 5.0.4 not generating /usr/local/bin/pear ?

2005-04-05 Thread Rick Fletcher
Chances are it's not your fault. The initial release of 5.0.4 was missing the RunTest.php file. The end result of which is that pear isn't installed. It was noticed a day after the initial release, and I believe the 5.0.4 that's on php.net now has been fixed. --Rick mbneto wrote: Hi, I've dow

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread Satyam
"John Coppens" <[EMAIL PROTECTED]> wrote in message The page is started with , according to rfc3066. John I am not sure this applies to your problem. The language is not the same as the character set. There are several character sets which can represent many Europe

Re: [PHP] Help. Floats turning into really small numbers? x.xxxxxxxxxxxxxxxxxxxxxxE-xx

2005-04-05 Thread Rasmus Lerdorf
Anthony Tippett wrote: I'm having trouble figuring out why subtraction of two floats are giving me a very small number. I'm thinking it has something to do with the internals of type casting, but i'm not sure. If anyone has seen this or can give me some suggestions, please. I have 2 variables tha

RE: [PHP] Header issues

2005-04-05 Thread Jay Blanchard
[snip] I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the Header( ) function

Re: [PHP] Header issues

2005-04-05 Thread Martin . C . Austin
Perhaps you can do some juggling to make this work, passing the query to the server, then using a client side language to transmit those results to the appropriate frame. Sounds like a big headache to me though. Martin Austin John Nichel <[EMAIL PROTECTED]> 04/05/2005 11:17 AM To

Re: [PHP] Header issues

2005-04-05 Thread John Nichel
Mahmoud Badreddine wrote: I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the

[PHP] Header issues

2005-04-05 Thread Mahmoud Badreddine
I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the Header( ) function. This

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
On Tue, 05 Apr 2005 09:44:35 +0200 Marek Kilimajer <[EMAIL PROTECTED]> wrote: > John Coppens wrote: > > Hi people. > > > > I submitted the issue below to the bug site, but the people there > > suggested I present it here. I've tried some more, but until now, I > > couldn't find any cause for the

[PHP] Solution for all your design requiremetnts

2005-04-05 Thread freshersworld .com
Visit www.lifenit.com for more details.. First Job. Dream Job... Freshersworld.com __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ -- PHP General Mailing List (http://

Re: [PHP] pass variable from vbscript to php

2005-04-05 Thread David Bevan
Please address replies to the list --- Rory Browne <[EMAIL PROTECTED]> wrote: > I'm not sure how you'd go about this from a security > point of view, > but perhaps for an Intranet, you could, check their > IP address from > $_SERVER['REMOTE_ADDR'], and check your login server > to see who is > logg

  1   2   >