So,
I've testet all possible I found in my brain...
CGI or Apache module: same error
mysql_connect or mysql_pconnect: same error
Variing settings in php.ini: same error
How can I solve that problem?
BTW: Here I describe it again:
Connecting to a database works well: ok
Working with that database
Make flash send the form's variables to email.php. Contents of email.php:
This script will also tell your flash file whether the mail was successfully
sent or not, by outputting sent as 'true' or 'false'.
"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi =)
>
> Which version of the gd library comes with PHP?
>
> Thanks,
> -Ed
>
>
For *nix, it doesn't - you have to go get it yourself. For Windows, -
I'll leave that for someone else.
--
David Robley
Temporary Kiwi!
--
PHP Gener
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> All,
> I have just found out that the VB script that I have used to send email from
> my web site is null and void, apparently the server does not do VB or
> something along those lines (security) but that's not the issue. I have
> cont
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> So,
>
> I've testet all possible I found in my brain...
> CGI or Apache module: same error
> mysql_connect or mysql_pconnect: same error
> Variing settings in php.ini: same error
>
> How can I solve that problem?
> BTW: Here I describe
In article <013001c1aa20$d7db8d90$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> bleh, its not working
>
> I'll take another approach,
>
> If I use a count(*) query, it will return 1 record with a value, possibly 0.
>
> what command can I use to grab it from $result ?
>
If you are still get
It uploads it to: /home///php/
and renames it with the article ID number + the original name eg.
41button.gif
should that work??? It does!!! How would you suggest doing it??
in article [EMAIL PROTECTED], Jason Wong at
[EMAIL PROTECTED] wrote on 1/31/2002 3:00 AM:
> On Thur
If I understood you correct, you want to know the amount of the rows in
your table.
Here you go (Assuming ID is the field you use to ident your rows):
"...count(ID) AS CountValue..."
then treat CountValue as any field in a table.
Niklas
-Original Message-
From: Mason Batley [mailto:[
Dear all
I had open a webpage which design from my company's pervious staff!
This page is a input form, and when i look at the properity of the Form i
saw this:
form name="o_form" action="deposit_admin.php?save=yes" method="post"
What is the "?" mean in the Action part?
Thx
Jack
[EMAIL PROTECTE
> Dear all
> I had open a webpage which design from my company's pervious staff!
> This page is a input form, and when i look at the properity of the Form i
> saw this:
>
> form name="o_form" action="deposit_admin.php?save=yes" method="post"
>
> What is the "?" mean in the Action part?
>
after ?
Here's a recursive approach using strpos() and it's offset parameter.
bvr.
On Thu, 31 Jan 2002 00:03:23 -0800, hugh danaher wrote:
>Mike,
>Thanks for your input on this. I'm getting better at php, but it does take
>time.
>Thanks again,
>Hugh
>
>- Original Message -
>From: "Mike Fraz
From: "val petruchek" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:40 AM
Subject: Re: [PHP] What is ? Mean in the Action Box
> > Dear all
> > I had open a webpage which design from my company's pervious staff!
> > This page is a input form, and when i loo
You can create function on the fly using
'create_function' function
and you can call the same with 'call_user_func' function
$k = create_function('args','code')
call_user_func($k) OR eval("$k()")
On Wed, 30 Jan 2002, Mike Maltese wrote:
> eval()?
>
> - Original Message -
> From
Hello,
can someone test this code and send me results ?
http://www.php.net/";);
exit();
}
?>
?>
XXX
" method="post">
i want to know if apache fails (returns no response) or if it passed.
And then try please again but with this line in function: /
Well, I didn't get any replies so I'll try again...
Seems like there is an implementation of every other library for windows,
why is this one so elusive? I tried compiling once with Cygwin but gave up
out of frustration. Anyone have a source for this or have a compiled copy
they'd like to share
I've successfully installed the latest versions of both Apache and PHP on my XP
system with no problems.
Neil
Ben Clumeck wrote:
> I am trying to install Apache and PHP4.0 on WinXP. Does anyone know of any
> conflicts?
>
> Thanks, Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> T
Hello,
> Thanks all. I will rename the second function.
Now if have:
if($wat=="naam")$temp=make_naam($this);
else if($wat=="anderenaam")$temp=make_anderenaam($this);
//etc..
But i would prefer something like
$temp=make_$wat($this);
How can i do this?
Tnx,
Bas
--
PHP General Mailing List (
Does this work?
>>if(strlen($cust_adres = trim($cust_adres)) > 50){ /*code here*/ }
I mean that the new $cust_adres is trimmed when nessecary?
regards
Bart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Yep.
- Original Message -
From: "B. Verbeek" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 2:48 AM
Subject: [PHP] question reg trim-strlen
> Does this work?
>
> >>if(strlen($cust_adres = trim($cust_adres)) > 50){ /*code here*
I think it won't work.
If you don't want to trim the actual variable, but check if the trimmed
variable is longer than 50 chars, here you go:
if (strlen(trim($cust_adres)) > 50)
{
}
Niklas
-Original Message-
From: B. Verbeek [mailto:[EMAIL PROTECTED]]
Sent: 31. tammikuut
I've used PHPShop (the existing version, not the new core/commerce thing) to
do one site.
It's relatively easy to set up. I've had to do some modifications to it
(namely, to make it use Payflow link, which works via HTTP requests; and
adding dropdown menus on products to select color & airtime r
Hi,
The GIF enabled versions are not officially available anymore
for reasons stated on GD's website http://www.boutell.com/gd .
And even if you were able to get hold of a copy, compiling it against
the latest PHP is not that easy and may become harder in time.
Therefore it would be recommende
Hey Bas,
BV>But i would prefer something like
BV>$temp=make_$wat($this);
I think you might want something along these lines:
eval("make_$wat($this);");
HTH
-jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hoi Bas,
$func = "make_" . $wat;
$temp = $$func($this);
bvr.
On Thu, 31 Jan 2002 11:55:12 +0100, Bas Jobsen wrote:
>Hello,
>
>> Thanks all. I will rename the second function.
>
>Now if have:
>
>if($wat=="naam")$temp=make_naam($this);
>else if($wat=="anderenaam")$temp=make_anderenaam($this);
On Thu, 2002-01-31 at 02:55, Bas Jobsen wrote:
> Hello,
>
> > Thanks all. I will rename the second function.
>
> Now if have:
>
> if($wat=="naam")$temp=make_naam($this);
> else if($wat=="anderenaam")$temp=make_anderenaam($this);
> //etc..
>
> But i would prefer something like
> $temp=make_$wat
Zope mantains a lot of large sites. Also I know www.ig.com.br (second most
accessed site here in Brazil) uses Vignette.
In fact, ALL large sites has to use some kind of CMS, otherwise keeping
the large amount of content and related operations between sub-sections is
close to impossible.
--
Hello,
> $func = "make_" . $wat;
> $temp = $$func($this);
I think one $.
$func = "make_" . $wat;
$temp = $func($this);
will work
Bas
Op donderdag 31 januari 2002 12:17, schreef u:
> Hoi Bas,
>
> $func = "make_" . $wat;
>
> $temp = $$func($this);
>
> bvr.
>
> On Thu, 31 Jan 2002 11:55:12 +0100
All,
I remember a patch being committed to CVS a while back which auto-seeded
rand() if it hadn't been manually called already. Is this in PHP 4.1.1? If
so, does it also work for mt_rand()?
Thanks,
~ZG~
_
Get your FREE downlo
I was wondering about the cos fuction in PHP when I try to get cos of 90 degrees I'm
not getting 0 but some weird no. (i.e 6.28...E-17) is there anything I can do to get
zero as my answer.
P.S. I have converted my degrees to radians!
Mike.
Hi!
mysql_error returns nothing...
The error arrives while selecting the database via:
$link = mysql_connect("host","user","passwd");
mysql_select_db("bla", $link);
echo $link returns always '1'!
David Robley wrote:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>>So,
>>
Cause there is no exact representation of PI, you get a floatingpoint
representation of nearly zero.
Try:
echo intval(cos(0.5*pi()));
echo printf("%.1f",cos(0.5*pi()));
Op donderdag 31 januari 2002 13:39, schreef michael Rabbitte:
> I was wondering about the cos fuction in PHP when I try to get
Then why don't you just trim() it before comparing?
$var = trim($var);
Niklas
-Original Message-
From: B. Verbeek [mailto:[EMAIL PROTECTED]]
Sent: 31. tammikuuta 2002 13:33
To: [EMAIL PROTECTED]
Subject: RE: [PHP] question reg trim-strlen
I want to trim it then check and the new var
I have a PHP file that I show values of variables in several parts, and for
that I put in almost the whole page
echo"... HTML code + PHP codes (variables, functions, etc.) + HTML code...
";
I don't know nor why I put, I think it went to not to be finishing and
beginning PHP parts as:
HTML
Hi guys,
I just updated from 4.06 to 4.1.1. After getting PHP running again, and
importing the gdlibrary extension I did run my application.
It looks like there is no gdlibrary 2.0 support any more. I am getting this
errormsg:
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later
Can a
ok.. well an echo goes
echo "what u want to echo";
so u would do it this way
echo "html code.. making sure u dont use a " in any of ur html code";
php stuff
echo "$phpvariable & more html code.. if u want to use a " use a '
instead.";
more php stuff.
Neil
- Original Message -
From: Andr
Hello,
Just wondering if there is a way to print out parts of a text file (i.e from
line x to line y) using php, the way it is being done now is using eregi and
comparing strings, but it would be alot better if I could specify which
lines to print.
Thanks a million.
_
> ok.. well an echo goes
> echo "what u want to echo";
> so u would do it this way
>
> echo "html code.. making sure u dont use a " in any of ur html code";
> php stuff
> echo "$phpvariable & more html code.. if u want to use a " use a '
> instead.";
> more php stuff.
>
If u want to use " use \"
The following query displays 0 e-mails. Why?
Tbl con_inf holds 51 records w/ 51 usernames. Tbl scr_149 holds 37
records with 37 equivalent usernames of which 14 show date_done=0.
Thanks!
Anthony F. Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsub
You could do it like this:
";
};
?>
Niklas
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: 31. tammikuuta 2002 15:32
To: [EMAIL PROTECTED]
Subject: [PHP] using eregi
Hello,
Just wondering if there is a way to print out parts of a text file (i.e
from
line x to
Kusala Web Developments has announced the launch of Arcos, a rapid web development
architecture for the PHP community. Developers are invited to a demonstration day on
27
February in Sheffield, England.
Operating in a Linux environment, Arcos works by using an XML specification language
which
Personal, I think I expressed myself wrong, because it is like this that I
use, but the one that I want to know, if the echo" HTML code " it is much
slower than if I put the HTML code out of the PHP block.
Can these several echo's harm the processing of the server? Can that turn
slow the vis
Hi All,
Is any one is using JpGraphs to display graphs with PHP.
If so could you please help me?.
Here is what I have done.
1. Enabled extension php_gd.dll
2. Included jpgraph.php and jpgraph_line.php files.
3. Try to run the following code
$ydata = array ( 11,3,8,12,5,1,9,13,5,7);
$g
Doing it...
Thanks
-Oorspronkelijk bericht-
Van: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 31 januari 2002 13:53
Aan: [EMAIL PROTECTED]; Php-General
Onderwerp: RE: [PHP] question reg trim-strlen
Then why don't you just trim() it before comparing?
$var = trim($var);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello, just wondering if anyone here could recommend a good (free, if there
is a good one) PHP/mysql Hosting service. I'm willing to pay some, but not
more than 15 /month
Thanks
GPG Key located on:
http://www.keyserver.net/en/
-BEGIN PGP SIGN
Sukumar S. wrote:
> Dear Adam,
>
> Are you using 'realm' authentication setup?
Yes I am.. any ideas?
>>My Setup Specs
>>--
>>
>>PHP 4.1.1, MySQL 3.23.36, & Apache 1.3.19 with mod_auth_mysql on OpenBSD
>>3.0 (OS).
>>
>>Issue
>>-
>>
>>Scenerio: User provides user_id and pas
Aric,
I too have built a modular system, with my own template system, etc.,
although it's pretty basic.
I've worked on alone it enough to know that I'd prefer to benefit from a
community project :) but I've not found one that really works either.
For my next programming project I want to impleme
wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a PHP file that I show values of variables in several parts, and
for
> that I put in almost the whole page
>
> echo"... HTML code + PHP codes (variables, functions, etc.) + HTML code...
> ";
>
>
> I don't know nor why I put,
Hello, php-world!
I'm developing web-based file manager and need to call unlink(), copy(),
mkdir().
May be you've already guessed that i failed with them because of "Permission
denied".
How can i avoid this? Maybe using `command line` and logging in before
calling funcs.
I'm using php 4.1.0 on
Remove the MYSQL_ASSOC. I've never needed it for what you're doing:
while ($row_1=mysql_fetch_array($result_1))
-Original Message-
From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 7:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Plz help w/ query
The fol
Also I am using GD2.0.
Does any one know where I can get GD older version ( like GD1.6)?
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 9:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with JPGraph in PHP.
Hi All,
Is any one is u
I've been happy with phpwebhosting.com
At 09:36 AM 1/31/02 -0500, Mike Baranski wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Hello, just wondering if anyone here could recommend a good (free, if there
>is a good one) PHP/mysql Hosting service. I'm willing to pay some, but not
>mor
you just have to chmod the directory where you would copy
files to. try chmod 777. all users should have write permissions
now.
shann.
"Val Petruchek" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
001c01c1aa66$02b9ed50$[EMAIL PROTECTED]">news:001c01c1aa66$02b9ed50$[EMAIL PROTECTED]...
> Hello, ph
I'm trying to upgrade from php-4.0.6 to php-4.1.1 . Here are the steps I'm
taking.
1. Download php-4.1.1.tar.gz to /www/root
2. gunzip php-4.1.1.tar.gz
3. tar xvf php-4.1.1tar
4. /www/bin/apachectl stop
5. cd php-4.1.1
6. rm config.cache
7. ./configure --with-mysql=/usr/local/mysql --with-
Check out :
http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).
Sincere
I use http://www.nomonthlyfees.com, which provides 500 meg of disk and 5 gig
of bandwidth. It's $200 the first year, which includes domain
registration. It's $70 a year thereafter, which includes domain
re-registration. I subdivide the disk space; I have 5 domains that I point
to various subdi
Here's a great place to look.
http://hosts.php.net/
Ryan Sander
Web Developer
[EMAIL PROTECTED]
http://www.cantonrep.com
> --
> From: Boaz Yahav
> Sent: Thursday, January 31, 2002 10:07 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] PHP Hosti
1st
How to start a cookie/how to delete a cookie and how to change/retrive
information from it
2nd
How to start a session/how to delete a session and how to change/retrive
information from it
3rd
does php have application like asp??
4th
sessions, can they be accessed from an asp script
Hey,
I was wondering, if it would be possible to work on a "add on the fly"
approach for php modules like zlib, imap, gd etc. There are a lot of people
who dont compile these in there installation by default, which makes it very
difficult to work on programs which utilize these modules. Coz there
On Thursday 31 January 2002 23:02, Sander, Ryan wrote:
> I'm trying to upgrade from php-4.0.6 to php-4.1.1 . Here are the steps I'm
> taking.
>
> 1. Download php-4.1.1.tar.gz to /www/root
>
> 2. gunzip php-4.1.1.tar.gz
>
> 3. tar xvf php-4.1.1tar
>
> 4. /www/bin/apachectl stop
>
> 5. cd php-4.1.1
Hello to everyone
Problem :
A php form contains a listbox (named foolist) with n Items which can be
multiple selected and form posted to
results.php how can results.php determine which items were selected in order
to add all the items in a Mysql table ???
thanks in advance for any suggestion
> Hello to everyone
>
> Problem :
>
> A php form contains a listbox (named foolist) with n Items which can be
> multiple selected and form posted to
> results.php how can results.php determine which items were selected in
order
> to add all the items in a Mysql table ???
>
> thanks in advance f
I must be doing something wrong and I'm wondering if someone here can help
me figure out what it is. The goal is to add graphics support to my PHP
installation. The test is a web page with the imagecreate function. Right
now I receive Fatal Error: call to undefined function.
Here's technic
> -Original Message-
> From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 9:22 AM
> To: php-list
> Subject: [PHP] add on's to php
>
>
> I was wondering, if it would be possible to work on a "add on
> the fly" approach for php modules like zlib, imap,
Pafo wrote:
> 1st
> How to start a cookie/how to delete a cookie and how to change/retrive
> information from it
> http://www.php.net/manual/en/function.setcookie.php
>
>
> 2nd
> How to start a session/how to delete a session and how to change/retrive
> information from it
> http://w
You might try throwing together a quick phpinfo() page to see if it
matches what you're expecting. (Paying particular attention to the
configure string and build date that it reports.)
Once in a while, I get into a case where, even after I've done a fresh
configure and make/make install, I stil
You've got an interesting mix of PHP and HTML questions, and some reading
will be required.
At 01:56 AM 1/31/2002 +0100, Pafo wrote:
>1st
>How to start a cookie/how to delete a cookie and how to change/retrive
>information from it
Search Netscape's site for something like "developer cookie"
www.php.net/dl
:-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Kunal Jhunjhunwala" <[EMAIL PROTECTED]> wrote in message
008001c1aa6b$089d8c90$0301a8c0@C
hey,
this is perfect... thanks
Regards,
Kunal Jhunjhunwala
- Original Message -
From: "Mark Roedel" <[EMAIL PROTECTED]>
To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>; "php-list"
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 9:32 PM
Subject: RE: [PHP] add on's to php
> -Original
you can get a file on your site to be exec every x minuts with lynx
but i dont understand how it works, i have created a "cron.txt" file and
put it in the folder where i want my script to be executed... the content
of this file looks like this:
*/5 * * * * /usr/bin/lynx --dump http://localh
Kusala Web Developments has announced the launch of Arcos, a rapid web development
architecture for the PHP community. Developers are invited to a demonstration day on
27
February in Sheffield, England.
Operating in a Linux environment, Arcos works by using an XML specification language
which
man crontab
essentially you just need to load it into your crontab.
crontab /path/to/cron.txt
should do it.
-=-
What I do is keep a file in my home directory called crontab.txt
That's the file I edit.
When I add something to my crontab- I add it to that file.
Then I run
crontab ~/crontab.txt
Scott,
Did you ever get this solved? If not, let me know and I will help you.
Please reply both to my address and send a copy to the list.
Thanks,
Jason
"Scott" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> All,
> I have just found out that the VB script that I have used t
Hi Guys,
I want a php script which takes 4 parameters :
- header file
- body file
- footer file
- OUTPUT file
What it should do is combine 1. header, 2. body, and 3. footer and save it as 4.
OUTPUT file
How do i do that.
Any help with sampe code will be greatly appreciated
On Thu, 31 Jan 2002 22:28:59 +0530, you wrote:
> I want a php script which takes 4 parameters :
>
> - header file
> - body file
> - footer file
> - OUTPUT file
>
> What it should do is combine 1. header, 2. body, and 3. footer and save it as 4.
>OUTPUT file
Is
cat header body footer >
ok, i have reed the manual and i are having a hard time understanding it...
i tryed some examples with sessions but neither one of them did work
thats why i asked about sessions and cookies
cause in asp u use sessions like this,
Session("name") = "Steve"
or
Session("ANumber") = 12345
u d
[EMAIL PROTECTED] wrote:
> Kusala Web Developments has announced the launch of Arcos, a rapid web development
> architecture for the PHP community. Developers are invited to a demonstration day on
>27
> February in Sheffield, England.
>
> To attend the event please fill in the booking form
My site is in directory which is protected with .htaccess file.
I want to develope a logout function, which can reset Apache authorization.
What to do?
HTTP header...
unset $PHP_AUTH_USER ...
Any suggestions
Sorry for my English :)
Aras
--
PHP General Mailing List (http://www.php.net/)
To
What version of RedHat are your running?
You may want to install the image libraries manually via their
distributions. Not to say this will work but just a thought.
- Original Message -
From: "Ed Lazor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 11:0
Sessions are specific to the period when a specific browser is interacting
with the site. When that browser is closed the session disappears. The
values are stored on the server, and the session_id is used as a key to
maintain state (or persistence of variables) between requests.
I don't know
Okay figured it out. I'm an idiot, that was the problem.
I did "/usr/sbin/httpd stop" "/usr/sbin/httpd start"
I should have done "/etc/rc.d/init.d/httpd stop" "/etc/rc.d/init.d/httpd
start"
Realized my error when it worked after a reboot.
Mike
"Mike Frazer" <[EMAIL PROTECTED]> wrote in m
Sound like the perfect job for Output Buffering. I only recently
learned about these functions and they're great! There are four
functions you need to be aware of..
ob_start() Starts output buffering anything going out to the screen is
routed to the buffer.
ob_flush() Outputs the entire buffer.
Miles Thompson wrote:
>> 3rd
>> does php have application like asp??
>
>
> Well, PHP is essentially an application like asp in that it parses a
> script which normally has a .php extension and either executes commands
> embedded within it or echoes HTML. The output from a PHP script is
> str
what do I type to redirect or refresh a page after a sertain time? :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
http://www.newpage.com";>
where 10 specifies you want to refresh in 10 seconds
-Original Message-
From: Hawk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] autorefresh/redirect ?
what do I type to redirect or refresh a page afte
I noticed a similar thing so I started performance logs on all php scripts.
I found that the same User (IP/User Agent) could request a file and it would usually
run around .01 seconds. Every once in a while though it would jump to 30+ seconds.
Not a server load issue because it sometimes happe
All,
I'm building a tool that takes form input and sends out an html email with a
word doc attached.
It sends the text and html version of the email but I can't open the
attachment. It opens blank.
Anyone have a thought or two about this?
if ($attachment) {
$fp = fopen($attachm
Hey guys,
Zend encoded files on a linux machine dont seem to work on a windows
machine. Any ideas why? I have tried uploading the files in binary and ascii
mode.. .and the optimizer is also loaded successfullly... the encoded files
work on linux.. but not windows... any ideas why? is there any one
Hi,
I am using (getting to grips with) regular expressions for validating
form data and have come across a little problem:
I have a statement like the following:
if (eregi("^[a-z0-9]{strlen($name)}$, $name))
{
blah...
return true;
}
, but the strlen($name) does not see
Are you accessing this script via SSL? I experienced a similar problem
where users would intermittently receive page not found error message with
IE while browsing the site via https. The following FAQ fixed the problem.
If you are not using SSL this will have nothing to do with your problem,
t
Shannon,
I appreciate your help!
The following are the form fields I have created in Flash and their variable
names, I need to be able to receive an email from the website using php.
FIELD = VARIABLE NAME
name = txtname
email = txtemail
message = txtmessage
the email address it needs to be sen
I need to generate a random number (range is not crucial) and I have been
trying to use mt_rand(). However, I am finding that is generates the same
value EVERY time. This is true whether I supple a range or not. For
example, the follow line of code generated 13 EVERY time...
$result = mt_rand(
I'd imagine it's because windows zend has to compile them in a slightly
different manner.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 12:41 PM
To: php-list
Subject: [
On Thu, 31 Jan 2002, Benjamin deRuyter wrote:
> I need to generate a random number (range is not crucial) and I have been
> trying to use mt_rand(). However, I am finding that is generates the same
> value EVERY time. This is true whether I supple a range or not. For
> example, the follow line
Did you remember to seed it?
See http://www.php.net/manual/en/function.mt-srand.php for info on how
to seed it.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Benjamin deRuyter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:02 PM
T
Just a quick question: the v2.4.x function declaration for several mcrypt
functions requires a path to the library (at least thats what I have
gathered), whereas previous versions didn't require this. Are they looking
for a specific file path, or a general path to the library files?
Mike Frazer
You need to send the headers to tell the browser what kind of data
you're sending. Try something like this:
header("Content-type: image/png");
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Thursda
mail("[EMAIL PROTECTED]","Subject line",$message,"From: $txtname
<$email>");
-Original Message-
From: Scott's Mail [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 2:00 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Need Urgent Help!!
Shannon,
I appreciate
is anyone out there familiar with COM built into Php?
This is my code:
$sheet = Range("B6:B9")->Select;
$sheet->Selection->Borders(xlEdgeBottom);
$sheet->Selection->LineStyle = 9; //xlContinuous
$sheet->Selection->Weight = 2; //xlThin
I get an error everytime I use the Range method and some othe
On Monday, January 28, 2002, at 10:41 AM, Simos Varelakis wrote:
> A php form contains a listbox (named foolist) with n Items which can
> be
> multiple selected and form posted to
> results.php how can results.php determine which items were selected in
> order
> to add all the items in a My
try: if (eregi("^[a-zA-Z0-9]*$", $name))
This searches for [a-zA-Z0-9] between start and end of line with no other
intervening characters
-Original Message-
From: Lee P Reilly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:45 PM
To: PHP List
Subject: [PHP] newbie: regula
1 - 100 of 191 matches
Mail list logo