Well, I think you are right. Take a look at this graph of the number of
messages posted starting in 1998. The stackoverflow.org effect?
messages -
https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE
Erwin
2012/7/4 RGraph.net support
> Hi,
>
> Is
Or you could use a regular expression:
$probe = '2000-01-01';
$found = preg_match('/(19|20)\d\d[- \.](0[1-9]|1[012])[-
\.](0[1-9]|[12][0-9]|3[01])/', $probe);
var_dump($found==1);
Erwin
2012/7/3 shiplu
> >
> >
> > I want to thank you, Daniel,
Interesting problem. I would expect it to work too. I assume it is a bug.
2012/7/2 Nick Chalk
> Afternoon all.
>
> I seem to be having a little trouble with extending the
> SimpleXMLElement class. I would like to add a destructor to the
> subclass, but am finding that it is not called.
>
> Atta
Bogdan Stancescu wrote:
You probably mis-typed something:
[EMAIL PROTECTED] ~]$ php
Content-type: text/html
X-Powered-By: PHP/4.3.11
is 0
Tried that, but notice the PHP Version, it is failing in PHP 4.1.2!
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
in the first sample, inf in the second sample.
The used PHP version is PHP 4.1.2 (CLI version)
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pete M wrote:
The pattern
$pattern = 'font\-size:.*?\;';
throwns the error
eregi_replace(): REG_BADRPT
Well, this should work (tested and all )
$pattern="|font\-size:.*?;|si";
$txt = preg_replace( $patter
nt-family:*\;';
$txt = eregi_replace($replace,'',$txt);
What I'm trying to do is match the font-size: and replace everything up
to the ; with '' ie nothing
dont work
Feel I'm so close ;-(
tia
Pete
Try this:
$pattern = 'font\-size:.*?\;';
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
somethinglike:
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
guess you're trying to get some data from the server after the page
load (problably by javascript), so this might be of help:
http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I've seen a script somewhere which accepts a crontab file for input, and
then displays all jobs in a calendar-like screen. However, I forgot the
name. Searching Google didn't help me either.
Does anyone know the name (and if possible, an url) of this script?
Thanks in adva
#x27;s job list after a job in the current
list is completed. Therefore, the CRON daemon won't notice the
"every-minute" job until 3.01 pm.
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but to get there you also need to turn off JS)
Seems to be solved...
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
while(!feof($fp)) {
$res .= fgets($fp, 128);
}
fclose($fp);
return $res;
}
Check your function carefully. Where are you using the $name of the value?
Nowhere! Therefore the receiving script cannot identify the value as x.
Try: fputs($fp, "$n
://%{HTTP_HOST}:81$1.php
Erwin Kerk
Webdeveloper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Shiflett wrote:
It loses all new data:
Because of this:
$_POST = unserialize(stripslashes($_POST['post']));
I think array_merge will fix this:
$_POST = array_merge($_POST,unserialize(stripslashes($_POST['post'])));
Erwin Kerk
Web Developer
--
PHP Genera
tiple windows (or frames) and sessions, is that
they wait for each other to close (not destrow, close) the session.
See http://www.php.net/manual/en/function.session-write-close.php for
more information.
Godd luck with this one.
Erwin Kerk
Web Developer
-BEGIN PGP SIGNATURE-
Version:
t; where oorder='".$o."' and
nname='".$n."' and total=$p
without the single quotes around $p
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Clark wrote:
&p=4.78
I wonder if a dot is a valid character for a URL adderss?
Yup. Just tried it, it works.
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Photos - easier uploading and sharing.
http://photos.yahoo.com/
I use HTML-kit all the time. Has a built-in ftp client, lots of plugins
available, in-program previews (via local webserver), and much more.
http://www.htmlkit.com
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
Colin Eldridge wrote:
> Question: Is there a simple way for PHP to identify which host a
form > has come from?
Do the hosts have fixed ip's?
If Yes, you could use $_SERVER["REMOTE_ADDR"] do identify them...
Erwin Kerk
Web Developer
E: [EMAIL PROTECTED]
W: www.blixem.nl
-
have you tried:
so = window.open('',''); ??
Erwin Kerk
Web Developer
Rich Fox wrote:
I have a page with the following code:
<!--
so = window.open('','CompanyEdit');
so.location.reload();
window.close();
// -->
I have 'CompanyEdit
This should work:
https://url_locaion.org/prev_page.php?SID=$SID&uid=$uid&ELEM_ID=$id#tag
Erwin
Susan Ator wrote:
I am passing 3 pieces of information on every URL. For example:
https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id
I need to be able to return to
similar.
check: http://www.php.net/manual/en/features.file-upload.put-method.php
Maybe something is similar is possible for POST, and for GET your could
use a rewrite rule in the httpd.conf file
Erwin Kerk
Web Architect
--
____
| __|_ ___ __ _(_)_ _
| _|| '_\ V V / | ' \
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo "The string ($str) is bogus";
} else {
echo "$str == ". date('l dS of F Y h:i:s A',$timestamp);
}
Erwin Kerk
Web Developer @ BliXem.nl
Jason Wo
> I'll let you know what turns up (of course, the problem will stop
> occurring once I add this info :-).
As it always does ;-))
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s requesting some more information?
> I also don't get any visual output on the server of the wolfmp.exe
> starting up the game console.
Don't you get any visual output if you use passthru instead of exec???
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o browser which turns & in & in
URL's. That would be very, very bad indeed!
> Actually, you should specify the URL with the &
> yourself, like this:
>
>
Of course not...this is a HREF tag, which can use & instead of &. &
is for displaying purposes only
Oliver Spiesshofer wrote:
> Hi,
>
> Is it possible to use mbstring after setting the necessary values in
> ini_set() or htaccess without having it enabled during /configure?
Nope...the functions of mb are unknown, because you didn't compile them.
Grtz Erwin
--
PHP General M
s getting captured correctly -- also - I removed the
> javascript and saw it get passet in the url as a 'get' correctly.)
>
> but in the email script I try to display 'ref' and what I get is:
>
> 'http://mydomain.com/shop.php?val1=1' -- everything p
ts'] contains an array, you can indeed use the above
syntax.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eric Pierce wrote:
> Hi there...
>
> Just wondering... when creating a dynamic image, is
> there a way/fuction to insert an existing image using
> x,y coordiantes for precision?
Yes, there is...use imagecopy (http://www.php.net/imagecopy)
Grtz Erwin
--
PHP General Mai
specified in the header of that MIME-part).
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t'll have to change to
in this case, right?
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ther then
>> for($i=0; $i
>
>
> A string is already an array of chars
>
> $string = 'string';
> echo $string[0]; // will echo 's'
True, but that's different than the array type. Sometimes you'll just need
an array instead of a string.
Try using
$string = explode( '', 'string' );
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;s even worse!! Try this:
>
>$l_cookie_expireN = time() - 4000;
>$l_cookie_expire = time() + 400;
>$l_cookie_expire2 = time() + 400*30*12;
You're right of course, let's say that it was very early when I wrote that
answer ;-))
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
blem, change your code to:
$l_cookie_expireN = (int) date('r', time() - 4000 );
$l_cookie_expire = (int) date('r', time() + 400 );
$l_cookie_expire2 = (int) date('r', time() + 400*30*12 );
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
where to start ?
>
> Thanks
Check the register_globals setting. As from php version 4.2.2, this setting
defaults to Off, while older versions defaults to On.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dark Rotter wrote:
> Hi,
>
>
> When i print a date, the format of this date is: 8 nov
> 2001 0:00
> (print ($array["date"]))
>
> but i need print this: 08/11/2001
>
> how i print this ?
try
print date( 'd/m/Y', strtotime( $array['dat
ues. The keys are strings (in the
case of $_POST), so you'll have to access them like strings. Use
$_POST['table_name'] instead of $_POST[table_name]. The same goed also for
$_POST[field_name], $_POST[field_type] and $_POST[field_length].
HTH
Erwin
> //indicate the database yo
- Original Message -
From: "Petre Agenbag" <[EMAIL PROTECTED]>
To: "Erwin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 8:24 PM
Subject: Re: [PHP] Re: creating and ftp text file
> Hi Erwin
>
> OK, my first pr
x27;'mallies%" ).
Try using mysql_escape_string instead of addslashes to store the o'mallies
as is, without the \.
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uld then have a while to step through the result set.
> This is where I need help, how to "create" the file and add the
> numbers and "static" text to the file, and once completed with the
> loop, to ftp to a server with username and password.
You'll have to loop
cking, until I added "> /dev/null" to the commandline.
If you're background process doesn't spawn it's own child, I think you'll
have to add an ampersand (&) also, to make the program run in background.
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi Grtz Erwin,
>
> let me tell you wat i need to do.
>
> 1.) I have a login page - if the user logs in correctly i create
> session(with session_start()) , a cookie is written to client +
> session file to server.
> 2.)When the user logs off - i call the logOff.php page
First question: why are you using a cookie??? If you use session_start(), a
cookie is automaticaly send to the client.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
value
$array_ids = explode( ',', $ids ); // This will give you an array with all
the id's
$amount = 10; // Amount of options
for ( $i = 0; $i < $amount; $i++ )
{
print '' . $i . '';
}
Something like that?
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s reached by the "i" modifier at the end of the pattern. The
second argument is the replace string. The $1 is an backward reference to
the first item between brackets.
That'll mean that the from the word Forward, the $1 parameter will contain
"For". So, the "For" -par
>> Try the following one:
>>
>> $result = "This is a test, isn't it?";
>> $search = "is";
>>
>> $result = preg_replace( '/(' . $search . ')/i', "> class=\"highlight\">\$1", $result );
>
the following one:
$result = "This is a test, isn't it?";
$search = "is";
$result = preg_replace( '/(' . $search . ')/i', "\$1", $result );
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;This is a test, isn't it?";
$search = "is";
$replacement = '' . $search . '';
$result = str_replace( $search, $replacement, $result );
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ip_name = $row["ship_name"];
$ship_address = $row["ship_address"];
$ship_city = $row["ship_city"];
$ship_zip = $row["ship_zip"];
$ship_country = $row["ship_country"];
// Do something...
}
}
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ntents="";
> while (!feof($file))
> {
> $filecontents.=fgets($file);
> }
>
> this one worked well with PHP4.2.3 but with versions under PHP 4.2.0
> it didn't work
>
> So what else can i try to just get the whole contents of the file
> into a string?
The session id changes when you close the browser , as the default is
> 0.
Not because default is 0, but because there isn't any session yet.
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
above return true? There is no whitespace in the string.
> What am I missing?
Try using [[:space:]] when using eregi. See also
http://www.developers-resources.com/stories.php?story=01/10/25/0549771
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steve Jackson wrote:
> I want to the select the very last record from my MySQL DB. How do I
> do it?
If the table has an id, use
select * from order by id desc limit 0,1
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an use JavaScript, something like
top.document.title = 'Title'
or
document.title = 'Title'
I'm not exactly sure which one (if any) of these works, but it's something
like this...
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strtoupper() instead?
>>
>> Leif K-Brooks wrote:
>>> I don't want the entire string upercase, just part of it as defined
>>> by a regex.
Then use preg_replace. The PHP website has an example to uppercase a part of
a string using preg_replace(http://www.php.net/p
pattern. It seems
the string is parsed backwards.
To avoid this problem, be more specific in your regexp. Don't use (.*), but
([^{]*) instead. The regexp which works in your example is the following:
/([^{]*){parent.([^{]*)}([^{]*)/e
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es[0];
>
> or
> $first_piece = $pieces[0];
> echo $first_piece;
>
> Right?
Right!
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bet there is a much nicer (and maybe faster way), but this is by far the
easiest (it doesn't cost one night) ;-))
One hundred thousand of these iterations took about 2 seconds...
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
preg_match( '/.*@test\.com$/', $_POST['email'] ) )
echo 'Valid';
else
echo 'Not valid';
$_POST['email'] contains the email address, submitted by the form.
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is an array, where the elements are all the matching
lines from the $content array, which is your inputfile. You can then filter
out the value you want using strpos, strrpos and substr.
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do this, store the element you will gain (pop will return the
element it popped). There you have it...
In code:
http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01420500'
);
array_pop( $content );
$current = array_pop( $content );
?>
HTH
Erwin
--
PHP Gene
Lallous wrote:
> John, what you said would simply produce:
>var x = ['str1,str2,str3']
> and not as I want:
> var x = ['str1','str2','str3']
Elias,
did you actually tried that? Because it does produce what you want...
produces:
x=
substr( 'phprocks', 0, 2 ) ) )
{
// Validation succeeded
}
else
{
// Invalid password
}
Crypt can not be unencrypted, but you can of course compare the crypted
passwords...
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
')");
This query is wrong. An insert query can't have a WHERE clause...check the
MySQL documentation about that.
>
> $upfile = "$UploadURL".$userfile_name;
Change to:
$upfile = $UploadUrl . $_FILES['userfile']['name']
> if ( !copy($user
e.
You're resize script will have to look like this:
resize.php
You can invoke this with http:///resize.php?filename=img.jpg. You
can create a nice directory listing this way, just call the resize.php
script for every image on the page. Create the directory listing with the
opendir function
y,
because it's not required, but copy php4ts.dll to the system32 directory
instead. If you're using any extensions that require external libraries
(take a look in your php installation directory, subdirectory dlls), then
they should be copied to.
HTH
Erwin
--
PHP General Mailing Li
ENT_QUOTES);
> and
> htmlentities($string, ENT_QUOTES);
>
> but these don't seem to work (maybe its me).
Probably you have magic_quotes_gpc set to On in php.ini...you can change
this to Off, or you can use stripslashes() on the $string variable...
HTH Erwin
--
PHP General Mai
if ( isset( $_POST['categorie'] ) && $_POST['categorie'] == 'New' ) }
// Your code here
}
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n and has worked
> for many versions. Its just with PHP 4.2.3 that it stops working.
Is "apachectl graceful" an option?
apachectl resided in the apache installation dir.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es?
Use nl2br: http://www.php.net/nl2br
This function replaces all "\n" (newlines) with "\n" (HTML break with
newline)
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are fine, but GET/POST vars are continually
> empty. I mean a form submission from .html to .php (about the
> simplest thing possible) the variables are not getting populated with
> their form values.
Turn register_globals = On in the php.ini file...
HTH
Erwin
--
PHP General Mailing List (ht
Sascha Braun wrote:
> Do you know how to exclude the path informations in the tar archive?
Yes, first chdir to the ../images directory
http://www.php.net/getcwd
http://www.php.net/chdir
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
downloads then (use Winzip ;-) )
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
small
footprint (about 1k-2k with one file), so the tar file should ALWAYS be
bigger than the source file(s)...
H...thinking about this...I'm sure you would like compression instead of
archiving. Use gzip only instead of tar:
- Set the header back to application/x-gzip
- Change the command
Marek Kilimajer wrote:
> Hope the sites have no banners :), they change all the time
But the URL to the banners will be the same, so that's no change in the HTML
code ;-))
> [SNIP]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
says: Unexpected end of archive.
>
> Have you got a sollution on that?
Yes...my mistake, use passthru( $command ) instead of system( $command )
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Noodle Snacks wrote:
> "Erwin" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Noodle Snacks wrote:
>
> [snipped]
>
>>
>> It is supposed to be like that...the PHP_SELF points to this file,
>>
n I search for the tar on the webserver I can't find it
> anywhere.
You have to send the appropriate headers to the browser, or PHP will send
the default (text/plain) header. For a tar file the correct header is
application/x-tar, send it with
Header( 'Content-Type: application/x
lose it, include it and delete
it (with unlink, http://www.php.net/unlink).
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lude all get data in the url?
It is supposed to be like that...the PHP_SELF points to this file, and the
filename has no arguments, thus the PHP_SELF variable don't have them
either.
You will have to use the $_GET array for the "aid=12" part.
Grtz Erwin
--
PHP General Maili
gt;
> reset($ser);
> while ( list($key, $val) = each($ser) );
> {
> echo "\$key = $key, \$val = $val";
> }
Small typo:
while ( list($key, $val) = each($ser) );
change into:
while ( list($key, $val) = each($ser) )
Remove the ";"
HTH
Erwin
P.S.: Take a break ;-))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tual value. Use
$_SERVER['DOCUMENT_ROOT'] . '/files/dir'OR
"$_SERVER['DOCUMENT_ROOT']/files/dir" instead
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ure could not be found.
I think this problem is related with the interface change of Apache2. Since
version 2.0.39 (?) the interface changed a bit, so some functions don't
work. You'll have to compile the php4apache2.dll from PHP 4.3.x and use that
with your Apache2.
I'll se
ad of
session_unregister('key'), the value will be removed from the $_SESSION
array AND from the session file.
I recommend following the manual and don't use the session_unregister,
session_is_registered and session_register functions anymore.
HTH
Erwin
--
PHP General Maili
John Holmes wrote:
> You have session_start() on the second page, too, right??
>
Yes...the session_start() statement is in a global include file, which is
included in all files which require it
Grtz Erwin
>> -Original Message-----
>> From: Erwin [mailto:[EMAIL PROTECTED
works OK
- I've tried output_buffering (on and off)
- I've tried registered_globals (on and off)
- I've tried using "session_write_close()" before leaving the page
- I've checked the "session_start()" statement (Yes, it's there :-) )
I hope someone c
e Mysql-ODBC driver, which can be downloaded from
www.mysql.com, and then import the tables with access
Grtz
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott Houseman wrote:
> Hi there.
>
> You can use the function mysql_insert_id( [link id] ).
>
>> I'm using postgresql.
Not if you're using PostGreSQL
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ENGTH which tells you whether a regular
two character salt applies to your system or the longer twelve character
salt is applicable."
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ess"];
> print $_COOKIE["$Access"];
> and even
> print "$Access";
What about $_COOKIE["Access"] ???
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have access to
> .htacces and no access to php.ini.
Take a look at
http://www.php.net/set_error_handler
That's the easiest way to create your own error_handler class!
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
admin.php and when i fill
> that form,it just displays the same form over and over again...the
> super user/ admin user does not get created...
Probably it requires register_globals to be turned On??? Did you checked
that?
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To
Joseph Szobody wrote:
> Thanks Erwin, that helps but I'm still not getting it to work.
> Should I still use the
>
> Header("Content-type: application/pdf");
>
> line?
>
> I tried using readfile() keeping the header. When I click the link to
&
including will be parsed by the parser. I have no idea why
some document don't give errors.
You will have to use readfile instead:
readfile( "../pdfs/whatever.pdf");
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Williams wrote:
> make a directory called phptest and put a file, index.php in
> it...never
> tried it tho.
In that case you will have to call http://localhost/phptest/?id=22
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
;;
And as final addition, you probably have to use
$_POST["new_password1"]
Besides that, I would use the form of Lallous:
if ( empty( trim( $_POST[ "new_password1" ] )
echo "Empty!";
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
} else {
> fputs ($fp, $loginmessage);
> while (!feof($fp)) {
> echo fgets ($fp,128);
> }
> fclose ($fp);
> }
You could try using
$url = "https://$user:$[EMAIL PROTECTED]";
I haven't tried this yet ;-))
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= $retrieved_itemno;
$_SESSION["SESSION"] = $SESSION;
test2.php:
$SESSION= $_SESSION["SESSION"];
echo "The retrieved value equals to " . $SESSION["item"];
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 141 matches
Mail list logo