Isnt it ?
$yesterday = date("Y-m-d",mktime(0,0,0,date("m") ,date("d")-1,date("Y")));
Mohamed~
- Original Message -
From: "Chuck Barnett" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 11:10 PM
Subject: [PHP] today and yesterday (finding
Hello,
I'm trying to build the first page to a database driven website. The first
thing I'm trying to do is detect if cookies are enabled on the users
browser, and then, via a header(location: mysite.php), redirect the user to
either a cookie supported page, or cookie unsupported page. I will
Hi Mark!
On Wed, 31 Jan 2001, Mark Green wrote:
> How about this:
>
> session_start();
> session_register($funky_session_var);
> $funky_session_var ++;
> print $funky_session_var;
the order doesn't matter (as it did in PHPLib sessions).
If it doesn't work I guess it's because you have regis
Hi Karl!
On Tue, 30 Jan 2001, Karl J. Stubsjoen wrote:
> Hello,
>
> We have succesfully installed the IBM DB2 RDMS on our Linux box and have
> successfully made a connection to our AS400. All through command line
> though.
> I am new to PHP, and am wondering:
> How do I instantiate the IBM DB2
Hi,
I am running PHP 4.0.4pl1 on a windows box as a CGI.
Why can't I access files on the network via a windows share?
ie
\\nt4server\wwwroot\thisfile.phtml
It used to work on other systems I have used PHP on.
It seems that PHP now only accepts files references like this.
d:\wwwroot\thisfile.phtml
Alright ... the last review ('cause I never like what I write ... )
here:
function naughty_words($text) {
$query="select naughty_words from prude_list";
$result=mysql_query($query);
while ($loop=mysql_fetch_array($result)) {
if(stristr("$text","$loop[naughty_words]")) {
Actually your function does header() on each loop ...
This is correct ..
$query="select naughty_words from prude_list";
$result=mysql_query($query);
while ($loop=mysql_fetch_array($result)) {
if(stristr("$block_of_text","$loop[naughty_words]")) {
$Gotcha = 1;
Will work well, I think ... plus this is on submission which makes a little
discount on load times. And it is quite expandable function.
Cheers,
Maxim Maletsky
-Original Message-
From: Chris Aitken [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 2:04 PM
To: [EMAIL PROTECTE
What do you mean by 'Not always right' ?
If it wouldn't be right your server would be crashing every 0.001
seconds ... anyway ...
If this is locally, and all you need to know is if there a page called
foo.html on the same server from where you are trying to check you can then
use file_exist
Michael Hall wrote:
> , you
> have session variables or writing information a database or
> file.
Hi Michael,
I have set up a couple test pages using session variable like
this:
---
Your products have been registered";
}
?>
RA772
RA40 Series
hi all,
does mysql support this?
select * from tablename where id in (select id from table2 where cond)
thanks
--
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
Why on the earth would you do that?
It always happens to me associate images with my databases but I never
actually insert them in. I just *copy* these graphics to somewhere on my
server (or often even on in a webroot) and give them a logic name.
So then when you need to call a graphic you do ( i
steinm Tue Jan 30 22:13:08 2001 EDT
Modified files:
/php4 NEWS
Log:
- note about change of pdf api
Index: php4/NEWS
diff -u php4/NEWS:1.573 php4/NEWS:1.574
--- php4/NEWS:1.573 Tue Jan 30 18:09:11 2001
+++ php4/NEWS Tue Jan 30 22:13:08 2001
@@ -2
hi i am a newbie
and i was wondering how can i check the link if it exists
i tried file_exists but it is not laways right
thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Hi all. I was wondering, can a reference be a function as well? Reason is, I've got to
do a little manipulating. I want to do a
$tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this->dataToBeParsed);
where I want \\1 to be fed into urlencode() I was thinking somewhere along th
I am playing with PHP as a shell scripting tool and trying to use it for
CGI programming that way. This may seem kinda pointless, seeing that PHP
is _way_ more efficient when being used as an Apache module. However I
need to pass stuff from a database query to another CGI program which
is designed
Let me start by saying "Can of Worms!"
At 20:07 30/01/2001 -0800, Joe Stump wrote:
>BUT you can't do this:
>
> function foo($var=date("Y-m-d"))
> {
>
>
> }
>
>Why? This would be a kick ass little trick!
The question is: when do you resolves something like this?
Is it at "compile time" or
HI!
I am using PHP in mySQL. I create table in database and insert
'binary'(*.gif).
But I do not know how to use this binary using PHP and show website. Please
help me.
$)create table xxx (col longlob);
$)insert into xxx values("image\yyy.gif");
I want to display :yyy.gif in html
Th
Hi all,
Ive just been asked whether I can do the following task.
When a block of text is submitted via a web form, for it to be checked for
offensive words, and rejected if there is.
So I put my brain hard to work and came up with a possibly solution. I know
this method should work but im
pulling it out of my ass, but try:
$today = getdate(time()-(60*60*24))
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Chuck Barnett" <[EMAI
Any comments of Zend Encoder Unlimited product.
http://www.zend.com/store/products/zend-encoder.php
Can we do something like Zend Encoder Unlimited by ourselves? Any idea?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Try checking out this hot link. It has quite a bit on sliding dates:
http://www.php.net/manual/en/function.getdate.php
- Original Message -
From: Chuck Barnett <[EMAIL PROTECTED]>
To: PHP General List <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 8:10 PM
Subject: [PHP] today and
> $today = getdate();
> $mon = $today[mon];
> $mday = $today[mday];
> $year = $today[year];
> $text=sprintf("%s-%s-%s", $year, $mon, $mday);
> $date=$text;
>
> This code gets me today in the form -00-00
>
> What do I need to do to get yesterday in that form?
$today = Date("U");
$yesterd
Hia Chip,
If I were you (but I'm not, thankfully for both of us), I would use a
multiple select, and, maybe sessions. I think sessions are better/easier
than hidden fields, but only in php4. Multiple selects are nice. They come
back as an array, which is pretty easy to deal with by using a loo
$today = getdate();
$mon = $today[mon];
$mday = $today[mday];
$year = $today[year];
$text=sprintf("%s-%s-%s", $year, $mon, $mday);
$date=$text;
This code gets me today in the form -00-00
What do I need to do to get yesterday in that form?
Thanks,
Chuck
--
PHP General Mailing List (http:/
> BUT you can't do this:
>
> function foo($var=date("Y-m-d"))
> {
>
>
> }
But, you can do
function foo($var='defaultvaluethatwillneverhappen')
{
if ($var == 'defaultvaluethatwillneverhappen')
{ $var = date("Y-m-d"); }
}
> Why? This would be a kick ass little trick!
Mmmm, well ...
[EMAIL PROTECTED] wrote:
> Hi,
>
> I know this has been asked before but I can`t seem to get the archive email
> thingy to work, basically I`m looking for a free or cheap editor that has the
> lines numbered so that it`s a bit easier for me to debug my scripts.
You don't mention w
> You can override (and yet still have access to) inherited
> class methods in subclasses. Have you looked at applicability
> of OOP in your implementation?
Unfortunately, I'm pretty much an old-school programmer, I just
can't wrap my brain around OOP and don't have the time to stop
and learn :
in php to have a "optional" parameter in a function you can do:
function foo($var='')
{
}
To have it be default to 'bar' you can do:
function foo($var='bar')
{
}
BUT you can't do this:
function foo($var=date("Y-m-d"))
{
}
Why? This would be a kick ass little trick!
-
On Wed, 31 Jan 2001 14:26, Chip wrote:
> I am trying to build a multi-part form and am
> using the example from the book Beginning PHP4
> by Choi, Kent, Lea, et al. in chapter 8.
> Here's what I want to do -
> form_page1 - 10 input fields size=3
> then onwards to
> form_page2 - 5 input fields size
One way to do this is to include information in hidden form fields that
pass information along from page to page. If this is too unwieldy, you
have session variables or writing information a database or file.
Mick
On Tue, 30 Jan 2001, Chip wrote:
> I am trying to build a multi-part form and am
I need help loading Oracle libraries.
The environment:
Windows NT 4.0 SP6
IIS4
PHP 4.0.5
I have upgraded from PHP 4. something, in order to add the ability to
access Oracle, and got it working fine with MySql as it did before I
touched it.
I have enabled the osi8.dll extension and on any call to
I don't know of a way to override a function. Functions declarations, because
they reside in the global namespace, should be unique.
You can override (and yet still have access to) inherited class methods in
subclasses. Have you looked at applicability of OOP in your implementation?
John
On W
One way to handle this is to put your password (along with any other
database details)
into a config file (eg. yoursite.cfg) and include/require this file in
your script. The config file can then be stored outside the web tree,
and referred to with an absolute path.
Mick
On Tue, 30 Jan 2001, Eg
I am trying to build a multi-part form and am
using the example from the book Beginning PHP4
by Choi, Kent, Lea, et al. in chapter 8.
Here's what I want to do -
form_page1 - 10 input fields size=3
then onwards to
form_page2 - 5 input fields size=3
then onwards to
form_page3 - 5 input fields size=
Hi folks,
Is there a way to override a declared function?
For example, if my site is running under a specific theme, I want function
X to work in a slightly different way to normal. The theme will include a
specific functions.<>.php file, which includes various function
definitions and other co
"kaab kaoutar" <[EMAIL PROTECTED]> wrote ...
> Hi tried it !
> and get the icon by email and add the following :
> http://www.idnetdor.com/favicon.ico">
> but it still does not work !?
Delete all existing favorites for that site (not just the page; all pages on
the site), clear your browser cache
On Wed, 31 Jan 2001 01:55, Robert wrote:
> > variables passed from form =
> part=68030&quan=500&I=x&part=68040&quan=350&I=x&sid=6754g543a76 I am
> sending several part numbers from the form, but when parsed it only gives
> me the last one How do I get it to return all of the parts? I'm a PHP
> ne
variables passed from form =
part=68030&quan=500&I=x&part=68040&quan=350&I=x&sid=6754g543a76
I am sending several part numbers from the form, but when parsed it only gives me the
last one
How do I get it to return all of the parts? I'm a PHP newbie, only been programming
for 2 weeks...
-
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are no
On 29 Jan 2001 13:38:20 -0800, kaab kaoutar <[EMAIL PROTECTED]> wrote:
>What's best ? using client script while validating form inputs(javasript or
>vbscript) or using php for validating!
The only acceptable approaches must be server side - otherwise you've just
decided that security and reliabi
if you just want to know how many numbers are in it you can do this:
$num_of_numbers = sizeof(explode(';',$string));
--Joe
On Tue, Jan 30, 2001 at 04:46:50PM -0800, Jon Jacob wrote:
> Kevin Connolly wrote:
> >
> > Hi,
> > I am quite new to PHP scripts and I have run into a little problem with
Here's my input:
Get Xitami for Windows. You can not do any version of IIS on win98. Xitami
is VERY easy to configure. Then you of course will need PHP.
First, install Xitami, then PHP. The PHP installer will ask you what type
of
web server you run and configure PHP and the web server for
I have PHP loaded as ISAPI, not CGI. I originally had PHP installed as cgi.
When I have a script that authenticates a user, it never authorizes them. I have set
the permissions in IIS to only allow Anonymous access. The other two options are
disabled. I have tried all the different security opt
Richard Lynch wrote:
>
> > Anyway, I have the sendmail path set (/usr/sbin/sendmail -t -i), but
> > something isn't working right.
>
> Do you have quotes around that "/usr/sbin/sendmail -t -i" ? You need quotes
> in php.ini there, or it ignores the -t -i part cuz it's after a space.
I didn't
It's nearly impossible to validate an e-mail address as completely valid.
The example given by Mr. Clark is very in-depth and well done. If you are
looking for something a little simpler here's a snippet of code that checks
to see if the format of the email address is valid meaning it contains x
> When I configure php4, is it possible to say it to look for the php.ini in
> /etc/php4?
>
> Which argument should I append to ./configure --?=/etc/php4
http://php.net/manual/en/install.configure.php
--with-config-file-path
This is one of the few things on that page that is *not* just a circul
>I'm exploring sessions in PHP4 as I build a new site, and I have decided to
rely on them more heavily than in the past.
>
>Basically, I'd like to set things up so that when someone logs into the
site, all of their accounts variables are queried from a >database and
loaded into session variables (
>But I can't fetch the extension, since php copies the file to
c:\windows\temp and calles the file something like phpdfdfe.tmp --> I cant
get the extension right (i'm writing it to a db) and the copy() outputs
permission denied!
If your filename variable is $foo, then $foo_name will have the orig
> under /tmp but the session is still alive in the browser so the cookies
are
> the problem.
Try doing SetCookie(SESS_ID, ''); as well.
Or whatever that variable is that has the session id in it.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: ht
> $nameArray = array("Last", "Suffix", "Prefix", "First", "Middle");
> while (list($key, $value) = each ($nameArray)){
> if ($infoObject->$value != ""){
> echo "$infoObject->$value";#this is the problem line...
> }
> }
>
>
> If I take out the "$infoObject->" on th
> void function(integer);
>
> What does the void mean? And how would I use the function? I just get a
> parse error when I use the function with the "void" in it and the "called
to
> undefined function" (even with an integer) when I omit the "void."
The word in that location in the documentatio
> i code a streaming chat in PHP4. Everithing works fine, it is very fast
due
> to use of shared memory. But i have this problem: Every time i start the
> script a new httpd-process is started (Apache 1.3.12). So far so good. But
> the process doesn't get killed when aborting or reloading the scri
When using Cookies for session management everything works fine (the
authentication part). But not passing the values of the session variables.
In the example below the existence of '$ident' is verified. But no chance to
get its value: no 'echo' prints out anything! Even isset() denies the
existen
yes, I was echoing :) dumb me
- Original Message -
From: "David Harrison" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 8:33 PM
Subject: RE: [PHP] OT probably- Resource id# shows up in select box.
> Probably printing the result of a DB
Sorry to reply to my own question...
This only happens in Netscape. 4
chuck
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'Chuck Barnett'" <[EMAIL PROTECTED]>; "PHP General List"
<[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 8:31 PM
Subject: RE: [PHP] OT probab
In article <059301c08981$7859a020$[EMAIL PROTECTED]>, "Remco
Chang" <[EMAIL PROTECTED]> wrote:
You need to find the ASCII codes for these characters and
include them in the range of acceptable chars in the ereg.
something like:
[\xc0-\xff]
where this represents a range of ASCII codes in octal
Probably printing the result of a DB call somewhere accidentally.
ie:
$dbh = mysql_connect($host,$user,$pass));
echo $dbh;
would do that.
--dave
> -Original Message-
> From: Chuck Barnett [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 31 January 2001 12:34 PM
> To: PHP General Li
> Pardon for the OT but what would cause "Resource id #"x to
> show up in my select box from a select box populated from a database?
You're probably echo()'ing your database connection resource, instead
of the actual value you've pulled from the database.
Jason
--
PHP General Mailing List (ht
I found a list of some of the Oracle Functions at the main PHP site. Is
this all there is?
--
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]
Pardon for the OT but what would cause "Resource id #"x to show up in my
select box from a select box populated from a database?
Thanks,
Chuck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
How about this:
session_start();
session_register($funky_session_var);
$funky_session_var ++;
print $funky_session_var;
Cheers,
^^@rk
Peter Van Dijck wrote:
>
> Hi,
> help: shouldn't this increase the number every time you reload the page?
>
> session_start();
> $funky_session_var ++;
>
Our ldap servers use K4 credentials to bind against the server.
We're interested in developing a new web based ldap client, but it doesn't
appear that PHP's ldap implementation actually supports kerberos.
If I'm wrong, is it documented someplace?
Has someone done this before?
Liam Hoekenga
UM W
$somefile
$somefile_name
$somefile_type
nice eh ?
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message
009d01c08adb$b67d26a0$accd4382@hp">news:009d01c08adb$b67d26a0$accd4382@hp...
Hi!
I have a form that copies a file trough a
Hi,
help: shouldn't this increase the number every time you reload the page?
session_start();
$funky_session_var ++;
session_register($funky_session_var);
print $funky_session_var;
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
So sprach Daniel Grace am Thu, Jan 25, 2001 at 07:18:52PM -0800:
> readfile($filename);
Why not include?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die
At 08.02 + 01-01-30, Philip Olson poked the keyboard as follows:
>http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=editor
>
>
>mac
>- bbedit
On the Mac there is also a wonderful new editor just ported over from
BeOS called Pepper. It's really elegant, and incredibly customizable.
I
ssb Tue Jan 30 17:27:11 2001 EDT
Modified files:
/php4/pear PEAR.php.in
Log:
whitespace
Index: php4/pear/PEAR.php.in
diff -u php4/pear/PEAR.php.in:1.12 php4/pear/PEAR.php.in:1.13
--- php4/pear/PEAR.php.in:1.12 Mon Jan 29 16:55:27 2001
+++ php4/pear/PE
Is anyone else having this problem? phpMyAdmin running under RedHat 6.1
with PHP v4.0.4pl1 makes all kinds of noise about missing tables in the
database. It appears as though this may be caused by bug 8966.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
You can check the mime type of the uploaded file.
First upload the file, as usual. Then check the mime type before copying
from the temp directory to the files directory.
If this is your form:
>
File:
Then on submission, $userfile will be your file, $userfile_name will
automatically
No it is not, but you can use it for as long as you wish in unregistered
mode.
Cheers,
Maxim Maletsky
-Original Message-
From: Christian Sakshaug [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 8:47 PM
To: Maxim Maletsky
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Editor
>Edit
Hi Kevin,
First thought that comes to mind is explode() so something like :
I assume that would work. That explodes it into an array then counts it,
check out :
http://www.php.net/manual/en/function.explode.php
It's a really fun function to play with.
Regards,
Philip Olson
http://
On Wed, 31 Jan 2001 04:35, Steve Haemelinck wrote:
> When I configure php4, is it possible to say it to look for the php.ini
> in /etc/php4?
>
> Which argument should I append to ./configure --?=/etc/php4
>
> Steve THX
./configure --help |less will give you lots of info, including
--with-config-
It's close, but it won't ALWAYS tell you if in email is "deliverable".
Many configurations (some I've used in the past) *accept* mail for any
address,
and only later, if the delivery mechanism can't/won't deliver it locally,
will it
get bounced back as 'undeliverable'.
But in *some* cases, classe
Hello,
Is there a way to only let images get upload while doing a simple file
upload form?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
---
elixer Tue Jan 30 17:14:55 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Fixed conditional.
# Woops!
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.64 php4/ext/mysql/php_mysql.c:1.65
--- php4/ext/mysql/php_mysql.c:1
When I configure php4, is it possible to say it to look for the php.ini in
/etc/php4?
Which argument should I append to ./configure --?=/etc/php4
Steve THX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
You can find some info here...
http://php.net/manual/en/install-windows95-nt.php
And more here...
http://php.weblogs.com/easywindows
First requirement is to have a web server (Xitami, Apache, Personal
Webserver) on your Win98 box.
Then you can run one of the installers found on one of the above
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 3:46 PM
> To: PHP User Group
> Subject: [PHP] Making sure a variable doesn't contain a comma
>
>
> Does anyone know how I can check a variable for a comma and
> remove it if it does
http://www.phpbuilder.com/columns/perugini20001026.php3
http://www.phpbuilder.com/columns/uwe20001116.php3
http://php.net/manual/en/ref.pdf.php
-Ben
-Original Message-
From: Conover, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 6:31 AM
To: [EMAIL PROTECTED]
Subject:
> On Tuesday kaab kaoutar wrote:
> > how can i add Bcc Cc and others to my email?
> > i use
> > $headers="Bcc:[EMAIL PROTECTED]\nCc:[EMAIL PROTECTED]";
> > mail($email,$subject,$body,$headers))
> > but i receive it only once ?
>
> I guess your mail server is simply too intelligent - it recogniz
Has anyone used PHP to query a Radius server? Any info would greatly be
appreciated.
Thanks,
--
Brent Edwards
--
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-m
Has anyone used PHP to query a Radius server? Any info would greatly be
appreciated.
Thanks,
--
Brent Edwards
--
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-m
I'm exploring sessions in PHP4 as I build a new site, and I have decided to rely on
them more heavily than in the past.
Basically, I'd like to set things up so that when someone logs into the site, all of
their accounts variables are queried from a database and loaded into session variables
(w
elixer Tue Jan 30 16:55:29 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Fix for bug #8991. mysql_field_type() now returns "year" for columns of
type YEAR.
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.63 php4/ext
> [snip]
> >There is an ISAPI module.
> [snip]
>
> yes, which is more than unstable as I found... Using a good
> machine (2xXeon
> 550, 512 MB, NT4/SP6a/IIS4) it constantly crashed being a filter, and
> crashed being
Hi!
I have a form that copies a file trough a webpage...
(using copy())
But I can't fetch the extension, since php copies the file to c:\windows\temp and
calles the file something like phpdfdfe.tmp --> I cant get the extension right (i'm
writing it to a db) and the copy() outputs permission de
Hi !!
I'm working with php 4.0.4pl1 under windows NT, and I really need big help
here.
I can't delete, kill, erase the session after the user end shopping.
I try session_unset, session_destroy and
header ("Expires: Fri,09 Sep 1966 06:09:06 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i
Hi,
I work with Winows98 , and I want to make my system
a really server.I have two questions :
1}What component I should install on my system to
make it a really server ? IIS3 ? or IIS4 ?
2)Where can I get this component (IIS3 or IIS4
for Windows98) ?
Thanks a lot
Atieh
On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote:
> I know this has been asked before but I can`t seem to get the archive
> email thingy to work, basically I`m looking for a free or cheap editor
> that has the lines numbered so that it`s a bit easier for me to debug
> my scripts.
If you're on windows
I was wondering if anyone has any good places to answer questions pertaining
to PDF and PHP.
Ryan
--
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 PRO
Kevin Connolly wrote:
>
> Hi,
> I am quite new to PHP scripts and I have run into a little problem with my string!
> I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any
>6 numbers between 1 and 42).
> Is there an easy way that I can find out how many numbers ther
Hello,
I'm performing a readfile, and am expecting that if the file isn't found and
error will return unless you add the @ symbol before the readfile function
as in:
$retrn = @readfile ($FileName);
My page only errors, and doesn't return false. I don't want my page to
error, I would like to di
Can't seem to update ...
- Colin
--
PHP CVS 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]
Does anyone know where to obtain instructions on how to upgrade to PHP
4.04pl1? Has anyone done this yet? What kind of problems did you run into?
hai,
i am facing problem. i clearly mentioned in the attached file.
please reply i a held up.
regards,
_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
dear richard,
[EMAIL PROTECTED]
i am
Does anyone know how I can check a variable for a comma and remove it if it
does have one?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
At 11.08 -0800 01-01-29, Eugene Yi (InfoSpace Inc) poked the keyboard
as follows:
>I set up a cookie using the following command and it works fine under IE but
>not in Netscape. Am I doing something wrong?
>
>setcookie("mycookie[1]",$domain,"","/","mydomain.com");
>
>Please help me. Thanks much
> I've just downloaded and started playing aorund with echo($subject); ?> ;-)
>
> Looks great! Only one problem though:
>
> I'd like to be able to use the included smtp-class for
> delivering serveral
> messages through the same smtp-connection before closing it
> and I'm too
> stupid to fi
Hello Paul,
(P == "Paul") [EMAIL PROTECTED] discovered:
P> During the course of a cronjob scheduled script, I need to execute an
P> external program which connects to another server using an
P> implementation of eftp (sort of ftp for ISDN). The eftp program returns
P> no success/error codes, i
1 - 100 of 192 matches
Mail list logo