[PHP] Fw: `�.�MPEG`�.�

2006-06-12 Thread webmaster
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session Array Disappears

2006-04-25 Thread Webmaster
Hello, Thank you for the reply. Richard Lynch wrote: On Mon, April 24, 2006 2:48 pm, Webmaster wrote: In reading the www.php.net/manual/en/ref.session.php page, I'd like to point out we do not use cookies. The session id is propagated in the URL (although it's not visible in the URL bar

Re: [PHP] Session Array Disappears

2006-04-25 Thread Webmaster
Richard Lynch wrote: I'm thinking the guy who suggested ignore_user_abort(TRUE) is just doing Voodoo Programming :-) I love the term Voodoo Programming! I'm guilty of doing it myself. :-) My 2 cents.I could see times when ignore_user_abort(TRUE) could be very handy. I'm wondering

[PHP] Session Array Disappears

2006-04-24 Thread Webmaster
Hello, The site I'm working on works like this... Requires a login that uses sessions to remember username and email address. Upon being verified, the user is presented with a page that displays several questions regarding their background. Upon submitting the background page, a script

Re: [PHP] Session Array Disappears

2006-04-24 Thread Webmaster
://www.php.net/manual/en/ref.session.php http://www.php.net/manual/en/function.session-start.php Brady -Original Message- From: Webmaster [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 1:49 PM To: php-general@lists.php.net Subject: [PHP] Session Array Disappears Hello

Re: [PHP] Session Array Disappears

2006-04-24 Thread Webmaster
Hello, Thank you for the reply. Interesting function. I have not heard of that one previously. I've read the manual pages for it.If I understand ignore_user_abort(TRUE)...you are thinking that maybe the user is being disconnected (using stop button or having ISP issues) prior to the

[PHP] mail() and exim

2006-04-07 Thread Webmaster
Hello, I'm not sure if this is the right list to ask this on or not Here's the situation... my php scripts were generating emails as expected. I was shocked when they told me that exim was not responding to requests on port 25 and had to be restarted. So, PHP communicates with exim

[PHP] curl http file upload post

2006-04-03 Thread webmaster
I am trying to upload a file to a remote server using curl and post method here is what I have: $file = $dir..$dbfile[0]; $this-invoiceno = $dbfile[1]; $uploadpath = http://www.website.com; $postvar = array (); $postvar['cboFileType'] = 837; $postvar['txtDesc'] = Invoice

[PHP] unset and sessions

2005-12-12 Thread Eternity Records Webmaster
I use php 5.0.5 and was wondering when I use $_SESSION would unset() work the best for getting rid of the values in that array?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] broken code....

2005-12-10 Thread Eternity Records Webmaster
Got it fixed now... tnx... -Original Message- From: Ben Blay [mailto:[EMAIL PROTECTED] Sent: Friday, December 09, 2005 9:46 AM To: Mark Steudel Cc: php-general@lists.php.net Subject: Re: [PHP] broken code I believe the difference between using = and = is that the former passes the

[PHP] pear website?

2005-12-07 Thread Eternity Records Webmaster
does anybody know if the pear website is having any problems? i cant seem to be able to go there and its the only website giving me problems right now... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array carrying from one php page to another

2005-12-07 Thread Eternity Records Webmaster
I have an array $journal that I want to carry from a page (where it was created) to another page (a popup that shows the variables contents). Is this automatically available? or do I have to do something special to php?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] broken code....

