On Thursday 16 January 2003 05:38, Scott Fletcher wrote:
> Or worse, not substituting the characters in the Session ID. Just use the
> same Session ID. What if there is leftover session file in the /tmp
> directory of the Unix machine and we're dealing with hundred of users each
> day. Some of t
On Wednesday 15 January 2003 21:16, Avenger wrote:
> Hey,I wanta used the PHP doc user notes.
>
> Where can i get it.
http://weblabor.hu/php-doc-chm
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Appl
On Thursday 16 January 2003 04:17, Timothy Hitchens \(HiTCHO\) wrote:
> Now what is the output if you do this outside of the function after
> registering a session var??
>
>
> Timothy Hitchens (HiTCHO)
> Open Source Consulting
> e-mail: [EMAIL PROTECTED]
>
> > -Original Message-
> > From: D
As a beginner I have been trying and trying, but to no suc6. Hope there's
someone here able to help me out:
Am trying to get rid of spaces and change all into uppercase in an entered
form variable, which I am able to do when trying things out but when running
the full php statement it refuses to c
The 'problem' with ASP is that it really requires a Windows platform... and
while Unix is still primarily the OS of choice for web-servers then ASP &
PHP will 'co-exist' there will always be a PHP and ASP camp... naturally any
broad-minded developer will keep up with both technologies as this will
$sql = "
select count(*) as theCount
from myTable
";
...
$row_id = rand(1, $myrow["theCount"]);
...
$sql_randow_row "
select *
from myTable
where id = $row_id
";
I assume I'm right with the method above to select a random row? or any
other way?
---
Outgoing mail is certified
My provider has GD version 1.6.2 running, and I'm trying to dynamically
resize uploaded JPEG images. But ofcourse that doesn't work with that
version. Does anyone have another solution to automatically resize JPEG
images upon upload?
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Don't make life difficult for yourself :)
SELECT * FROM myTable ORDER BY RAND() LIMIT 0,1
HTH
Danny.
- Original Message -
From: "Brian McGarvie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 9:37 AM
Subject: [PHP] Random Row...
> $sql = "
> select c
I think that the developers of PHP know exactly where they want PHP
to sit in the big bad world of .NET/J2EE.
The whole reason the dotnet and java extensions have been written for
PHP, is to allow PHP to talk to java/net objects, but more importantly,
have PHP act as the front end, and .NET/J2EE d
> -Original Message-
> From: Phil Powell [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2003 04:33
>
> I have view.php, a script that will include display.php and
> have to manipulate the variables within display.php for itself.
>
> So in view.php I have:
>
> require('/.../.../display.ph
it is stored in $_SERVER["SERVER_ADDR"]
Kyle Lampkin wrote:
Hello all,
Newbie here I need to know if there is a way I can get my dynamic
IP address for use in a php script?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 16 January 2003 17:43, Marco Alting wrote:
> My provider has GD version 1.6.2 running, and I'm trying to dynamically
> resize uploaded JPEG images. But ofcourse that doesn't work with that
> version. Does anyone have another solution to automatically resize JPEG
> images upon upload?
I
First go to the file that generates the error and find out how it knows
the template file does not exists
roel wrote:
Hi,
i'm having a problem. I just installed a webserver with mysql and php. I
copied my files that i had stored on another webserver to my new. I didn't
change anything to these
Bobby Patel wrote:
Hello,
I have the Images table setup with columns (width, height, size, type,
etc...) the question is should I have the image data stored in this table or
disk?
I know, alot of people have said it is faster in disk, which is 1 page I/O.
But I need these images for displaying
I'm not sure if I understand you, but you can simply specify IP address
and correct Host header
Patrick Hsieh wrote:
Hello list,
I am trying to open a remote webpage in my php program with curl library. The
webpage will redirect me to another webpage(Say,
"http://www.anothersite.com/index.htm
On Thursday 16 January 2003 17:17, WMB wrote:
Please use a descriptive subject!
> Am trying to get rid of spaces and change all into uppercase in an entered
> form variable, which I am able to do when trying things out but when
> running the full php statement it refuses to change and enters the
Gladky --
...and then Gladky Anton said...
%
% Hello everybody!
Hi!
% Can anybody advice me the best free web-hosting with PHP?
No, there's still no new advice (I can understand posting a second time
because of a lack of response the first time -- and so I'll stop a third
post right now). Ch
Use sudo (man sudo)
Mantas Kriauciunas wrote:
Hey!
What I want to do is, There is user that logs into the channel. And I
need to make script to change his password. How do I execute shell
command: passwd ? or what should I do to change that password?
Thanks!
mNTKz
--
PHP General Mailing Li
On Thursday 16 January 2003 09:07, Dhaval Desai wrote:
> Hello ppl,
>
> I was just wondering what is php's future with something like Asp .Net
> coming up...I have read many articles by Php guys who think Asp.Net is the
> future. If that's the true case...is it really worth sticking to Php at
> all
I'm working on a large VB/Sql Server to Php/Postgresql conversion (approx.
60k lines of code).
I'd like to design this thing as OO as possible, because I think
ultimately it leads to better, more extendable and readable software.
However, since php does the whole copy thing with objects, I'm a li
At 00:41 16-1-2003, you wrote:
Hello all,
Newbie here I need to know if there is a way I can get my dynamic IP
address for use in a php script?
--
There are loads of variables in the arrays $_SERVER and $_ENV, dump these
arrays and see if there is something in it that you can use. Maybe y
> On Thursday 16 January 2003 09:07, Dhaval Desai wrote:
> > Hello ppl,
> >
> > I was just wondering what is php's future with something like Asp .Net
> > coming up...I have read many articles by Php guys who think Asp.Net is
the
> > future. If that's the true case...is it really worth sticking to
If the server crashes, it is definetly NOT fault of your scripts, the
server/php should return errors when there is something wrong, not
crash. Remember that on multithreaded server you are taking other
requests down too. The server, php, some extenssion might have been
miscompiled, wrong versi
"John Wells" <[EMAIL PROTECTED]> wrote... :
> I'm working on a large VB/Sql Server to Php/Postgresql conversion (approx.
> 60k lines of code).
First of all, VB is precompiled and PHP is not. This will already be
slower. So, you gonna need to create a logic that loads only the
necessary classes f
All,
I have a problem sending Multipart - MIME (plaintext + html) email
$bodyPlaintext = " (PLAINTEXT)";
$bodyHTML = " (HTML CODE)";
$headers = "";
$headers .= "From: [EMAIL PROTECTED]\r\n";
$headers .= "Reply-To: [EMAIL PROTECTED]\r\n";
$headers .= "X-Mailer: PHP " . phpversion();
$
I have al for loop that looks something like this:
$checkCurrName = "SELECT imgName FROM $db_img ORDER BY imgName DESC";
$resultCurrName = mysql_query($checkCurrName, $db);
for ($i = 0; $i < $n; $i++){
list($currName) = mysql_fetch_row($resultCurrName);
$newName = $cu
OK, I have a file called page.php that has the following code in it
(example but same layout and concept).
Page Title
This is the text in the body of the page.
The membercheck.php file contains a login form that is used if a session
variable doesn't exist, i.e. the user
Are you sure $n is being set somewhere?
Why not do it like this:
while($row = mysql_fetch_row($resultCurrName))
{
print $row[0]+1;
//do rest of whatever...
}
---John Holmes...
- Original Message -
From: "Davíð Örn Jóhannsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursd
"Dhaval Desai" <[EMAIL PROTECTED]> wrote... :
> Hello ppl,
>
> I have read many articles by Php guys who think Asp.Net is the
> future.
What PHP guys?
> If that's the true case...is it really worth sticking to Php at all?
Definitely yes, unless you love paying the licenses for every single
-Original Message-
From: Davíð Örn Jóhannsson [mailto:[EMAIL PROTECTED]]
Sent: 16. janúar 2003 13:59
To: '1LT John W. Holmes'
Subject: RE: [PHP] Problem with a for loop...
I only want the last inserted row in the mysql database, and each time
the script goes trough the loop it adds a ne
php-general Digest 16 Jan 2003 14:08:49 - Issue 1826
Topics (messages 131798 through 131857):
Re: Session Problem
131798 by: Matt
Get the date of the last sunday
131799 by: Renaldo De Silva
131800 by: Daniel Kushner
131804 by: Gladky Anton
MySQL Query - Not
> -Original Message-
> From: Davíð Örn Jóhannsson [mailto:[EMAIL PROTECTED]]
> Sent: 16. janúar 2003 13:59
> Subject: RE: [PHP] Problem with a for loop...
>
> I only want the last inserted row in the mysql database, and each time
> the script goes trough the loop it adds a new row into th
Hello,
On 01/16/2003 11:37 AM, Brian McGarvie wrote:
Now... the problem I have is some people are reporting they get the
Multi-part stuff as the body... for others it'll work as wanted... i.e.
display Plaintext or render the HTML as wanted.
Anyone had this problem?
It looks like one of those b
Is there any kind of load balancing on your server? If you watch the session
files in /tmp, are they getting erased?
---John Holmes...
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 2:55 AM
Subject: [PHP] inter
> OK, I have a file called page.php that has the following code in it
> (example but same layout and concept).
>
>
> require("membercheck.php");
> ?>
>
>
> Page Title
>
>
> This is the text in the body of the page.
>
>
>
> The membercheck.php file contains a login for
Hello All, I have a script which uploads a mysqldump file into the server
and use system("mysql -uroot -p < the_dump_file.sql") to restore the
database. While, it does not go through and the apache error_log shows:
Enter password: Enter password: ERROR 1045: Access denied for user:
'root@localhost
Thank you, this helped me to find the problem. It seemed that i had to set
the $root variable in the templated class, although i never had to do this
on the other server, but it works now. Thanks!!
"Marek Kilimajer" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
hello all:
XP+IIS5.1+PHP4.3+ORACLE9.2(client)
ERROR REPORT as follow:
Warning: OCIFetchInto: ORA-01002: in C:\MyPHP\test.php on line 18
Error - no rows returned!
test.php:
ERROR - Could not connect to Oracle";
exit;
}
$sql = "Select count(*) from t1";
$stmt = OCIParse($conn, $sql);
if(!$
There is nothing wrong with it, with the -p switch, you specify you want
to supply a password, but you don't give any, hence access denied
[EMAIL PROTECTED] wrote:
Hello All, I have a script which uploads a mysqldump file into the server
and use system("mysql -uroot -p < the_dump_file.sql") to r
But why it is ok when i use system("mysqldump -uroot -p >my_dump_file.sql")?
thanks
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> There is nothing wrong with it, with the -p switch, you specify you want
> to supply a password, but you don't gi
leave PHP, work with ASP .NET and let Microsoft gain more domination and say
bye bye for your freedom, then let develpment go and work as a machine that
does like Microsoft wants
oh, i forgot, remember to submit ASP .NET bug reports to their site, to get
a reply after 5 months :)
Open-Source R
"Brian McGarvie" <[EMAIL PROTECTED]> wrote... :
> The 'problem' with ASP is that it really requires a Windows platform...
Depends where. C# has a Linux platform called `mono'. It is not as good
as MS' native enviroment, but can work.
> and
> while Unix is still primarily the OS of choice for w
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2003 14:35
> To: [EMAIL PROTECTED]
Copying this back to the list, in case anyone else can contribute (although I think
the attachments will be stripped -- can you make them available on a URL?).
I suppose because if you use
mysqldump -uroot -p
But why it is ok when i use system("mysqldump -uroot -p >my_dump_file.sql")?
thanks
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
There is nothing wrong with it, with the -p switch, you speci
no, i use mysqldump -uroot -p > my_dump_file.sql
it is not '<' but '>'
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I suppose because if you use
>
> mysqldump -uroot -p
> the password is read from my_dump_file.sql
>
> [EMAIL PROTECTED] wr
I just JUST installed PHP onto a new server (my
first--kinda scary, new foray) and my pre-defined
constants (HTTP_SERVER, SCRIPT_NAME, etc.) aren't
being set. Any ideas? What switch do I have to flick?
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. A
--- Justin French <[EMAIL PROTECTED]> wrote:
> I did notice that once I login (it says "you are
> logged in as justin" across the top of the screen),
> if I refresh the same page a few times, it will
> MOSTLY say "you are logged in as..." but
> OCCASIONALLY it says "click here to login"...
> What'
> But why it is ok when i use system("mysqldump -uroot -p >my_dump_file.sql")?
As alluded to by the last user (who got the command wrong), when you
do:
system("mysql -uroot -p < the_dump_file.sql")
it doesn't know where the command ends and the input begins. So what's
going on is that the comm
--- [EMAIL PROTECTED] wrote:
> no, i use mysqldump -uroot -p > my_dump_file.sql
> it is not '<' but '>'
That syntax is fine, and it should prompt you for a
password.
My suggestion is to give the root account a password and
don't worry about all of this. I think I read that it is
currently empty,
> -Original Message-
> From: Mako Shark [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2003 15:26
> To: [EMAIL PROTECTED]
> Subject: [PHP] No constants being set. HUH?
>
>
> I just JUST installed PHP onto a new server (my
> first--kinda scary, new foray) and my pre-defined
> constants (HTT
on 17/01/03 1:24 AM, 1LT John W. Holmes ([EMAIL PROTECTED]) wrote:
> Is there any kind of load balancing on your server?
It's a single server, so to the best of my knowledge, no.
> If you watch the session
> files in /tmp, are they getting erased?
No, because they reappear and page or two late
on 16/01/03 11:59 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
> If the server crashes, it is definetly NOT fault of your scripts, the
> server/php should return errors when there is something wrong, not
> crash. Remember that on multithreaded server you are taking other
> requests down too. The
This is infact not the case, using the < operator does not make the mysqldump
program read that file and interpret the data in the file as the password, if you have
a proper password set and use the -p option (even with a < operator) it will still ask
you for a password.
On Thu, 2003-01-1
--- Chris Boget <[EMAIL PROTECTED]> wrote:
> system("mysql -uroot -p < the_dump_file.sql")
>
> it doesn't know where the command ends and the input
> begins. So what's going on is that the command thinks
> that the password is coming from the "the_dump_file.sql".
It knows exactly where the comma
Hi all,
When I make a form in a web site for a visitor to send me some comments,
I use nl2br() to put things like line breaks and see what the visitor
wants me to see.
But what happens if I have a web form to input some text into a TEXT
cell in MySQL and want to retrieve it like I wrote it? Shoul
Hello,
I want to build an object oriented application and i don't know how to do
it. Should i store everything in class instances and let those object
communicate with each other? I think that would be the real OOP.
I need some articles, tutorials or just people with experience in building
OO-appl
Check the cookies you have stored in your browser. I once had similar
problem, when I had 2 cookies of the same name set, but different in
path, one had "/directory" the other one "/directory/"
Justin French wrote:
on 17/01/03 1:24 AM, 1LT John W. Holmes ([EMAIL PROTECTED]) wrote:
Is there
> > system("mysql -uroot -p < the_dump_file.sql")
> > it doesn't know where the command ends and the input
> > begins. So what's going on is that the command thinks
> > that the password is coming from the "the_dump_file.sql".
> It knows exactly where the command ends and the input
> begins. It is
--- Cesar Aracena <[EMAIL PROTECTED]> wrote:
> When I make a form in a web site for a visitor to
> send me some comments, I use nl2br() to put things
> like line breaks and see what the visitor wants me
> to see.
>
> But what happens if I have a web form to input some
> text into a TEXT cell in My
Someone else might be, you just happened to request a page from the same
server process
Justin French wrote:
on 16/01/03 11:59 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
If the server crashes, it is definetly NOT fault of your scripts, the
server/php should return errors when there is so
$_SERVER['SERVER_ADDR'] gives the address of the server running the php
script
$_SERVER['REMOTE_ADDR'] gives the client address or the proxy address. (be
careful here, storing a proxy's IP is next to useless)
$_SERVER[' HTTP_X_FORWARDED_FOR'] gives the client address if they're behind
a proxy (if t
Hello friends.
I want ot redirect users to another page after successful login. Can someone please
help me with the PHP code for redirecting? Or point me to some help page?
thanks
denis
> directly. My main question is if all of the code inside an included PHP
file
> is put inside one or more functions this should prevent anyone from
running
> any of that code by directly calling that PHP file correct? There is no
way
> for them to invoke a function just from a URL assuming I have
php.net/header
check out the examples
Andrew
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 4:21 PM
Subject: [PHP] Redirecting
Hello friends.
I want ot redirect users to another page after suc
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Cesar Aracena <[EMAIL PROTECTED]> wrote:
> > When I make a form in a web site for a visitor to
> > send me some comments, I use nl2br() to put things
> > like line breaks and see what the visit
--- "Denis L. Menezes" <[EMAIL PROTECTED]> wrote:
> I want ot redirect users to another page after successful
> login. Can someone please help me with the PHP code for
> redirecting?
You have many options:
1. After a successful login, display the proper page to the
user instead of redirecting. Th
Well, here's your chance to criticize a newbie.
As an exercise in learning PHP I have written a rot-13 script. It is at
http://hutnick.com/rot13/index.html?show_content=1 .
I'm soliciting comments on style, technique, etc. Be brutal, but don't
get your feelings hurt if I don't take your comment
thx for the replies
Miguel
"Maxim Maletsky" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
mail() function @ http://php.net/mail
--
Maxim Maletsky
[EMAIL PROTECTED]
"Miguel Brás" <[EMAIL PROTECTED]> wrote... :
> Hi gents,
>
> i have a script to manage
Hi,
i made a page to display some user details and then clicking on the user
name it goes to another page to send a mail via mail() function.
here is the line of the first page
name;
?>
when click on user name, it goes to the mail_active.php?[EMAIL PROTECTED]
on the mail_active.php page, how do
I tried. But I get an error as follows :
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/www/virtual2/66/175/19/84/html/maintenance.php:11) in
/usr/local/www/virtual2/66/175/19/84/html/maintenance.php on line 30
My code is as follows:
Untitled Do
On Friday 17 January 2003 01:07, Denis L. Menezes wrote:
> I tried. But I get an error as follows :
>
> Warning: Cannot add header information - headers already sent by (output
Try searching the archives on the above error.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Sof
With regards to Marek,
I don't see how there would be two queries, because there row conisists of
image properties and image data. So when i select the required row(s), I
will have properties and images. So it will be 1 query, of course it is a
big (size-wise) query.
With regards to Jason,
Your ap
You must remember that Images are embedded in HTML using the tag. Each
image displayed on a Webpage is a result of a seperate HTTP request to the
server; i.e. a PHP call in this case. Unless you are cache the SQL result,
at least one query is needed per image.
Regards,
Daniel Kushner
Hi guys
I have upgraded from PHP 4.2.2 to PHP 4.3.0 and some of my php script
got broken due to that.
This scripts use backticks to execute functions, the problem is the
environment where that functions are executed.
I have this test code:
$dir=`pwd`;
echo "I am on directory: $dir";
?>
If I ex
I ahve tried everything jason. It says that there should be no output before
the header().
I cannot still find the error. Can you please help in locating the error?
thanks
Denis
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2
I'm running PHP 4.3 and W2k with IIS 5.0. I have enabled php_gd and it does
show up when I do a phpinfo. The php_gd.dll is in the winnt/system32
directory (I've also tried it in almost every other directory too) and I get
these error messages:
Cannot add header information - headers already sent
You cannot have ANY output b4 sending a header unless you are buffering your
output. In your example you are sending HTML before your redirect - the
redirect has to happen before you do any kind of HTML or any characters that
would get output to the browser.
On 1/16/03 12:40 PM, "Denis L. Menezes
Hi!
>From manual (http://www.php.net/manual/en/function.header.php):
Remember that header() must be called before any actual output is sent,
either by normal HTML tags, blank linek in a file, or from PHP.
You need to start with header()...
Example:
http://www.example.com/');
?>
or you can use o
I think your problem is with the tag
<--
header
Also I'm not sure but the
might cause problems too
Try the if statement at the top of the document.
One more thing. I think that you can't add header info after , but I'm
not sure about this.
What I usually use for redirection is something like
On Friday 17 January 2003 01:37, Marc Cluet wrote:
> Hi guys
> I have upgraded from PHP 4.2.2 to PHP 4.3.0 and some of my php script
> got broken due to that.
> This scripts use backticks to execute functions, the problem is the
> environment where that functions are executed.
>
> I have this test
Thanks for all your help with my URL code problem!
I have come up with a solution that seems to half work and I can't
figure out what I need to do to get it fully functional. Given my
data string (text) from my database, this is what I do to replace the
URL text with a functioning link. I am ask
Thanks Greg,
I know a bit of PHP but the OOP is a bit harder to understand I think :)
I'll check out the PEAR classes.
Cheers,
Jordan
On Thursday 16 Jan 2003 12:25 am, Greg Beaver wrote:
> Hi Jordan,
>
> If you are doing this to learn PHP, that is great, keep plugging. If you
> want to see worki
Thanks John,
> Inheriting would probably be the most modular.
I thought this would be the way to go. Ill need to read up on this.
> > I haven't found any clear examples of this kind of OOP, only the real
> > basics
> > (which I still need help with by the way :) ).
>
> Use google. Do some more s
I don't know how do you get this answer, but try this:
name;
?>
Rafael Rodrigo
> Hi,
>
> i made a page to display some user details and then clicking on the user
> name it goes to another page to send a mail via mail() function.
>
> here is the line of the first page
> color="#808080">name;
> ?>
Here we go again.
I installed Apache and it works fine, I then installed PHP and all tests
show it works fine - but when I try to get the PHP modules loaded for Apache
in httpd.conf, the Apache server won't start again. The only error I get is
a Windows error box that says "The requested operation
Hi,
If you have a URL like:
http://www.whatever.com/page.php?[EMAIL PROTECTED]
Then in your script $email will already be set to "[EMAIL PROTECTED]".
This depends on register_globals being on, if I remember correctly, and
you'll want to be aware of the order for variable assignment (for POST,
GE
"Peter Hutnick" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm soliciting comments on style, technique, etc. Be brutal, but don't
> get your feelings hurt if I don't take your comments as gospel.
> References will help me take comments to heart.
Heck, I d
I realize that Zend produces a PHP development studio, but I'm looking for
something that helps the programmer use PHP (along with Javascript, CSS,
"web GUI" languages, etc.) to develop enterprise web _applications_ (like
for production data entry). I'd also like this studio to make available a
se
Leon Mergen said:
> Now, first of all, why did you this:
>
> "); ?>
>
> and not just:
>
>
Because short tags are evil ;-) My provider has short tags enabled, so
there is no getting around this bit of ugliness.
> only that I personally prefer to call a print() statement for
> everything
Do you
The first problem I cannot solve on my own:
I get the mail content from a cookie. Quite a big cookie since it is a
collection of 30 - 40 form values from another page. When recieving the
mail, the content come in ONE long string, and in some places with a \.
Of course, i dont want this to be printe
Hello Everyone,
I've attempted this many times, but have failed to understand it each time.
I want to make it easier for myself to deal with passing variables through a
form. So I thought, why not use a single array variable to do that. If I do
such a thing, what steps do I need to take to ensure
Hi,
I've seen this bounced around on the archives a bit,
but none of the advice on there is working for me.
I'm trying to do something very simple:
The file is in the folder, it has execute and write
permissions set, and the error given is "The image
cannot be displayed, because it contains
On Wed, 15 Jan 2003, Kevin Stone wrote:
> Chris I appreciate your response but please read my post again. I did not
> suggest using the IP for user identification. I suggested using it as a
> temporary id. I went on further to suggest to use sessions to identify
> individual users behind a proxy
>
> Header("Content-type: image/jpeg");
> $im = ImageCreateFromJpeg('1234_1.jpg');
> ImageJpeg($im);?>
>
> The file is in the folder, it has execute and write
> permissions set, and the error given is "The image
> cannot be displayed, because it contains errors.",
> which is not very useful.
I have been looking for an example of how to create a listing of items
in a table where you have the first item in the list have a link so
that when you click on it, it will open a page for editing the contents
of that item. So for instance you have a list of employees, and you
want to change t
Give about 1 MILLION sets of 1 to ~20 integers such as:
(15, 42, 57, 314, 1024)
I need to be able to compare any two sets and determine if any of their
elements are within, say, 20 of each other.
Example:
(10, 100, 1000) CLOSETO (50, 150, 1050) ==> FALSE
(10, 100, 1000) CLOSETO (15, 150, 1050)
session_destroy() do work when I logged out of the website. But if I'm
logged in and open a 2nd browser and try to log in. This where the script I
use to detect exisitng session and destroy it before generating a new one.
Problem is that session_destroy does not work on the 2nd browser...
So, my
IP address is not an effective solution. Anyone can use a 2nd browser on
the same machine. Also, if for a company with 1000 machine behind the
firewall, they all get one and the same IP address outside the firewall.
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
00a701c2bcdd$316349a0$6601a8
This should work as long as you are only including your include files from
scripts named index.php.
--Jacob
"Philippe Saladin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > directly. My main question is if all of the code inside an included PHP
> file
> >
Oh never mind. I found a work around to it. I can use the passthru
command. Like this...
--clip--
passthru("rm -f /tmp/sess_*")
--clip--
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> session_destroy() do work when I logged out of the w
1 - 100 of 147 matches
Mail list logo