Well, every version of every program have security issues, PHP 3 have
security issues as well as PHP 4.
Ask them for what specifics security problems are they talking about.
William.
El mar, 26-02-2002 a las 14:29, Tim Thorburn escribió:
> Hi,
>
> Consider yourself lucky - my hosting compan
Ben Clumeck wrote:
> I am trying to create website similar to ones that credit card companies use
> to provide their clients with transaction history of their credit cards.
> What I have seen is that they uses template pages and call the results from
> a database. When going to the different temp
Hi,
Currently running Win Me with pws, want to run php purely for testing.
Have just installed apace http://127.0.0.1 but need to turn off pws to make
this work, I have downloaded the following binaries from php.net:
PHP 4.1.1 zip package [4,953Kb] - 03 January 2002 and
PHP 4.1.1 installer [909
Hi PHPers,
If anyone is interested in a dedicated
Linux/Apache/MySQL/PHP server for a not-so-expensive
price, please contact me.
__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
--
PHP Genera
Because the my post non visibility in newsgroup?
Exuse me for english errorI Italian!
By Michele
--
Web Master di:
http://www.coopmediante.it
Web Administrator di:
http://www.mediateca2000.net
Good Day All,
eWeek has posted a poll that asks which database server is most critical
to your organization.
The poll tracks the following databases:
- IBM DB2
- Informix
- Microsoft SQL Server
- MySQL
- Ingres
- Oracle
- PostgreSQL
- Sybase Adaptive Server Enterprise
- Sybase SQL Anyw
Could you please elaborate?
Thanks,
Stephano Mariani
> -Original Message-
> From: PHP NY [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 26 February 2002 8 5
> To: [EMAIL PROTECTED]
> Subject: [PHP] Dedicated hosting
>
> Hi PHPers,
>
> If anyone is interested in a dedicated
> Linux/Apache
I am trying to sort out several technologies and how they fit together. The
basic problem I want to solve is to be able to use BrowserHawk, a JavaBean
by CyScape, from a PHP script. In researching how to do this (and there are
several relevant articles written) I have come across several different
How about LinuxJournal, or PHPNuke.org?
On Tue, 2002-02-26 at 13:29, Demitrious S. Kelly wrote:
> well my site isn't 'big name' but it's got a very cool catch to it...
>
> it's got an ftp indexer that I'm developing. You submit an ftp site, and
> it logs onto the ftp, grabs all of the filenames
You could also use netcraft and see who's running PHP. Also, I think
PHP.net has some info on this.
On Tue, 2002-02-26 at 13:29, Demitrious S. Kelly wrote:
> well my site isn't 'big name' but it's got a very cool catch to it...
>
> it's got an ftp indexer that I'm developing. You submit an ftp s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Consider the following:
mysql_select_db($db_name);
$result = mysql_query("show tables");
while ($rows = mysql_fetch_object($result)) {
echo $rows;
}
So why does this not return the Table names? I have even tried "echo
rows->T
Hi Ron,
Look at the mysql_list_tables function, it looks like it will provide what
you are are looking for.
http://www.php.net/manual/en/function.mysql-list-tables.php is the link to
the manual
Jason
-Original Message-
From: Ron Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February
Ok I have tried sending headers to the browser specifying the page but I am
still not having any luck. If anyone has any experiance with tricking the
web browser and more importantly the search crawlers into thinking that a
404 error page is an actual web page then please let me know how to
accom
Hello all!
How do I find out if a file was actually uploaded /without/ using
is_uploaded_file()?
My first though is that I should use fileowner() on the file and see if
it's the same as the user who runs PHP (Apache) - but how do I find that
out? I don't want to use exec("id -u") either becau
You could make use of style="overflow: auto (or scroll)" for a div
tag, if you are catering to IE5+ / NS6+ browsers.
I was playing with this trying to build a grid control, my web
server's down but here is some old code... within cells doesn't
work as I'd like, but scrolling the whole table is
Create a tmp file with the script and get the owner/group from that
My $.02
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 1:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] is_uploaded_file() emulation?
Hello all!
How do I find out if
try http://www.northjersey.com virtually the entire site is php MySQL
driven
On Tue, 26 Feb 2002, Chris Lott wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> It strikes me that my students really don't have a good grasp of what PHP
> is capable of doing, since they are getting bogged
Michele,
Please show some lines of code in your next message so we can better
understand your problem.
Hugh
- Original Message -
From: "Michele Salerno" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 12:09 PM
Subject: [PHP] Help me
Because the
That will result in a parse error. I think you mean
if (in_array($row['id'], $selected_users)) { /* execute */ }
J
Stewart G. wrote:
> if ($row['id'] in_array ($selected_users)) { // execute }
>
> =S.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Hi, if I use the script below, IE either crashes AFTER downloading or just hangs. Is
there a correct way of "finishing" a download? I have tried placing empty standard
HTML tags at the end. This stops the crashing but adds the actual tags as an extra
line to the downloaded file.
Thanks in adva
I am trying to separate html from php code. For more complicated pages I
intend to generate classes..but before I start doing that is there a
quick way to include html code that contains variables ? if the main
page has already defined those variables, are they going to be
automatically replaced?
Conor,
This works for me I even tried 6000 pixels and did not fill it. The
stripping of tags doesnt work so well but im sure youve already got
that covered so just replace it with your code.
]|\n)*>", "", $buffer));
}
fclose ($fh);
header ("Content-type: image/png");
$im = ImageCreate (640, 300
think of an included file as if it were part of the parent code.
so
file1.php
file2.php
file2.php would basically be:
HTH
Martin
-Original Message-
From: Pax [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] includes and var
I'm tired :)
-- Stewart
--- J Smith <[EMAIL PROTECTED]> wrote:
>
> That will result in a parse error. I think you mean
>
> if (in_array($row['id'], $selected_users)) { /* execute */ }
>
> J
>
>
>
> Stewart G. wrote:
>
> > if ($row['id'] in_array ($selected_users)) { // execute }
> >
> >
hello everyone.
which would be a better practice?:
1) using php/javascript to redirect pages
or
2) creating a soft (symbolic) link in UNIX
and why (if possible)?
thanks in advance.
gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Is there any way to prepend a string into the top of a file? - only docs on
fopen show how to append to the end?
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
-- We must come to see that the end we seek, is a society --
-- a
Thanx Eric!
Andy
"Erik Price" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Tuesday, February 26, 2002, at 01:34 PM, Chris Hewitt wrote:
>
> >> I am wondering if there is anywhere a list of characters which are not
> >> allowed in a unix file na
I don't think there is a way to do it automatically. Just read the file
into a variable, prepend the new line string, and rewrite the file.
-Original Message-
From: Nick Richardson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:41 PM
To: PHP General
Subject: [PHP] Prepend
No worries, I fixed it...
For anyone who is interrested, here is the script:
function get_header($url, $user_agent, $postvars="") {
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
if (isset($postvars)) {
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POS
Hi, I am using a MySQL backend which does not accept
Unicode, except in BLOB columns. So I need to convert
my text to HTML-ified Unicode (i.e. xx) ... for
instance, when someone submits via a form and I need
to insert this into the database. I want to use iconv,
but I dont see a character set f
Im not the best at writing regex, but this could be represented as
$filename = ereg_replace ("[^a-zA-Z0-9.-_]", "_", $filename);
Someone correct me if I am wrong (this is what im using to rename
uploaded files, seems to work).
-- Stewart
--- Erik Price <[EMAIL PROTECTED]> wrote:
>
> On Tuesda
$owner = fileowner ($file);
returns a string containing the owner or false. see
http://www.php.net/manual/en/ref.filesystem.php
-- Stewart
--- Bogdan Stancescu <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> How do I find out if a file was actually uploaded /without/ using
> is_uploaded_file()?
Thank you - but that wasn't the question - as you can see, I started the
second paragraph with a reference to that function - my problem is what
I compare the result to - i.e. how do I find out *my* UID, not the file's.
Mr. Kelly's solution should work, but it's rather absurd (from a PHP
point
Does anyone know if there is a risk of search engine's banning you (or
reducing your status) if you use $HTTP_HOST to redirect visitors to two
separate domains such as in the example below? Note: It's not a header
redirect. Instead I use an include statement which works because both
websites ex
try: http://www.php.net/manual/en/function.getmyuid.php
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 10:33 AM
To: Stewart Gateley
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] is_uploaded_file() emulation?
Thank yo
I think a content-length header might prevent this.
$.02
Bogdan
Petras Virzintas wrote:
>Hi, if I use the script below, IE either crashes AFTER downloading or just hangs. Is
>there a correct way of "finishing" a download? I have tried placing empty standard
>HTML tags at the end. This stops
Yeah, that's what I looked at before posting - but there's a catch:
"Returns the user ID of the **current script**, or *FALSE* on error". :-(
Bogdan
Martin Towell wrote:
> try: http://www.php.net/manual/en/function.getmyuid.php
>
> -Original Message-
> From: Bogdan Stancescu [mailto:[E
in case anyone is wondering... I fixed the problem (it appears) by using
header("HTTP/1.0 200 OK");
in case anyone else runs across this problem. Just setting header(Status:
200 OK"); wasnt enough it appears...
- Original Message -
From: "Ben Turner" <[EMAIL PROTECTED]>
To: <[EMAIL PRO
Tks Martin,
I guess I am doing something wrong.. I have the main document like that
$var1=11;
$vae2=22;
$table_html= require_once("includes/table1.php");
table1.php
..$var1
?>
I know my variables are not being parsed..plus the table definition is
being placed
I only want use those files
try changing the file table1.php to:
..
-Original Message-
From: Pax [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] includes and variables
Tks Martin,
I guess I am doing something wrong.. I have the main document like th
Forgive me if this is a very basic question, i can't find the info in the
manual/function list.
I want to encrypt a password w/ a salt string that is randomly generated (10
chars), and then prepend the salt string onto the beginning of the encrypted
string, save the string in a database, and move
thanks to all who help me regarding this problem, i've finally know the
cause of the header error message, i've got an HTML output on top of the
script (?>
To: "Michael P. Carel" <[EMAIL PROTECTED]>; "george Pitcher"
<[EMAIL PROTECTED]>
Cc: "php" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27,
On Tuesday, February 26, 2002, at 04:19 PM, Ben Turner wrote:
> Ok I have tried sending headers to the browser specifying the page but
> I am
> still not having any luck. If anyone has any experiance with tricking
> the
> web browser and more importantly the search crawlers into thinking
>
My $0.02--might have absolutely nothing to do with the problems you are
having!
I had strange problems with my image code which were due to the font I used.
My code would run sometimes and sometimes die in the gate. Seems that you
need a "unicode" font, and not all true type fonts are such.
Hopin
Some arrays use the format:
$row->data
while some use:
$row['data']
What is the terminology of these types so I sound like I know what I'm talking about.
Also, when and how do each come about?
Dean
The following lists 12 items from a fruits table.
$results = mysql_query("SELECT ID, date, appleprice, orangeprice, pearprice
FROM fruits");
while ($data = mysql_fetch_array($results))
{
?>
- -
-
<>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I'm trying to use the code below to redirect a certain hostname (in this
case splitrock.net) to a different website (in this case www.test.com) As it
is now, I am (using splitrock.net) not being redirected at all. This code
will be prepended to every document on my server to prevent certain people
In a nutshell:
$row->data is referring to an object, not an array, that has an attribute of
"$data"
$row['data'] is an associative array - ie, indexes are non-numerical - with
an index of "data"
Martin
-Original Message-
From: Dean Householder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
with a bit of cheating... use a table...
(nb: this code not tested, but logic has)
"
?>
-
-
";
$i++;
}
?>
-Original Message-
From: Craig Westerman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:43 AM
To: php-general-list
Subject: [PHP] mysql php - while loops
I am using a script to send mail directly to the SMTP socket. It
seemed to work OK for the first 200 emails - then stops sending them.
Is there something I'm missing here?
As you may be able to tell I'm trying to come to grips with how
sockets/SMTP works. Is it like this...
1. I open the socket
Hello,
I do not understand why I can't display images retrieved from MySQL
on my browser(IE 4.0). When I retrieve the image from MYSQL I set the
Header function to change the type of content(image/gif) I am sending to the
browser. However, the browser displays an box with an X in it. I
So i have a 'help' secion for an app i have done... and i'm lazy, so just
wanted to check if anyone knows where i can get this:
I want users to be able to search through the help section for specific
text... anyone know of a script out there that will do this...?
//Nick Richardson
[EMAIL PROTECT
Yes and no.
The directory would use an inode, but splitting the stores into separate
directories would help drastically improve cpu and memory utilization
when working with large numbers of files (10's of thousands)
Right or wrong that's what I have to say
-Original Message-
From: Andy
Does your script take longer than the default 30 seconds? It might be timing
out and dying. You may just need to give the script time to finish by making
the max_execution_time longer.
"Matthew Delmarter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am usi
why my modules php does not load in my server linux , what iam doing next
step to load modules php ? iam install php from rpm modules
thanks
Roy Daniel , ST
IT Developer System - PT BERCA COMPUTEL
My E-mail : [EMAIL PROTECTED]
and : [EMAIL PROTECTED] / [EMAIL PROTECTED]
My ICQNumber : # 1
Hello,
I have come across a strange error when using the XML parsing functions.
Instead of printing the xml to the screen, like the functions do, I
decided to put these into arrays. It all seems to be working normally,
except for the "data" part (this is the non-xml data).
I can verify that the d
I read the tutorial for it on the php-gtk site, but I didn't see a thing
about how to run it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Teresa Narvaez wrote:
> Hello,
> I do not understand why I can't display images retrieved from MySQL
> on my browser(IE 4.0). When I retrieve the image from MYSQL I set the
> Header function to change the type of content(image/gif) I am sending to the
> browser. However, the browser displ
"Nick Richardson" <[EMAIL PROTECTED]> wrote:
> So i have a 'help' secion for an app i have done... and i'm lazy, so just
> wanted to check if anyone knows where i can get this:
It's refreshing to see someone who admits his laziness.
> I want users to be able to search through the help section
rh7.2/php4.1.1/openldap2.0.22
i need help with my short php script to search and display user attributes. following
is the
output from my script:
connect result is Resource id #1
Binding ...Bind result is 1
Search result is Resource id #2
Number of entires returned is 1
Getting entries ...
Dat
login.htm
form submits information
login.php
session_start();
$HTTP_SESSION_VARS["username"]=$formUserName;
header("Location: displaypage.htm");
displaypage.htm
show some static stuff
links to formpage.htm
formpage.htm
form submits informa
Did you test and make sure the variable is set?
login.php
session_start();
$HTTP_SESSION_VARS["username"]=$formUserName;
echo $HTTP_SESSION_VARS["username"]
header("Location: displaypage.htm");
Also, for grins ang giggles, make the middle page in the chain a HP, st
Not HP!!! HTML!!! ( I HATE Outlook's spellchecker sometimes.)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:46 PM
To: Dave; [EMAIL PROTECTED]
Subject: R
Hello,
I need to run one php script using crontab.I am having this doubt.If
the phpscript run in the command prompt then only we can run the script
using crontab...please tell me how do i go about with this..
-Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Compile php as a CGI then write a script that begins as such.
#!/usr/local/bin/php -q
Chmod on file and place in crontab.
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 11:11 PM
Subject: [PHP] Crontab
>
>
>
Hi all,
I'm debugging a php script that is using several environmental vars that I'm not
familiar with:
HTTP_VIA
HTTP_CONNECTION
HTTP_PRAGMA
HTTP_FROM
HTTP_RANGE
-- Does anyone know what these are? or where I could find out about them?
Thanks for any input,
Sean
--
PHP General Mailing List
This is the wrong list to bring up such an issue.
However you can use:
parentWinLocation = window.parent.location.href;
In the future please keep messages to this list relevant to PHP.
=S.
On Fri, 25 Jan 2002, Unger wrote:
> Hello!
>
> How can i get the url of the main page with a script,
Hi,
Good to see u'r reply.
My problem is where can I get those "methods"
documentation.
Can anybody experts in Windows can help me out !!
Thanking You,
Kumar.
On Wed, 27 Feb 2002 J Wynia wrote :
>Don't have sample code handy, but you'd create a new Word, Excel
>or
>Powerpoint object (
I am trying to figure out how to access a Microsoft NT Exchange Server using
PHP on windows. I have NOT found success using IMAP to connect to the
supposedly IMAP compliant server or trying to use COM to access that server
via Outlook. I have considered trying to invoke the MAPI API, but not sur
Is it possible to mail files with the mail() commando?
Or can it be done on a other way?
Kind regards
Sven
see whether the command line option is available on your server.
sanjay
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 10:41 AM
Subject: [PHP] Crontab
Hello,
I need to run one php script using cronta
On Wednesday 27 February 2002 13:11, Uma Shankari T. wrote:
> Hello,
>
>
>I need to run one php script using crontab.I am having this doubt.If
> the phpscript run in the command prompt then only we can run the script
> using crontab...please tell me how do i go about with this..
You can have
It keeps telling me that when I try to run php-gtk. Can someone tell me
where to get this .dll from? Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've use a script that I put in my cron.weekly to execute a php script and
it works fine :-)
#! /bin/sh
#Run Report Generation Script
/usr/bin/php4 /usr/share/netsaint/genmonrep.scp.php
Kind Regards
Sven
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: mercredi
Question I have is, Anyway know of a better way to store temp
information?
I have a problem that a script I use, uses many pages and after each
page the information from the form
Is stored and the next page is shown ect
It uses more than 20 variables so I can not store the data in cookies.
on 2/27/02 2:09 AM, Leif K-Brooks at [EMAIL PROTECTED] wrote:
> It keeps telling me that when I try to run php-gtk. Can someone tell me
> where to get this .dll from? Thanks
Well, I found that dll, but now I'm getting another error. "The PHP4TS.DLL
file is linked to a missing export OLEAUT.DLL
What you are describing is exactly how session management works, storing
things in a file in the /tmp directory. Perhaps you could consider using
the session save handler functions to store the session data in your
protected database (MySQL?).
Warren Vail
-Original Message-
From: Chri
The data will be stored in mysql, but I don't wish to store in sql
untill its completed.
In case a user leave the application before completing it.
---
Chris Kay, Eleet Internet Services
[EMAIL PROTECTED]
---
-Original Message-
From: Warren Vail [mailto:[EMAIL PROTECTED]]
Sent
These are all HTTP request headers. See the HTTP spec for details. They
have nothing to do with PHP.
-Rasmus
On Tue, 26 Feb 2002 [EMAIL PROTECTED] wrote:
> Hi all,
>
> I'm debugging a php script that is using several environmental vars that I'm not
>familiar with:
> HTTP_VIA
> HTTP_CONNECTIO
Hi!
Yesterday i noticed some strange thing with connection PHP to
postgreSQL. I have some script to tell me how long does it take to
generate some page.
And i noticed that this time is longer if i connect to socket. Isn't
this a little strange. I know that connection to socket must be
quicker th
101 - 180 of 180 matches
Mail list logo