2005-12-07 Thread Eternity Records Webmaster
I have this code that doesnt print the db results like they should... it uses pear::db package for the database. Was wondering if anybody can figure out how come it doesnt work... ?php require_once 'DB.php'; error_reporting('E_ALL'); $db = DB::connect('mysql://root:[EMAIL

[PHP] template systems

2005-12-05 Thread Eternity Records Webmaster
Hi... I was wondering if there are any template systems out there that are fairly easy to use (that don't require hours and hours reading books) and that are fairly good as well? I need one also that works with pear packages since I use html_quickform a lot. I considered checking out smarty but

[PHP] functions that take variable arguments?

2005-12-05 Thread Eternity Records Webmaster
how do you create/use a function that takes an undefined amount of arguments? I looked at the manual but its a little confusing. for example, i want to make a function called Update inside a DB class: class DB { //vars here var $host; var $DbUser; //functions function Update(...) { //this

RE: [PHP] How would you write this?

2005-12-03 Thread Eternity Records Webmaster
Hi... the easiest way I have found to do exactly what your looking for is to use a pear package called html_quickform. I found it easy to use and it saves me hours and hours of work too. If your interested go to www.pear.php.net/html_quickform and have a look. -Original Message- From:

AW: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

2005-11-18 Thread Webmaster
Hi, i hope I got you right. You can send data to the next php file by HTTP-GET. Simply add a ? behind the link and then variablename=value. Example ./jumpto.php?to=searchProduct In the jumpto.php you would ask the Global Array for Get Variables for the entry and then decide what to do.

Re: [PHP] change letter to all caps

2005-07-18 Thread webmaster
$uppercasestring=strtoupper($originalstring); - Original Message - From: George B [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, July 18, 2005 6:59 PM Subject: [PHP] change letter to all caps Lets say I have a form. And when user types in the form and clicks go, it

Re: [PHP] Oracle Interface

2005-06-10 Thread Webmaster
Shane Presley wrote: Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle

[PHP] Session Array using array_pop and array_unshift

2005-05-11 Thread Webmaster
Hello, I have an application that occasionally drops a session array element value. Data from the form... $_POST['firstName']; $_POST['lastName']; $_POST['phone']; $_POST['email']; $_POST['cell']; When the form is submitted, the POST variables are checked to make sure they each contain a value.

AW: [PHP] Apache - IIS Migration

2005-04-18 Thread Webmaster
Hi, abolutly right. I never had problems with migrating from Apache to IIS or vice versa. Best Regards Mirco Blitz -Ursprüngliche Nachricht- Von: Pablo D Marotta [mailto:[EMAIL PROTECTED] Gesendet: Montag, 18. April 2005 23:09 An: php-general@lists.php.net Betreff: [PHP] Apache - IIS

[PHP] Another array sorting Problem

2005-04-16 Thread Webmaster
Hi, I have a multidimensional array looking linke this Rowid title kat 123 nr1 3 442 nr2 2 547665 nr3 5 4532nr4 3 3244nr5 1 124 nr6 2 776

AW: [PHP] Re: pasring complex string question

2005-04-08 Thread Webmaster
Thank you very much. If anybody has some good links to ereg tutorials, I would love to get that teached. Thanks Mirco Blitz -Ursprüngliche Nachricht- Von: Eli [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 8. April 2005 06:40 An: php-general@lists.php.net; Webmaster Betreff: [PHP] Re

[PHP] pasring complex string question

2005-04-07 Thread Webmaster
Hello, i have a string looking like this. ## /T (KEY1)/V (VALUE1)|| ## /T (KEY2)/V (VALUE2)|| ## /V (VALUE3)/T (KEY3)|| I know want to separete it in to keys and values and insert them into an array. Note that /T always shows that teh upcoming value in() is a Key and that /V always

[PHP] cancel 20050116225111.60153.qmail@lists.php.net

2005-01-16 Thread webmaster
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[no subject]

2004-11-19 Thread webmaster
Norton AntiVirus Deleted1.txt Description: plain/text -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-18 Thread Jeff - Webmaster
this: script type=text/javascript language=Javascript1.5 On Nov 16, 2004, at 5:03 PM, Jeff - Webmaster wrote: Thank you for the response Brent. I made that change and the problem still exists. I ran the page through the validator and it found some generic problems, but nothing that seemed like it would

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
. anonymous On Nov 16, 2004, at 2:24 PM, Jeff - Webmaster wrote: Hello all. I have created a few PHP pages on our website where users can go a fill out a simple form and submit it to our support department using the post method. For users on PC's, this works flawlessly. I am getting complaints from

[PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
Hello all. I have created a few PHP pages on our website where users can go a fill out a simple form and submit it to our support department using the post method. For users on PC's, this works flawlessly. I am getting complaints from people who use Macintosh who say that they are not able to

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
actually bragged about recently. You should run your web page through one of the validators on the internet. It will tell every little thing that is wrong with your html. http://validator.w3.org/ On Nov 16, 2004, at 3:24 PM, Jeff - Webmaster wrote: Hello all. I have created a few PHP pages on our

[PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copying a known-good php.ini from another server

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
The error reporting level is the same as it was for the same websites on a different server that is working. Jeff At 11:49 AM 8/26/2004, Greg Donald wrote: On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: Hello all. I just finished placing a new server in production and PHP is not working

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Here is a snippet of the code that is being choked on. The first failure comes from line 6: ?php $name = $_POST['name']; $address = $_POST['address']; $email = $_POST['email']; $phone = $_POST['phone']; $type = $_POST['type']; $message =

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Another website dies on line 4 here: ?php $to = [EMAIL PROTECTED]; $subject = Swinos.com Booking Contact - $name; $headers .= MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; $headers .= From: swinos.com [EMAIL

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? Jeff At 01:51 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= MIME

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Removing the . got rid of most of the errors, but two remain: Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 Notice: Undefined variable: message in E:\domains\swinos\contact.php on line 12 The offending lines are: 4 - $headers = MIME-Version: 1.0\r\n; and 12 -

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Turned out to be something different about PHP 4.3.8 vs. 4.3.4. That was the only difference between the two servers. As soon as I corrected that, all files are working like they used to. Thanks for your help. Jeff At 05:22 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Intersting

[PHP] Links with parameters in DB

2004-08-19 Thread WebMaster. Radio ECCA
Hi!! I have links saved in the DB and some of them may have parameters. Those parameters may come from a php variable. The problem is that when I recover the link form the DB I get the link plus the name of the variable instead of its value. Here is an example: I have this in the DB:

Re: [PHP] Links with parameters in DB

2004-08-19 Thread WebMaster. Radio ECCA
Blanchard [EMAIL PROTECTED] To: WebMaster. Radio ECCA [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 19, 2004 1:28 PM Subject: RE: [PHP] Links with parameters in DB [snip] $i=0; $q=select * from links'; while ($imysql_num_rows($result)) { $link=eval(mysql_result($result,$i,link

Re: [PHP] Links with parameters in DB

2004-08-19 Thread WebMaster. Radio ECCA
I tried what you said but i get an eval error: Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d code on line 1 ;( - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: WebMaster. Radio ECCA [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 19

[PHP] Nueva web necesita enlaces php

2004-08-19 Thread webmaster
Apreciados colegas, estoy desarrollando una web en php que si bien no es muy complicada espero sea útil. Se trata de http://www.rutaweb.com/ La web principalmente está dedicada a enlaces de calidad pero en breve estrenaré sección de PHP con tutoriales y scripts. De momento agradecería que

[PHP] O'Reilly Website Problem

2004-08-05 Thread Jeff - Webmaster
I am running PHP 4.03 on O'Reilly website 2.5 I have specified the content and associations as directed in O'Reilly's online support (what little of it exists anyway). I am running into an issue where all requests to any PHP page causes a termination of PHP.exe on the server. I have seen a

Re: [PHP] Installing PEAR on Windows

2004-07-28 Thread webmaster
Hi Matt (et al), I've added the c:\www\pear path to both the windows path and also the path in the php.ini file. However it's still coming up with the same error. Is there a way of putting in a temporary path in the go-pear.php file? Nunners Quoting Matt M. [EMAIL PROTECTED]: Warning:

[PHP] Installing PEAR on Windows

2004-07-27 Thread webmaster
I've had no luck with the PEAR General List... so... I've successfully manually installed PEAR onto my windows server after trying many attempts at installing it properly - however, it's prooving a pain in the arse to upgrade the packages, and install any new ones. So, can anyone assist in why

[PHP] Session_Start Problem (Fatal Error)

2004-07-09 Thread webmaster
I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a problem logging into the Administration Tool. It comes up with: Fatal error: session_start(): Failed to initialize storage module. in /home/hetbweb/public_html/administrator/index.php on line 64 I've looked at

RE: [PHP] PHP Web Mail

2004-07-05 Thread webmaster
Try www.horde.org It's not only a webmail client, but has a whole load more! Nunners Quoting I.A. Gray [EMAIL PROTECTED]: Thanks- looked at Squirrel Mail. Looks really good, however we use POP3- I don't think Squirrel Mail uses POP3 does it? -Original Message- From: Jose Leon

RE: [PHP] Holding links in a database

2004-06-24 Thread webmaster
Quoting Jay Blanchard [EMAIL PROTECTED]: [snip] I have created a site that is begining to accumulate a large number of pages. I have been considering holding links to all pages in a database so that the sub menus alter dynamically rather than being hand coded. Has anyone else done this...

[PHP] CMS for a Intranet

2004-06-24 Thread WebMaster. Radio ECCA
Hi! I´m developing a new intranet for my company and I wonder if there is any CMS package that fulfil my needs. I´ve used PHP Nuke but I think it isn´t very safe. I would need a package where creating new modules wew easy. Which one would you recommend it? Which one do you use? Thanks in advance.

[PHP] Using Paradox and Delphi with PHP

2004-06-02 Thread WebMaster. Radio ECCA
Is there any way to use a Paradox database with PHP? I have an aplication made in Delphi using Paradox and I need to attack the Paradox database using PHP. Do you know if there is anyway? Thanks in advance!! ;)

[PHP] php and mysql help

2004-04-14 Thread webmaster
Hello i need help with mysql_create_db i found the solution once but cant remember what it was if someone could tell me the proper way to create a database with php and mysql i would be greatly thankfull. Thank you.

Re: [PHP] Re: STOP to send me mails !!!! Re: [PHP] Re: list to array help

2004-03-29 Thread webmaster
exactly dont want letters dont join a list! - Original Message - From: Ben Ramsey [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 29, 2004 11:23 AM Subject: [PHP] Re: STOP to send me mails Re: [PHP] Re: list to array help W I do not want to receive

[PHP] Simple question

2004-03-19 Thread webmaster
Im sure this question seems primitive to most of you, im new to using foreach with forms my question is how is the best way to keep from getting the submit button from comming through with the variables below is my code. form method=post action=?fm=newAdvertisera=insert centerpreb Advertiser

[PHP] I am totally nuts/banana. Please somebody help me with an include problem.

2004-01-12 Thread Webmaster
/test.php); echo This is a test page.; ? and put this into the design directory: ?php php_info(); ? and it works fine. What could be the problem. Really I am getting grey hair. Is there ANYTHING in the php.ini file httpd.conf that could cause this? I looked them over about 50 times. Thx webmaster

[PHP] I need a little help

2004-01-11 Thread webmaster
Hello all i have probably a pretty dumb one here. i need help with getting the proper count on my referrals the way i set it up was i was just going to count down the line by using the member table, i enter the referral in the member table when the new user is added, this may have been a bad

[PHP] need help with php and mysql

2003-12-31 Thread webmaster
i made a bobo and now mysql server is returning a to many connections error i dont have access to reboot so is there a comand i can use to close all connections.

[PHP] need help with php and mysql

2003-12-31 Thread webmaster
hi all i had an to many connections error with mysql i dont have anyway to reboot the server so is there someway i can give php a command and shut down all open connections on mysql thank you

[PHP] need a little help all

2003-12-28 Thread webmaster
Here is what i have i call 2 cookies in the top of my script, now i need to call another when another script is called but it keeps givin me the error headers already sent, now ive seen this done in other scripts but wont work for me so please help me is it in my php.ini or is it just not possible

[PHP] serialize and unserialize

2003-12-22 Thread webmaster
Hello all i need a little help with serialize and unserialize here is my code ?php session_start(); if(!isset($_COOKIE['data'])) { //Check to see if cookie is there. include(cookie_num.dat); $y = $password; //Assign a special number

[PHP] need help getting one variable

2003-12-22 Thread webmaster
hello all i need help to enter one variable in a cookie and then retreive it back later, i know this probably sounds dumb to most but this is really the first time ive tried working with cookies so please bear with me, thanks for any help.

RE: [PHP] Communicating with remote server

2003-11-17 Thread Webmaster
Well, I know how to run MySQL queries and connect to the db and things like that. But I would like to be able to connect to a remote site (ex: http://my-site.com/functions.php). Here I would like to run functions from the remote functions.php file and have it connect to it's own server's db.

RE: [PHP] Communicating with remote server

2003-11-17 Thread Webmaster
Yes, the remote server does have PHP. This sounds like a good idea. Is it relatively easy to do? I have never worked with HTTP protocol functions for this. Do you know of a tutorial I could look through to learn a little of this? Thanks, Matt -Original Message- From: Marek

RE: [PHP] Communicating with remote server

2003-11-17 Thread Webmaster
to communicate back and forth between the servers. I just have no prior experience doing it so I need a little guidance. Thanks, Matt -Original Message- From: Vail, Warren [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:09 PM To: 'Webmaster'; 'Jeff McKeon' Cc: [EMAIL PROTECTED] Subject

[PHP] About php

2003-11-10 Thread webmaster
We have a data base in access 2000. Could you advise which version of php will connect to the access. Please advise also how can i open the connection . Thank you in advance for your assistance. Best regards Marlyn Estefanos Businesslink. -- PHP General Mailing List

[PHP] Re: the function of the @ symbol?

2003-11-04 Thread PHP Webmaster
Joffrey L Leevy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code?

Re: [PHP] verify my ISP

2003-11-04 Thread PHP Webmaster
John Taylor-Johnston [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can I verify if my ISP really does have PHP on a server I am using. They say if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in my .htaccess to verify and maybe do this?

Re: [PHP] Read a file, extract and echo some information

2003-10-21 Thread PHP Webmaster
Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PHP Webmaster mailto:[EMAIL PROTECTED] on Monday, October 20, 2003 4:36 PM said: As you can see, the above code will not work as the $title variable has not been set yet. So, I need a way of opening up the home.php

[PHP] Read a file, extract and echo some information

2003-10-20 Thread PHP Webmaster
Hi all, I have a little dilemma on my hands that I can't seem to solve. Iv'e looked through the PHP Manual at the fread(), fgets(), fopen(), file() etc functions which I beleive are capabile of what I want to do, but I just can't seem to peice it all together. Anyway, the following code is

Re: [PHP] Session not getting destroyed !

2003-10-17 Thread PHP Webmaster
Binay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes its showing 0 only.. Its a weird kind of problem for me .. - Original Message - From: David Otton [EMAIL PROTECTED] To: Binay [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:16 PM

Re: [PHP] using ImageGIF

2003-10-17 Thread PHP Webmaster
Louie Miranda [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] And here's the error [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6 -- - Louie Miranda http://www.axishift.com -

[PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread PHP Webmaster
Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently crreating a PDA version. What I wuold like to to do is give out the same URL instead of domain.com for normal use, domain.com/wap/ or

[PHP] Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Hi all, I have a little problem that I hope you can help me with. I have the following strings: $str1 = Bob; $str2 = My Name Is Bob; How can I get PHP to look for $str1 inside of $str2? Also, what about if Bob inside of $str2 is in different places? I would like something like: if ($str1 IS

[PHP] Re: Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try: if (strpos($str2, $str1) !== false) echo $str1 is inside $str2; else echo could not find $str1 inside $str2; Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all

[PHP] Smarty problem

2003-10-08 Thread Webmaster
Hi, I already posted this question in the Smarty group, without success. I have a problem with Smarty. I wrote the following function that gets data from a mysql database: function showHeadlines() { global $db; $entry_events = array(); if ($this-showold == true) {

[PHP] Sessions

2003-10-07 Thread Webmaster
Hi! I started to use the php own session functions today. Now I am getting such lines in the address bar: /pages/news.php?option=1015PHPSESSID=PHPSESSID=d117dba208d4b205cd4e521f606b b44e#result Why do I get PHPSESSID=PHPSESSID= ? Thank you. Webmaster -- PHP General Mailing List (http

[PHP] Re: method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi. Ok I've got the logging in of customer accounts settled but what I need to work into the system is that of preventing more than one instance of the same account. If I logon right now as testuser1 on ComputerA and then

Re: [PHP] method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This has been discused several times befor and the conclusion is that these obstructions are wrong. What if the user loses its credentials and he is still considered loged in. He cannot log in again. If you bind the

[PHP] Wrapping code inside [code]xxx[/code] tags.

2003-10-06 Thread PHP Webmaster
Hi all, I have on my site a part where users' can submit articles and no doubt their articles will contain code. Code is wrapped inside of [code] tags, i.e. [code]?php echo hi; ?[/code] However, there is other text in the same article, so I need to format the code inside of the [code] and

[PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password protection box still appears asking for the username and password! The only thing I

[PHP] Re: .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Mika Tuupola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 6 Oct 2003, PHP Webmaster wrote: Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
, redirect you to the subdomain and then prompt you again. Nathan - Original Message - From: Mika Tuupola To: PHP Webmaster Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 7:12 AM Subject: Re: [PHP] .htaccess - Still asking for login information although already sent through

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: If I use my login form, the login box pops up only once. If I copy the text from the address bar (generated by the form) and paste it into the address bar (after

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
the correct Eastern Standard Time http://www.php.net/putenv ?php putenv('TZ=US/Eastern'); echo 'Last modified: ' . date('d/m/y H:i', getlastmod()); ? -- Jon Kriek http://phpfreaks.com Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

Re: [PHP] date() is hours behind

2003-09-30 Thread PHP Webmaster
Jon Kriek [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] putenv('TZ=Europe/London'); OR putenv('TZ=GMT'); -- Jon Kriek http://phpfreaks.com Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm in London and and my timezone is GMT, so what should I

[PHP] date() is hours behind

2003-09-29 Thread PHP Webmaster
Hi all, I currently use: date(l jS F Y, g:i A); To format the current date/time to my personal preference. However, at 12:19 AM on my machine, date(l jS F Y, g:i A); shows 4:19PM... 8 hours slow :( Any ideas on how to correct this? Am I right in saying that there is a timezone problem? Any

[PHP] WHAT IS PEAR?

2003-09-24 Thread Webmaster
I checked the PEAR HOMEPAGE but still I don't quite understand what the project is about. I am familiar with writing classes and functions. Now, I can not figure out what the deal is. Does Pear consist of a class library that comes with the installation? There is a directory pear which is full of

[PHP] Creating Objects!

2003-09-23 Thread Webmaster
HI, let us say there is Class A. In the constructor of this class I create an Object B of Class B. Now what is the difference between these two ? this-B = new B; and B = new B; Thank you very much! Wenmaster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Creating objects

2003-09-23 Thread Webmaster
Hi, let us say there is Class A. In the constructor of this class I create an Object B of Class B. Now what is the difference between these two ? this-B = new B; and B = new B; Thank you very much! Wenmaster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] IP adress problem

2003-09-16 Thread Webmaster
Hi, why doesn't this work? ## IP FUNCTIONS ## function assignClientIP() { if (getenv('HTTP_X_FORWARDED_FOR') == '') { $this-aCustomer-setClientIP((!empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ?

[PHP] Question regarding OOP and interitance

2003-09-04 Thread Webmaster
Good day, I would like to know a constructor function is also inherited to a child class. I mean the child class also needs to have a constructor function but it must have the same name as the class name. How does that work? Thank you very much. BW -- PHP General Mailing List

[PHP] Passing objects as a reference and extracting the index of an associative array.

2003-09-04 Thread Webmaster
Hi, i am using the smarty template engine. Here is the problem that I would like to ask about: function initTop($page, $array) { for ($i=0; $isizeof($array) { $page-assignVars(, $array[$i]) } } The function is supposed to know which object's attributes she is supposed to change. Do

[PHP] Passing Objects between scripts and guarateeing that a language has been choosen.

2003-09-04 Thread Webmaster
Hi, I am just starting to understand how the session handling routines work in php. I can pass objects to other scripts. So I can put the language into the object that the visitor chose at the very first page. But what if a visitor bookmarked my homepage and comes back after a few weeks. How can

[PHP] Can Objects be passed to another page?

2003-09-03 Thread Webmaster
Hi, is it possible to pass an Object to another php page? I want to pass a whole bunch of varibales to another page. For example the session ID, the language that the user choose,etc. All those variables are in one or more objects. Do I have to copy all those object attributes to variables and

[PHP] Accessing objects of other objects?

2003-08-29 Thread Webmaster
Hi, I have the following problem: On page A of my homepage I create an object 1 which itself creates an object 2. Now how can I access the properties of object 2 from A ? It doesn't seem to work. I am fairly new to Object Oriented Programming. Thank you very much. -- PHP General Mailing List

[PHP] More on file upload

2003-07-04 Thread Webmaster
php.ini settings are: file_uploads 1 doc_root no value post_max_size 8m upload_max_file size 2m upload_tmp_dir no value Anthing else to check? Is there a way to get a more descriptive error msg? Thanks. Mark Roberts, Roberts Computing Systems Webmaster Services $29.50/mo mailto:[EMAIL PROTECTED]

RE: [PHP] More on file upload

2003-07-04 Thread Webmaster
PROTECTED] Sent: Friday, July 04, 2003 10:57 AM To: Webmaster Cc: [EMAIL PROTECTED] Subject: Re: [PHP] More on file upload What is the message now? Is the file being uploaded and move_uploaded_file() does not move the file? Then check the directory permissions. Webmaster wrote: First of all

RE: [PHP] More on file upload

2003-07-04 Thread Webmaster
for your response. Mark Roberts, Roberts Computing Systems eCommerce, yeah, we do that! Graphics, Scripting, Databases, shopping carts mailto:[EMAIL PROTECTED] -Original Message- From: Andrew McCombe [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 11:16 AM To: Webmaster; Marek

[PHP] Help with upload

2003-07-03 Thread Webmaster
']); //or die($php_errormsg); //or die(Couldn't copy the file!); echo error=.$php_errormsg; } else { die(No input file specified); } Thanks. Mark Roberts, Roberts Computing Systems Webmaster Services $29.50/mo mailto:[EMAIL PROTECTED]

[PHP] Need Older version of file upload script

2003-07-02 Thread Webmaster
that it will be running on is v4.0.3pl. Upgrading is not an option. Does anyone have a file upload script that will work on this older version of php that they would be willing to share? Thanks. Mark Roberts, Roberts Computing Systems Webmaster Services $29.50/mo mailto:[EMAIL PROTECTED]

[PHP] Image size, (not weight) help

2003-03-29 Thread Webmaster MBT
Hi: I would like to know if there is a way to know the size foan image when uploading it from a form page on PHP. I know the weight can be measured with $file_size but what Im looking for is to be able to validate if an image is more than 220pixels width or of height. Thanks in advance EJB

  1   2   >