at..
http://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 Disappe
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
sc
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 t
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 thou
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.
Advertiser Username
Advertiser Password
Advertiser Number Of Clicks O
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 r
Norton AntiVirus Deleted1.txt
Description: plain/text
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
$uppercasestring=strtoupper($originalstring);
- Original Message -
From: "George B" <[EMAIL PROTECTED]>
To:
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 shows output.
> but.
>
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 =.
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.
Example:
sf($_GET["to"]
Hi List.
I have been working on a problem that is driving me crazy.
I have to create a process in which I upload some info to a table. Since I
have to add some different information to that table, I decided to do it
like this.
1.I create a temporary table copying the structure of my final table.
Hi I'm trying to make a script that first figures out if a cookie is set, if
not,do this, if so, do that.
Can I use:
Isset($HTTP_COOKIE_VARS['nick'] or what should I use?
EJB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi I need to delay the jump of a page that uses header(location: ) to jump.
Ive tried adding a , after the file name (that's how we do it on html) but
it doesn't work
Any Ideas?
EJB
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
--
Hi I am wondering if any one can help me please:
I'm trying to validate a file when uploading it. I want only to accept .jpg
and .gif files so I'm trying to use.
If(($file_type = = " image/JPEG") || ($file_type = = "image/GIF"))
But it will not let through even the .jpg or .gif images.
I'm sure there has to be a way to verify which IP address is accessing
from. I need to establish a page where when I enter it records the IP
address I'm logging in from, to a database.
Problem is I can't seem a command in php that can assign that to a
variable, as in:
$ip=HTTP_GET_
ANY IDEA
Actually I'm just using it so a customer can acces a PWS that is
broadcasting on its own security cameras. I have a DSL that disconnects
every 8 hours, and gives dinamyc IP, so each time it connects it goes to
my site, and writes down the addres, so my customer can access the
report, and see what
I ran yesterday into a company that wants me to implement a solution
with PHP and File Maker. I don't even know if it is possible, so I was
wondering:
A) Does anyone has any experience with filemaker?
b) Can PHP save data from internet via ODBC to a database (other than
the ones it supports) in a
Hi does anyone knows if Crystal Reports works fine with PHP MySQL
Enviroment, or can anyones suggest me a good reporter for PHP MySQL
Site?
The Vampmaster.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I know my doubt is probable odd, but I would ask your help please.
I need a user to be able to select an image from a directory, from a
drop down box. For this I need to list all the images available on the
directory, hence, I have this code:
".$f."");
}
?>
.");
b
[EMAIL PROTECTED]
> Subject: Re: [PHP] Trying to list a directory content HELP PLEASE
>
>
> On Friday 07 June 2002 00:47, webmaster mbtradingco wrote:
> > I know my doubt is probable odd, but I would ask your help please.
> >
> > I need a user to be able to selec
Hello again,
I would like to know how can I download a html page from other server and
write it's contents in a file.
Thanking in advance,
Nuno Lopes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, maybe I'm doing something wrong but I can't figure out what. I have a little
script that is supposed to handle two variables from a session, so when a user logs in:
Session start()
$user = "user"
$pass = "pass"... redirects to another page.
Now on the index page it reads
Session start()
G
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?
An
gt; wrote in message
> news:[EMAIL PROTECTED]
> > See the putenv() function. For example to get the correct Eastern
Standard
> > Time
> >
> > http://www.php.net/putenv
> >
> > > putenv('TZ=US/Eastern');
> > echo 'Last modifie
"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]&g
"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 t
"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 th
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][/code]
However, there is other text in the same article, so I need to format the
code inside of the [code] and [/code] tags using htm
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 c
"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 PR
"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
ll prompt you for the
password, 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
"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 f
"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
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 ($st
"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";
>
> "
"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
"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.c
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 inside
"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
"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 "@
"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?
>
>
Hi Everyone,
I am having a little trouble getting a memory variable and a session variable to
compare correctly
I have an if statement as below:
if ($id=='{$SESSION["id"]}') {
echo "working";
}
ID is a memory variable that is equal to five, and the session variable id is also
equal to fi
Hello,
i need a mailing list manager in php, with which i can send html email and
store my subscribers in a mysql database
anyone knows where i can get one?
thanks, Christophe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
I’m trying to control the way a new window opens when submiting
a form.
When I do it from a regular button, I use:
rollbars=0,width=300,height=340,top=150,left=150');return
true">
and it works, it opens the new window, but I’m
not transferring any values in here.
What I wan
below the enviar, and see what I
need the submit button to do.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 20:43
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Since you'
access below the enviar, and see what I
need the submit button to do.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 20:43
Para: webmaster mbtradingco
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] Help please
Since
nt in the form,
then it opens the php procedure in the same window an works. If I add a
_blank target it also works, but the new window never works.
Thanks.
-Mensaje original-
De: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 16 de Febrero de 2002 21:51
Para: webm
Hi, I have a form, that I need to control the parameters in the _blank target
once it is submitted.
Everything works, fine except the client wants the
result of the poll in a popup window, and I am not able to control the parameters on the new window.
Can any one help me with this?
Hi:
I was wondering if it is posible to make in PHP a cron
job, that will trigger an event (i.e. send an e-mail) long after the process of
the data has taken place, like programming an e-mail to go out, on an specified
date.
My question is, since the script is run and triggered
by t
In html/css you can set a font size in pixels -- in my experience this
means a letter takes the same number of pixels, regardless of
resolution. With php, can I use string length and font pixel size to
determine the length of a given string on a screen? Does anyone know an
algorithm for this that
Hello,
I have problems compiling libiodbc-3.0.5
I have tried to compile being root and being a normal user and I get the same
error.
I execute
$ ./configure --prefix=/usr/local --exec-prefix=/usr/local
--with-iodbc-inidir=/etc --build=i686
and it works properly (I
Hello,
I have to connect one Solaris computer (Netscape Enterprise Server) with PHP to
another one with NT (database SQL Server).
I have to get data from the SQL Server database using PHP.
Is it possible?
How?
Thankyou.
Regards.
Félix García Renedo
mailto:[EMAIL PROTECTED]
mai
Hello,
I'm trying to install PHP 4.0.5 in a Solaris machine with web server Netscape
Enterprise Server.
I have problems with the file libphp4.so
conf_init: Error running init function load-modules: dlopen of
/opt/netscape/iplanet4/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: rel
You can make an "compiled file" with a program like zend optimiser etc...
because it pre-compile your script to increase the the rapidity and the
disponibility.
so look at www.zend.net
c you
Andrew Perevodchik wrote:
Has anyone done this to date?? I was thinking
of compiling my programs for
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 coupl
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
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
&g
Here is a snippet of the code that is being choked on. The first failure
comes from line 6:
The variables are being passed from an html form that calls this script
with the post method.
Jeff
At 12:06 PM 8/26/2004, John Holmes wrote:
From: "Jeff - HarborNet" <[EMAIL PROTECTED]>
Hello all. I jus
Another website dies on line 4 here:
$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 PROTECT
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 .= "
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 -
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
.
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
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
t
of bad HTML, something MS 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 c
Brent,
Declaring the DOCTYPE did it! I completely overlooked that. Thank you very
much for your help.
Jeff
At 06:40 AM 11/17/2004, Brent Baisley wrote:
For the record, this is NOT a PHP problem. I have no problem on my Mac
using Safari or FireFox, or even Camino .7. However, there is a problem
Try to remove all strings starting with "<" and ending with ">". Be sure
not to remove ""'s. Also you need to format line
endings via "\n" or "".
it might seem a little bit hard, but any other solution won't work
rather than this.
Tim Haynes wrote:
>Does anybody know of a class or a solution
Hello everybody,
I used to use IIS and now I moved to apache. I use PHP, too. But now, in
order to get a POST/GET var I need to use $HTTP_POST_VARS[var] and with IIS
I simply call $var.
Why this happens??? Do I need to modify all my scripts to $HTTP_POST_VARS???
Thanking in advance,
Nuno Lopes
Hello,
Why $HTTP_USER_AGENT don't work?? I can't get it's value, but in phpinfo the
value appears. why this???
Thanking in advance,
Nuno Lopes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I would like to know how can I compress the output of PHP through Zlib.
Thanking in advance,
Nuno Lopes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah that was it exactly what was wrong. Thank you!
*** REPLY SEPARATOR ***
On 13/01/2001 at 18:03 Sterling Hughes wrote:
>Toby Butzon wrote:
>>
>> This is a matter of figuring out why the variable isn't a
>> valid file handle resource. To do so, find where it should
>> be mad
Hey all,
New to the list. The only reason I joined was because searching the =
archive is a joke. Try to search for something using more than one word =
and you get it all. hehe.
Anyway, I tryed a search and didn't find anything on this so here goes.
I need to retrieve the version number fro
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:
---
From: "Jay 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 ($i
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 PRO
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!!
;)
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.
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: M
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 wa
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 functio
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
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: htt
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...
getMessage()); }
$results->query('select * from eternityrecords.journal');
if (PEAR::isError($results)) {
die($db->get
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
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
Hi
can anyone quickly run through how to use php to send the contents of a form
via e-mail using sendmail? How do you begin?
thanks
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Look Pared, basically, if you want to do that, is done in the program
portion of it through variables, that way every time it reads the data,
it calculates the output. If you do the math, and then save it to the
record, it might not be accurate at all times. I'm of course not an
expert, so I will
101 - 191 of 191 matches
Mail list logo