Hi!
I've recently upgraded to 4.2.1, but i have gotten a
lot of problems with it.
First of all my pbpBB 2.0 forums stopped working
(http://utge.dyndns.org/phpbb2/index.php). When you
try to log in i get an error, malfomed header request?
(im not on the actual machine now :)).
I also have
Sorry about this, but i forgot one thing in my last
post.
With 4.2.1 (as opposed to 4.2.0), gd2 stopped working.
When i run the server I get could not find
freetype.dll(? Still not on the actual machine) and
then gd2.dll(?) module could not be found.
phpinfo at http://jaggu.org/info.php
I
On Wed, May 15, 2002 at 07:34:13AM +0100, Olav Bringedal wrote:
First of all my pbpBB 2.0 forums stopped working
Do they use variables straight up, rather than via the new superglobals such as
$_POST? Simple solution, change your php.ini to have register_globals = on.
Hello,
what is better syntax (for perfomance option, not code-style)
e.g. html code out of php tags
table
?php
while (...) {
?
tr
td?php echo $something; ?/td
tdtext/td
/tr
?php
}
?
/table
or
?php
$table = 'table';
while (...)
$table .=
Help :-)
I am sending a POST request from PHP to another
PHP script through a socket, something like
-
$request = Content-type: text/xml\n;
$request .= blah...blah...blah;
$request .= \n\n--asdlfkjiurwghasf;
// Build the header
$header = POST
The challenge is to do it without SQL. Which blog do you recommend?
David Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jay Blanchard wrote:
The burning issue that begs to be answered is, why reinvent the wheel?
There is a least a dozen blogs on
First this is not a 2d array it is a single d array each element of which is
another array.
If you search the array for a value you won't find it as each element is an
array.
$layerDes[1][0] is not an element of $layerDes it is an element of the array
$layerDes[1].
As far as I know there is no
I'm trying to close a session without the logged in surfer clicking log out (through
a onunLoad javascript function which loads i different php document with the otherwise
working php code for destryoing a session). I have a working Log out link which
destroys the session and the variables in
No, that's not a problem either!
snip from manual
Before ob_gzhandler() actually sends compressed data, it determines what
type of content encoding the browser will accept (gzip, deflate or none
at all) and will return it's output accordingly. All browsers are supported
since it's up to the
I am using this script: to upload a picture file and I get the error below:
Unable to create 'hgh6.gif': Permission denied in
/home/vhtdocs/archipro/do_upload.php on line 13
Couldn't copy the file! - What am I doing wrong
form enctype=multipart/form-data method=post action=do_upload.php
On Wed, 15 May 2002 08:52:49 +0200, Analysis Solutions wrote:
So my question is, why has that changed, and what do we do now to
authenticate users and redirect them to anothe page? And what the hell
is this thingy, i cant see to find anything on it in the manual,
and search doesnt work for
Hi there,
I would like to check user input for to long words. Therefore I did code a
function returning a string seperated by dash if it is more than $maxlength.
If it is 2 times maxlength it returns false.
Works good execept on line brakes. So if the input is:
test
if I have $time = 21 then
$timespread =array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
if ($time = = 21)
$timespread[22]=($timespread[22]+1);
echo $timespread[22] ;
I get 0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Vincent Oostindie [EMAIL PROTECTED]
wrote:
Not only that: if you are running a production
server, you will probably
want to log your error messages to a file (or
syslog, or whatever),
instead of printing them. So 'display_errors' should
be off. If that is
the case, you don't need to
--- Josh Edwards [EMAIL PROTECTED] wrote: if I
have $time = 21 then
$timespread
=array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
if ($time = = 21)
$timespread[22]=($timespread[22]+1);
echo $timespread[22] ;
I get 0
It might be = = which should be ==. If not, try:
Well it works just fine for me :)
PHP 4.2.0 / Apache 2.0.36 / FreeBSD 4.5
DOM/XML enabled
libxml Version 2.4.21
HTML Support enabled
XPath Support enabled
XPointer Support enabled
As you can see, I'm using a later version of libxml than you are - maybe
that's the problem.
I am also forced to
If I // $time==21 the count goes up by 1 so it's not recognizing the 21.
Any ideas
Olav bringedal [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
--- Josh Edwards [EMAIL PROTECTED] wrote: if I
have $time = 21 then
$timespread
Hi!
Is there any way of decomposing an integer into it's constituent bytes so
that a new byte order can be created?
tia
JohnH
John Horton
Software Engineer
BITbyBIT International Limited
[EMAIL PROTECTED]
Tel: + 44 (0) 1865 865400
Fax: + 44 (0) 1865 865450
www.bitbybit.co.uk
Disclaimer:
Hi,
I want to know if the user is connected on a secure socket and have two
problems:
1. My Apache (Stronghold), variables are not turning up in $_SERVER or
$HTTP_SERVER_VARS
although they are in $GLOBALS e.g. I have $GLOBALS[SERVER_PORT] but not
$_SERVER[SERVER_PORT].
This is with track vars
On Wednesday 15 May 2002 18:33, Diana Castillo wrote:
I am using this script: to upload a picture file and I get the error below:
Unable to create 'hgh6.gif': Permission denied in
/home/vhtdocs/archipro/do_upload.php on line 13
Couldn't copy the file! - What am I doing wrong
form
On Wednesday 15 May 2002 16:20, Josh Edwards wrote:
The challenge is to do it without SQL. Which blog do you recommend?
David Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jay Blanchard wrote:
The burning issue that begs to be answered is, why
Look at the session manual page and maybe set a shorter time limit for the
session cookie. If the user isn't going to click on the Logout link, then
there's really nothing you can do until they close the browser (which will
stop the session / delete cookie automatically).
Maybe you can check for
Well, if you fix #1, that will fix #2 because you can use $_SERVER[HTTPS],
which can't be spoofed by the user. What versions of PHP and Apache are you
using, on what OS?
---John Holmes...
- Original Message -
From: George Whiffen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday,
Ummm,
This output compression sounded cool to me when I came across it,
but I wasn't sure it really helped or was appropriate for us to use:
1. My biggest concern is the slowest user i.e. at the end of a modem
on the other side of the planet. I thought they would almost certainly
have modem
1LT John W. Holmes wrote:
Well, if you fix #1, that will fix #2 because you can use $_SERVER[HTTPS],
which can't be spoofed by the user. What versions of PHP and Apache are you
using, on what OS?
---John Holmes...
Oops,
Just run up phpinfo and this appears to be php 4.0.1pl2, Stronghold
I'm currently integrating my site with YaBB so that when you log into my
YaBB forums it also logs you into the whole site. I'm also developing a
script that I'm integrating into my main page that checks the password in
the cookie with the one in the database as a security check.
The problem is,
Hi everybody
Plz can u help me with this? I have an html file that diplays images. And
I want to use PHP to parse this file: i.e. to display those images and
their sources. How can this be done?
Thx a lot
Alia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
You can't.
You have to have the non-crypted password which you then run the crypt()
function on. Say the password is banana. You then run:
crypt('banana','ba') = baGGlRhhSFzk2
crypt('banana','ys') = ysu0jnfX9fp2.
You make sure these two match the two crypted strings stored in the
It's quite some time since I dealt directly with modems and packets
moving over networks per se so some of this may well prove wrong - feel
free to point it out if I am someone.
3. But surely, ASDL, cable, the backbone and decent
intranets must all do hardware compression, don't they? Or
I'm using the phpdev distribution on Win2k which shows Freetype Linkage =
with freetype under GD in phpinfo().
When I try to use a freetype font with ImageTTFText() I get an error stating
that php could not find/open font.
Do I need to obtain Freetype seperately as I would on linux or am I
Modem compression will only affect data between the modem and the ISP.
A point you don't appear to have considered is that by compressing at the
server a host can significantly reduce outgoing bandwidth (i.e. the stuff
they pay for) - the less you use, the less you pay. Compressing pages is
very
Has anyone seen or know if it is possible to use PHP to test if a SQL
server is alive on port 1433? I know I could run a query, but was looking
for something to actually test on the port.
Thanks,
-Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 15.05.2002 12:33, you wrote:
I am using this script: to upload a picture file and I get the error below:
Unable to create 'hgh6.gif': Permission denied in
/home/vhtdocs/archipro/do_upload.php on line 13
Couldn't copy the file! - What am I doing wrong
form enctype=multipart/form-data
Hi
Just a couple of hours ago I had Apache 1.3 on windows 95 going (with the
PWS switched off), I could get the HTML content of a index.php file to
work, by typing in http://localhost/index.php (and http://localhost/ worked
well with the Apache notice) but the code in the PHP file did not work
How to execute dos\winnt command in php script, i need disk map in php
excample :
? some code . and now i need do this : 'net use I:
\\server\shere_folder\' ..?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/ref.exec.php
At 09:30 15/05/02, you wrote:
How to execute dos\winnt command in php script, i need disk map in php
excample :
? some code . and now i need do this : 'net use I:
\\server\shere_folder\' ..?
--
PHP General Mailing List (http://www.php.net/)
To
George Whiffen wrote:
1. My biggest concern is the slowest user i.e. at the end of a modem
on the other side of the planet. I thought they would almost certainly
have modem compression so doing our own compression doesn't
really help them at all i.e. actual download speeds stay the same,
Read the manual.
www.php.net/exec
among others...
---John Holmes...
- Original Message -
From: Roman Duriancik [EMAIL PROTECTED]
To: PHP-General [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 9:30 AM
Subject: [PHP] shell command
How to execute dos\winnt command in php script, i
Here are the functions you need:
http://www.php.net/manual/en/ref.exec.php
-Jared
-Original Message-
From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9:30 AM
To: PHP-General
Subject: [PHP] shell command
How to execute dos\winnt command in php script, i
I would imagine that you could use fsockopen to open a socket connection on
that port in order to test it.
-Jared
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
Has
Danny Shepherd wrote:
No, that's not a problem either!
snip from manual
Before ob_gzhandler() actually sends compressed data, it determines what
type of content encoding the browser will accept (gzip, deflate or none
at all) and will return it's output accordingly. All browsers are
Hello Everybody,
Is there a function/library in PHP that does this?
The module striphigh.pm (Perl module):
The Text::Striphigh module exports a single function: Cstriphigh. This
function takes one argument, a string possibly containing high ASCII
characters in the
On Wed, 15 May 2002, Josh Edwards wrote:
$timespread =array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
if ($time = = 21)
$timespread[22]=($timespread[22]+1);
echo $timespread[22] ;
It should be ==, not = =. Secondly, you don't need to quote the 21,
it's a number. You should use
What is the code to tell whether the user is on IE or Netscape?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
People, hope you can help. The below IF statement is getting a PARSE error.
Can anyone spot why?
Cheers.
Jon
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo,
$this-childDOB))
(!$this-checkLocation($this-post, W)) (!empty($this-childDOB)))
||
Your brackets don't match up. Use an editor that lets you do
bracket-matching. Hit '%' in vi, for example.
-Rasmus
On Wed, 15 May 2002, Jon Yates wrote:
People, hope you can help. The below IF statement is getting a PARSE error.
Can anyone spot why?
Cheers.
Jon
if
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo,
$this-childDOB))
(!$this-checkLocation($this-post, W)) (!empty($this-childDOB)))
|| ($this-checkPregnancy($this-benefitRef, $this-benefitNo))
must be:
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo,
Hello,
try this version :)
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo, $this-childDOB))
(!$this-checkLocation($this-post, W)) (!empty($this-childDOB)) ||
($this-checkPregnancy($this-benefitRef, $this-benefitNo)))
Regards,
Michal Dvoracek [EMAIL
[snip]
People, hope you can help. The below IF statement is getting a PARSE error.
Can anyone spot why?
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo,
$this-childDOB))
(!$this-checkLocation($this-post, W)) (!empty($this-childDOB)))
||
maintain state accross requests. This is done in 3 different ways.
1. Cookies
2. URL Mangling
3. HTTP Authentication
#4 Passing a SID/Session info in hidden fields, but it means
you must push every page move through a submit (which can be
done with Javascript, image buttons, etc),
When in doubt, add in some carriage returns to space everything out to see
if your braces match up.
if
(
($this-checkReferralCB($this-benefitRef, $this-benefitNo,
$this-childDOB))
(!$this-checkLocation($this-post, W))
(!empty($this-childDOB))
)
Olav:
On Wed, May 15, 2002 at 11:53:06AM +0100, Olav Bringedal wrote:
$user=$Session[user];
if(!$Authorized)
{
header (Location: http://jaggu.org;);
}
As I was saying before, write your code in a way that doesn't generate error
messages. For example, the above passage would be
Hi guys
I know this question it's very recurrent but the problem of Jon Yates make
me think again this stuff.
Somebody knows a quick editor, simply and with highlight?
:) Jp
I have tried : PHPEdit, DevPad
Juan Pablo Aqueveque [EMAIL
On Wed, May 15, 2002 at 12:49:30PM +0200, andy wrote:
test
ölakjdfölakjdöfkjaödlfkjöaksdjföl
it asumes thtat the word is: test ölakjdfölakjdöfkjaödlfkjöaksdjföl
$word = explode( ,$string);
Because you're splitting on spaces only. If you want to split on more than just
spaces, you
You might want to look into wordwrap(), too
www.php.net/wordwrap
---John Holmes...
- Original Message -
From: Analysis Solutions [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 10:42 AM
Subject: Re: [PHP] counting max word length fails on line brake
Hello,
I am about 3 hrs old with php and have a very simple question. I
have a test.html page that is just an href and I want to put the variables
into php variables on the next page but I get an error. Could someone please
correct my code or tell me what is wrong. We use IIS NT 4.0
Hi,
Try this
?php
$username = $_GET['user'];
$password = $_GET['pass'];
echo $username;
echo $password;
?
-Original Message-
From: John [mailto:[EMAIL PROTECTED]]
Sent: Wed, 15 May 2002 16:46
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie help please!
[snip]
test.html code
html
head
titleUntitled/title
/head
body
/body
a href=test.php?user=adminpass=123456Click here/a
/html
test.php code
?php
$username = user;
$password = pass;
echo $username;
echo $password;
?
[/snip]
$user will be 'admin'
$pass will be '123456'
this will do it:
?php
$username = $_GET['user'];
$password = $_GET['pass'];
echo $username;
echo $password;
?
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
Hi
I have a server with multiple users, each with user space that may contain a
public_html directory. The main site also has a web page, but I'm having
trouble configuring PHP securely.
Anyone with access to PHP can write a script to find and print out any file
in the main page, and one of
html-kit... http://www.chami.com/html-kit/
-Original Message-
From: Juan Pablo Aqueveque [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 15:39
To: [EMAIL PROTECTED]
Subject: [PHP] PHP editor (win)
Hi guys
I know this question it's very recurrent but the problem of Jon Yates
make
me
or this
?php
echo $user;
echo $pass;
?
-Original Message-
From: Tommy Claasens - Q Data KZN [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 15:57
To: John; [EMAIL PROTECTED]
Subject: RE: [PHP] Newbie help please!
Hi,
Try this
?php
$username = $_GET['user'];
Tommy,
Thanks that was it.
Tommy Claasens - Q Data Kzn [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Try this
?php
$username = $_GET['user'];
$password = $_GET['pass'];
echo $username;
echo $password;
?
-Original Message-
From:
Pleas help. I'm installing php on a Solaris 7 server that is running
iplanet 4.1.
PHP Version 4.2.1
Configure: (I had more compiled in (gd, gdbm...) but error below
occured so I cut it down)
./configure --with-nsapi=/usr/netscape/server4 --enable-libgcc \
--prefix=/usr
Hello
I am trying to install PHP version 4.2.1 on redhat linus version 7.2
with mysql and apache version 2.0.35
The configure command used was:
./configure --prefix=/usr/local/php/
--with-mysql=/srv/local/mysql/mysql-3.23.49a-pc-linux-gnu-i686
--with-xml\
--with-apxs2=/usr/local/apache/bin/apxs
Diana Castillo wrote:
What is the code to tell whether the user is on IE or Netscape?
It's slightly more complicated than that (I'm a newbie too, but I know a
very little about user-agent strings), but it *will* involve using
http://www.php.net/manual/en/function.get-browser.php
As you may be
$_SERVER['HTTP_USER_AGENT']
That's the variable which holds the browser's user agent string (browser
name, version, platform etc);
You may also find this helpful
http://www.php.net/manual/en/function.get-browser.php
HTH
Danny.
- Original Message -
From: Diana Castillo [EMAIL
I am using an Apache webserver w/ PHP provided by a hosting company I can't seem to
get PHP errors logged to a file.
From reading the docs, my understanding is that I need to set error_log to the name
of a file set log_errors to on in the php.ini file (.htaccess, in my case). Is
this
I have been using some simple session management for some of my pages. I am
inquiring about the use of transparent session id usage. I have read the
manual and I am still a little confused on how to go about using it.
I did run phpinfo() to make sure that trans-id was enabled. It outputed:
I've been developing a PHP driven site that will ultimately run under
Solaris and Linux - no problems there.
But I set up a small development/test environment on my laptop running
Win98. Downloaded the PHP binary (v 4.1.2) along with Apache (v 1.3.24) and
MySQL. Everything works
1. your while loop should have {} brackets
i can't see where it starts and where it ends.
so does PHP. leaving brackets away tells PHP
that only the next line is part of the while loop.
i don't know if your file has only the three lines
($cust_name, $cust_area, $cust_code) or if
decbin() will convert an integer to it's corresponding binary
representation of 32 bits. Divide that into 4 groups and you have it
separated into bytes.
John Horton wrote:
Hi!
Is there any way of decomposing an integer into it's constituent bytes so
that a new byte order can be created?
On Thursday 16 May 2002 00:04, Joshua E Minnie wrote:
I have been using some simple session management for some of my pages. I
am inquiring about the use of transparent session id usage. I have read
the manual and I am still a little confused on how to go about using it.
I did run
I am wondering if someone can help me understand a good way to use sessions
to check to see if a user has entered a user name and password before
allowing them to view the rest of the page. I need to have this check on
each page, just not sure how I can pass the sessions to each page, as of yet
Is there any way to determin what week of the year it is, for example to
day it is the 20th week of the year.
Thanks
http://www.atom.is/
Davíð Örn Jóhannssson
Vefforritari
Atómstöðin hf.
Austurstræti 12
101 Reykjavík
$week = date(W);
DOJ Is there any way to determin what week of the year it is, for example to
DOJ day it is the 20th week of the year.
DOJ Thanks
DOJ http://www.atom.is/
DOJ Davíð Örn Jóhannssson
DOJ Vefforritari
DOJ
DOJ Atómstöðin hf.
DOJ
Hello Steve,
Tuesday, May 14, 2002, 6:28:06 PM, you wrote:
SB Sorry, I forgot to move my php4ts.dll to the windows/system32 directory.
SB Steve
SB ---snip---
SB I know that I just saw something like this last week on the list, but can't
SB find it now. Anyway, I have just installed PHP 4.2.1
but remember, this wasn't added until PHP version 4.1.0
Jim Lucas
www.zonedzero.net
www.giantmaps.com
- Original Message -
From: PHP lists [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 9:43 AM
Subject: Re: [PHP] Finding out what week it is
$week = date(W);
Hello,
i can't get php binary when installing php on my server.
my configure:
./configure --prefix=/usr/local \
--with-config-file-path=/usr/local/etc \
--with-openssl=/usr/local \
--with-zlib-dir=/usr/local \
--with-zlib=/usr/local \
--with-bz2=/usr/local
I tried to use this script but it failed due to the caching. Does
anyone know the way around hte problem or have a solution to the problem?
--- example script
$url_address = $GLOBALS[HTTP_HOST];
switch ($url_address) {
case www.php.net:
$url_address =
I noticed that php-4.2.1-Win32.zip on www.php.net has been changed
since I began downloading. So I downloaded it again. But what for?
And why wasn't we all notified about that? If I completed
downloading a little bit earlier I had a different release. I think
people must be notified
Hi,
I included php file as html img:
img src=/smtMonitoring/jpgraph_cache/try_param.php width=340
height=240
and Netscape brawser seems not to interpret that. However if I change
try_param.php - try_param.png then image can be desplayed.
According to the documentation 'try_param.php' should
I hope I didn't sound impolite, I really didn't mean to offend you, because
if it weren't for your tutorial I would probably still be trying to figure
out how to parse attributes and get XML Content into variables. Anyway, the
performance and efficiency doesn't really interest me at this point. I
On 5/15/02 12:38 PM, Jas [EMAIL PROTECTED] pressed the keys forming the
message:
I am wondering if someone can help me understand a good way to use sessions
to check to see if a user has entered a user name and password before
allowing them to view the rest of the page. I need to have this
On Wed, May 15, 2002 at 07:49:58PM +0200, Sebastian A. wrote:
performance and efficiency doesn't really interest me at this point. I just
want to get the thing working before I work on improving it.
But your haste is making waste. Even funnier, in your haste, you're making more work
for
Ok I see where you're going with this. Thanks a lot. I will be sure to
improvise my code.
-Original Message-
From: Analysis Solutions [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:10 PM
To: PHP List
Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data
On Wed,
Hello, I am interested on some info - how do robots work to fill web
forms authomatically?
Sometimes I notice a blurr code to be manually writen to avoid these
robots when filling forms, but I am interested in programm just one of
these machines. Is it necessary PHP of another script for this
I'm trying to build what I think is an associative array from a set of
mySQL results.
It looks like this:
//First, a mySQL results loop for a select statement return unique
occurrences of data in the field term:
for ($i=0; $i $num_results; $i++)
{
$row = mysql_fetch_array($result);
echo
I've a 2 D array and would like to search for vals. in the first dimension
only i.e.
myArray[0][0]
myArray[1][0]
myArray[2][0]
myArray[3][0]
.
.
.
and not in the elements myArray[0][1]
CODE:
for($l = 0; $l count($layer); $l++) {
$key = array_search($layer[$l], $layerDes); // $layerDes
You probably want to get 4.2, or 4.2.1 if it's out.
How are you registering variables for the session? Is register_globals on or
off in your php.ini.
If it's off, you register a variables just by using
$_SESSION[var] = value;
instead of using
session_register(var);
$var = value;
If register
Yes, that does work, but the big question is if try_param.php is outputting
an image? How are you doing it? Are you setting the appropriate headers()?
---John Holmes...
- Original Message -
From: Maciej Przybycien [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002
Heh...you have to learn some SQL!!
Try this query:
SELECT term, count(*) AS cnt FROM table GROUP BY term;
---John Holmes...
- Original Message -
From: ROBERT MCPEAK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 2:16 PM
Subject: [PHP] newbie: dynamically
On Tue, 14 May 2002, Andre Dubuc wrote:
My question will probably expose my woeful lack understanding of security
breaches, but perhaps someone can enlighten me.
On my site, registered members will be allowed to upload jpg/jpeg
pictures. I'm concerned about possible security problems.
Oops! Sorry I got a reply for this but didn't read my mail carefully
enough. Thanks to Tim Ward for pointing out the problem.
I've a 2 D array and would like to search for vals. in the first dimension
only i.e.
myArray[0][0]
myArray[1][0]
myArray[2][0]
myArray[3][0]
.
.
.
and not in the
Never mind, I'll just javascript instead! location.replace('url');
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I tried to use this script but it failed due to the caching. Does
anyone know the way around hte problem or have a solution to
Well, the robots we have in the Army are controlled by wireless neural
networks run by tiny chips implanted into our brains while at basic
training. This controls the army of robots hidden under the mountains of
Colorado that actually do all of our typing for us...
anyway...
You need to get a
I want to a kewl script that will format time from seconds. I have a script
that returns the number of seconds a person has been an employee and
I want to format it in human readable format like:
1 year 6 months 14 days, etc.
Any help would be appreciated it.
On Wed, 15 May 2002, Michal Dvoracek wrote:
i can't get php binary when installing php on my server.
my configure:
./configure --prefix=/usr/local \
--with-apache=../apache_1.3.24 \
configure pass with no errors, make too
make install - module is installed, everything is ok but no
The problem seems to come because I generate html and include
img src=/smtMonitoring/jpgraph_cache/try_param.php ...
from Java servlets.
If my 'img src=/smtMonitoring/jpgraph_cache/try_param.php ..'
is included in html file and I load that html the image appears on the
screen with no
On Wed, 15 May 2002, Olav Bringedal wrote:
That is all well, but if php 4.2.1 interprets any
output (as errors not only screen errors) as something
that is sent before a header in a redirect, there is
no other way (that i'm aware of) around it.
Like this:
$user=$Session[user];
1 - 100 of 197 matches
Mail list logo