I hope you don't live in Bethlehem
Erik Price wrote:
> On Thursday, April 4, 2002, at 04:40 PM, Thomas Deliduka wrote:
>
> > I have a quick question for a veteren of sessions out there.
>
> I'd trust sessions with my life.
>
>
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> [
I have one question about operations that can be done with XML.
What I need to do is build a web site which stores some data in XML
files and retrieve that data. It's basically the system that allows
users to register, login and upload and download some files. It needs to
use XML.
The questi
Hello,
I'm working with sessions. It's work fine with PHP 4.0.6 and when I
update to 4.1.2. I've seen a strange thing, I canno't explain:
Before when a client consult our webserver with no cookies enabled, the
PHPSESSID was been add in the URL automatly and when the cookies are
enable, the PH
the easiest way would be:
";
//
// output:
// abcdefghi
//
//
// or a regex:
$str = "abc def ghi";
$str = ereg_replace(" ", "", $str);
echo $str."";
//if you want to strip any whitespace character:
$str = "abc def ghi";
$str = preg_replac
Hello
,is it possible to upload file that is bigger than 8MB thrue FTP upload
programmed in PHP? I need send attachments up to 50MB by FTP. It's for a
graphic studio which works with big files.
If yes how?
Thank you
Zavodsky
[EMAIL PROTECTED]
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno an
On the page you start the session,
${session_name()} isn't set. so if you need that on the first page too, you
should do the following
"Thomas Deliduka" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I use them because 'sid' isn't always populated and, w
Hi All,
I am new to PHP and am having a bit of trouble. I have a recordset using...
$events = mysql_fetch_array($recordset);
this drags in 3 columns from my table...
event_id, event_title, event_date
I want to search the recordset for a given date, if found I want to be able
to reference even
Lately I have noticed many scripts that all consist of one file even though
they create the appearance of many pages. For example, you would open
setup.php and a form would appear. Then after you complete the form a new
page appears with the results of your form, however the URL is still
setup.php
Lets say I have a guestbook, and that I only want to show the last entry on
my first page
I cant figure out a good way to do it..
haven't managed to find a mysql command that can do it either, but maybe
there are? :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
"Rarmin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have one question about operations that can be done with XML.
> What I need to do is build a web site which stores some data in XML
> files and retrieve that data. It's basically the system that allows
Hello,
I 've found where the problem is.
It is with the last update of PHP 4.1.2 of Apple (Apple security Update
of 5th April). This library seems light. Also there isn't the GD Library.
When I go back to a version 4.1.2 by entropy.ch, All is OK. Session
works fine and GD Library is present.
E
try the following:
$text = "";
$fp = fopen("http://www.yahoo.com";, "r");
while (!feof($fp)) {
// read a line and strip all php and html tags
// there's a third optional parameter, which
// allowes to specify tags not to be replaced
$text .= fgetss($fp, 4096);
}
fclose($fp);
echo
Hi Sebastian!
> Lately I have noticed many scripts that all consist of one
> file even though
> they create the appearance of many pages. For example, you would open
> setup.php and a form would appear. Then after you complete
> the form a new
> page appears with the results of your form, howev
$db = mysql_open();
$results = mysql_query( "select * from something", $db );
while( $row = mysql_fetch_array( $results ) ) {
processing using $row["column"] as reference
}
Ben
At 11:21 05/04/2002, Phil Ewington wrote:
>Hi All,
>
>I am new to PHP and am having a bit of trouble. I h
You'de be better off using the built in nl2br() function
(http://www.php.net/manual/en/function.nl2br.php) it'll have the same effect
as a it'll insert a tag everwhere a newline character occurs. Where 2
newline characters occur it will produce which in your HTML will
break your text in the sam
or instead of fopen, use:
$fp = fsockopen("http://www.yahoo.com";, 80, $errno, $errstr, 30)
or die ("Could not connect to yahoo.com");
// wait for answer (replacement for deprecated set_socket_blocking)
socket_set_blocking($fp, 1);
i forgot to "die" in the example below, if connection could no
Sounds like you'll have to use PHP to to first create the images. Then in
your output page just include some javascript to rotate the images. If you
have to you can use PHP to write the javascript.
"Jessica Lee Tishmack" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> can you
add to your mySQL query:
" order by id desc limit 1"
This will order your data by your primary id (change 'id' to whatever you
auto-increment) in the descending order and will limit the results to 1
record.
Cheers,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Beg
we still use include();
setup.php has something like:
if(file_exists($page) and ...more...controls..)
include_once $page;
then the $page.php is where you have a part of your site.
You can pass $page as the GET variable: setup.php?page=page.php
and so on
Maxim Maletsky
Founde
this should do the trick:
SELECT MAX(field) from table
you have to use MAX to get the highest value in field.
Michael
"Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]...
> On Friday 05 April 2002 18:27, Hawk wrote:
> > Lets say I have a guestbook, and that I only
Hi Thomas,
> What is the opinion, are sessions reliable enough to go through the step
> process?
We are runnig some online shops for our clients based on PHP. The checkout
process is always based on sessions and we never had trouble with the
session management. If you are in doubt with the stan
FYI:
is not same as . P is paragraph and br is just a line break of
the text. So, depending on your text format the lines broken twice might
(normally ARE but not too noticeably) look different.
try to mess with CSS and you'll see the difference about how browsers see
those both ways.
I
Sounds like you might be trying to do things the hard way. Wouldn't it be
easier to simply set the table widths as a percentage rather than an exact
width in pixels?
Eg. width="50%"
The above example will set the table width to 50% of the browser window
width. Or maybe you could use a bit of D
Hi
php-4.1.2
linux RH 7.2
I have created a small php extension. The extension works as expected
when I compile it using
$ ./configure --with-foo && make # foo is the extension
It gets compiled into the php binary. All is well, but I would like to
compile my extension as a loadable modules (
Jason,
This is for an events calendar, I want all the dates form the db but when I
am generating the individual days for the calendar I need to know whether
there is an event for that day, hence pulling out all the dates from the db.
As I am looping through all the days in a month to dynamically
hi,
does anybody have some experience with running PHP with different permissions and
modules.
The only way that I imagine is to have 2 (or more) independent PHP installations with
separate php.ini files.
But this is stone age technique... I am sure that PHP has some kind of ini loading
funct
> Well, I think I should give a better explanation. I have been
> seeing a lot
> of scripts that appear to be on multiple pages. For example:
> You open file.php, and you are greeted with a form asking
> your name. You
> give in your name and then submit the form. After you submit
> the form y
I am running PHP and Apache and have a problem connecting to an Ms Access
database
I cannot connect to my database. I am using an Apache Server with PHP. Now
as far as I can see these work fine apart from some dll files in PHP.
I have also set up an ODBC connection to my database, but when I t
Running php ver 3.0.12 and mysql ver 3.22.32 on a linux box.
Php installed as apache module
The script im running takes a long time to execute (20-40 minutes) and
includes
hundreds of selects and inserts into the database, and also
opening/closing lots of files.
And quite often, the script just st
i don't like javascript. It's pain in the ass to get this working on more
than
IE and Netscape. Btw, to get it working on IE and Netscape is annoying
enough
already imo.So what i would do is registering some sort of variable in the
session, that shows you if the page has been submitted already.
On
Can you help me?
When I call the following script:
(1) \r\n",
(6) "Return-Path:<[EMAIL PROTECTED]>\r\n");
(7) exit;
(8) ?>
I get the following error message:
Warning: Wrong parameter count for mail() in ... (file_name) ... on line 6.
By the way, I tried it with and w/o the \r.
Any sugge
On Friday 05 April 2002 20:49, Anthony Rodriguez wrote:
> Can you help me?
>
> When I call the following script:
>
> (1) (2) mail("[EMAIL PROTECTED]",
> (3) "Test",
> (4) "Test",
> (5) "From:SBW Research <[EMAIL PROTECTED]>\r\n",
> (6) "Return-Path:<[EMAIL PROTECTED]>\r\n");
>
Is there any functions or command that I can print out a page or a document
without using the browsers' print?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 05.04.2002 14:26, you wrote:
>Is there any functions or command that I can print out a page or a document
>without using the browsers' print?
If you have compiled php as standalone (I think it´s called the cgi)
you can use the exec("lpd docname"), if you have a printer on your box, or
in your
Hi,
I have an odd problem. I have intermittent loss of sessions happening, and
I've spent lots of time trying to figure it out, but I am at a loss here.
I found a post on phpbuilder that seem to be the same or a similar problem
from 2001:
http://www.phpbuilder.com/forum/archives/2/2001/3/1/1258
This is a general question, and I'm not trying for flames, but I've been
looking at various CMS sites:
php-nuke, post-nuke, php-website, typo-3, and ez-publish. I've probably
visited others, but haven't book marked them.
One thing which seems to characterize them all, is that they seem awfully
Miguel,
Thanks for the reply.
.
> MySQL has a command-line tool called 'mysqldump' which will output a text
> file containing all the table creates and inserts necessary to recreate
> the database.
O.K.
Now I have a .txt file of my sql statement.
...
If this is a web-page you are generating, I believe browser timeout is 5
minutes.
-Original Message-
From: Ando [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 6:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP stops execution without error message
Importance: Low
Running php ver
At 05.04.2002 12:31, you wrote:
>
>Jason,
>
>This is for an events calendar, I want all the dates form the db but when I
>am generating the individual days for the calendar I need to know whether
>there is an event for that day, hence pulling out all the dates from the db.
>As I am looping throug
Ronan,
Check these:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q306269
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q174943
It's most likely an issue with how you have your DSN setup or how apache is
running.
Best regards,
Andrew Hill
Director of Technology Evangelism
ht
Unfortunately it doesn't. That is why I am kind of puzzled by the
situation.
--
Joshua E Minnie
CIO
[EMAIL PROTECTED]
"Don't work for recognition, but always do work worthy of recognition."
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote
>
> I think what yo wrote should be working fine for you.
>
Assume the following file is named "this_script.php":
This is all in ONE file.
\n";
do some other stuff
exit;
}
?>
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 4:19 AM
To: PHP General List (PHP.NET)
Subject: [PHP] Includ
On Friday, April 5, 2002, at 02:50 AM, Miguel Cruz wrote:
> Certain characters have special meanings in string literals (that is,
> strings you explicitly type into your PHP source code) but if you get
> them
> in via other means (reading from file, reading from form submissions,
> etc.) then
Is there a way with PHP to determine screen resolution size???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear All,
Sorry to trouble you with this simple question!
if I have this php code:
echo "http://abc.com/test.php?xyz>try";
how would I process the xyz from test.php?
Any thoughts would be greatly appreciated!
--Wo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Since you didnt make it clear, do you even have MySql and php on your
server? Are you looking to just move your data or looking to get php & mysql
installed on the server as well? (SERVER = production site, not localhost)
if you just wanna move data, like everyone else said phpmyadmin rocks, but
On Friday, April 5, 2002, at 09:55 AM, cyberskydive wrote:
> So I wanna learn how to code properly with register_globals off, I
> reead on
Good idea, it's not really harder than doing it the old way and it helps
you visualize where your data is coming from. I actually prefer it this
way.
Dear PHPers,
Thanks for the extra hands!
They all work!!
--Wo
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Wo Chang" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 10:00 AM
Subject: Re: [PHP] how to process URL parameers
>
> On Friday,
Ok here is my problem, for one I am new to php and would like a new pair of
eyes for this piece of code, and second what I would like to accomplish is
putting the contents of a directory into an array and then pulling the
contents of that array into a select box for further processing... If
someon
no, there's no way.
But, you could use JavaScript to do this job and appnend the values to URLs
as GETs.
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
www.PHPBeginner.com
[EMAIL PROTECTED]
Ron Allen writes:
> Is there a way with PHP to determine screen r
Cyberskydive wrote in message:
> Since you didnt make it clear, do you even have MySql and php on your
> server? Are you looking to just move your data or looking to get php &
mysql
> installed on the server as well? (SERVER = production site, not localhost)
...
Yes. I have
how about that:
$file\n";
}
?>
in your example there are two mistakes:
1. "while ($file = readdir($dir))" is wrong and should be "while (false !==
($file = readdir($dir))". (see php manual readdir)
2. "$file_count .="$file";" is not inside
the loop,
so you will only get the
Since I ran this on Win2000 machine, I changed name of directory:
You were right on the money with your code; just a minor mod or two was
required:
$filex\n";
}
$form = "\n".
"$file_count\n".
"\n".
"";
// close directory
closedir($dir);
print $form;
?>
outputs the following:
.
..
activities.txt
It works great using the foreach statements, but for some reason couldn't
make it work the other way. Oh well, no one ever said there was only one
way to do things when programming. Thanks for your help.
---
Joshua E Minnie
CIO
[EMAIL PROTECTED]
"Don't work for recognition, but always do work
For anyone who may have missed the recent debate:
We seem to have come down to two groups:
the majority seem to be headed for a web-based
searchable FAQ, while a small minority - myself and
two or three others - want a succint text-based
FAQ to post on the newsgroup at regular intervals.
As the
Ok I tried a different way to do it and this is the resulting code... I
still need to be able to make some hidden fields so the contents of the item
selected may be passed to another script which will stick the path of the
file into a database table if anyone wants to give me a hand with that part
Hey Rick, thanks a ton... you have helped me out alot on this list. I got
the code working probably about the same time you and another gentleman
posted the same fixes I made, however I now have another question about
adding a hidden field to take the results of the users selection and passing
it
On Friday, April 5, 2002, at 10:36 AM, Wo Chang wrote:
> So, if I want to include multiple parameters,
> I'll use something like: ?a=1?b=2 right?
No, actually in the querystring the ? only serves to separate the URL
from the querystring. So you can only use it once, immediately after
the UR
On Friday 05 April 2002 18:27, Hawk wrote:
> Lets say I have a guestbook, and that I only want to show the last entry on
> my first page
> I cant figure out a good way to do it..
> haven't managed to find a mysql command that can do it either, but maybe
> there are? :)
The only reliable way to do
I must be missing something.
Just add a HIDDEN type in your form. It will be sent with all your form
data.
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Directory to array to select box...
Hey Ric
So adding a hidden field would definately pass the contents of the select
box to the other script so I am not doing anything wrong with this portion,
but what if I wanted to append the path of the file name? Any tips?
Thanks,
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
the contents of the SELECT box and the contents of the HIDDEN field are
separate entities.
Append the path upon transfer to the next PHP script
Show us what you REALLY want to do here instead of keeping us guessing...
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Is it okay practice to condtionally include php files that contain
only classes or functions (as opposed to just straight code)? The
result is a class or function inserted right in the middle of an if{}
block:
} elseif ($var=='a')
{
include('temp.php');
$obj = new foo;
echo
It's okay to do so. That's why include() was created; to provide
conditional inclusion.
-Original Message-
From: Andrew Warner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: [PHP] conditionaly including classes/functions
Is it okay pra
I want to be able to refresh my browser window after a submission to a database. Is
there a reliable function out there that can accomplish this?
Kris
Thanks Eric, very good info!!
For now, I jsut process the string after the "?".
Things working fine.
Many thanks!
--Wo
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Wo Chang" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 11:14 AM
Subject:
Sorry, here is what I have thus far... everything is working except I am
just not sure how to pass the result of the users selection to another
script, I have added the hidden input type to try and solve it but I think I
am doing something wrong, maybe I need to put the hidden input type on the
se
Hey All,
I have recently been trying to create some logs for the install script I
have been making (to make it easier for me to diagnose problems) but I am
wondering how to create and write to text files. I know about the fopen()
and fwrite() functions, which theoretically should enable me
On Thursday, April 4, 2002, at 12:28 PM, Andrew Warner wrote:
> Is it okay practice to condtionally include php files that contain only
> classes or functions (as opposed to just straight code)? The result
> is a class or function inserted right in the middle of an if{} block:
It is better
ok, i'll try to help, but first use "while (false !== ($file =
readdir($dir))". ;)
why do you need hidden fields on that page? to determine which file
the user has selected? hmmm...ok, let's see:
The user sees your form, selects the desired file and submits the form.
Now the page processing the re
When ad_done.php3 is called, it will receive a variable named $files.
Change:
$file_name";
to:
";
$files will contain the value of the file selected
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] D
Yet another regexpr question.
If I have as part of a text:
...and then 'the quick brown fox jumped over the lazy dog's piano'...
How can I substitute the single quote in "dog's" with say \'
I want to aply a substitution for only the single quote that is between two single
quotes and leave the re
sure you can use javascript in your php. php is serverside and produces
the page. the webserver sends then this produced page to the client.
so javascript is the same as html for php. it's just some lines of text.
"Joe Keilholz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:
http://www.php.net/manual/en/function.printf.php
try sprintf to format the string and then fwrite
I use text files to log debug msgs in my programs as they are not too heavy
duty applications.
- Original Message -
From: "Sebastian A." <[EMAIL PROTECTED]>
To: "PHP General List (PHP.NET)"
the thing is, using the methods I described in my first post, the
superglobals or autoglobals arent working. I cant figure out why, and , like
the other guy said, most books dont include this feature in a topic for
discussion.
Can anyone offer advice?
"Cyberskydive" <[EMAIL PROTECTED]> wrote in
I have 2 PHP books
the first is called PHP fast & easy web development -from primatech
the second is called CORE PHP PROGRAMMING by Leon Atkinson
I like them both, and I was glad I read fast & easy first, i like core php
alot, havent read the whole thing yet, been kinda referencing around it, b
On Friday, April 5, 2002, at 12:09 PM, cyberskydive wrote:
> the thing is, using the methods I described in my first post, the
> superglobals or autoglobals arent working. I cant figure out why, and ,
> like
> the other guy said, most books dont include this feature in a topic for
> discussion
perhaps:
$FFR = array("TU4R" => array("data" => array(array("count" => "TU4R is 0"),
array("count" => "TU4R is 1"),
array("count" => "TU4R is
2"))),
"PH01" => array("data" => array(array("count
On Friday, April 5, 2002, at 12:12 PM, cyberskydive wrote:
> what are your opinions and what are some other grest books out there?
grest -- is that like "great" and "best" ? ;)
I think that Visual QuickPro PHP Advanced, which just came out a month
or two ago, is pretty good. I learned a lo
> $number = $sumItUp[$name];
> $number++;
> $sumItUp[$name] = $number;
this could be done easier:
$sumItUp[$name]++;
:)
"Scott Fletcher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> I'm a little baffled on why the array is not working t
after database submission, header("location: ...") re-directed to the script
you wish to go to
-Original Message-
From: Kris Vose [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] refresh
I want to be able to refresh my browser window
addslashes($textline)
-Original Message-
From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] regexp for ' replacement
Yet another regexpr question.
If I have as part of a text:
...and then 'the quick brown f
try creating a script with fopen(), fwrite(), etc.
When you run into problems, ask here.
$filex = fopen("myfile","w");
fwrite( $filex, "write this here");
fclose($filex);
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 10:29 AM
To: PHP Gener
http://dev.zaireweb.com/phpcoder.exe
That should be the file
- Original Message -
From: "Charles Little" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 4:59 AM
Subject: RE: [PHP] php+myslq+IDE
> > Try PHP Coder (not Maguma's Version, becuase PHP Coder kicks
Nop. I don't want to affect the first and last ' of every line.
On Fri, 5 Apr 2002, Rick Emery wrote:
> addslashes($textline)
>
> -Original Message-
> From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 05, 2002 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: [PH
> -Original Message-
> From: Andrew Warner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 11:29 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] conditionaly including classes/functions
>
> Is it okay practice to condtionally include php files that contain
> only classes or functio
On Fri, 5 Apr 2002, Anthony Ritter wrote:
> Now I have a .txt file of my sql statement.
>
>> As others have suggested, you can use phpmyadmin to import this file, or
>> you can just pipe it into the mysql command-line tool on the server once
>> you've created your database. Look inside the file
For security, you can modify your code so that you check
the $_POST elements instead of using the magic globals.
That's all well and good.
However, someone copy and save your HTML to their local
machine, change some values, change the "Action" page of the
form to be http://www.yoursite.com/form
On Fri, 5 Apr 2002, cyberskydive wrote:
> So I wanna learn how to code properly with register_globals off, I reead on
> PHP.net about the new auto globals and inmy new php4.1.2 windows
> installation using php.ini-rec edited according to the intall.txt file, and
> a few changes from books I have (
On Fri, 5 Apr 2002, Jas wrote:
> So adding a hidden field would definately pass the contents of the select
> box to the other script so I am not doing anything wrong with this portion,
> but what if I wanted to append the path of the file name? Any tips?
This isn't an answer to your question, but
I was wondering if someone just point me to a good example of a PHP
interface for Authorize.net to work with ADC Relay Response. Thanks,
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 5 Apr 2002, Chris Boget wrote:
> For security, you can modify your code so that you check
> the $_POST elements instead of using the magic globals.
> That's all well and good.
> However, someone copy and save your HTML to their local
> machine, change some values, change the "Action" pag
> "Erik" == Erik Price <[EMAIL PROTECTED]> writes:
[. . .]
Erik> There is another way, it's a bit more involved. You open a
Erik> socket with the server and directly send the data as POST
Erik> data. This allows you to avoid having to bother with a
On Fri, 5 Apr 2002, Anthony Ritter wrote:
> Any idea what the cost is for the ISP to install mySQL on their end so that
> I can utilize my database that I've set up on localhost?
MySQL is free for that sort of usage, so it only costs their time. If
they've done it before, it takes about 5 minute
regexp is not what you need then
You will require a character-by-character search/replace
or try:
which produces:
$q= 'here's to you'
$a= \'here\'s to you\'
$z= 'here\'s to you'
-Original Message-
From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 11
yes, put the name of the PHP file
-Original Message-
From: Kris Vose [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 12:23 PM
To: Rick Emery
Subject: RE: [PHP] refresh
When I delete a record from a table in php it loops back to the table.
However, It does not show that the recor
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Thalis A. Kalfigopoulos) wrote:
> If I have as part of a text:
> ...and then 'the quick brown fox jumped over the lazy dog's piano'...
>
> How can I substitute the single quote in "dog's" with say \'
> I want to aply a substitution for only th
> > Is there any way to determine from where the post request came
> > from w/o using http_referer?
> No, nor with it.
I know that http_referer is unviable, that's why I asked if you can find
out that data w/o using it.
> Someone who wants to mess with you can supply any HTTP
> referer they wan
In article ,
[EMAIL PROTECTED] (Andrew Warner) wrote:
> Is it okay practice to condtionally include php files that contain
> only classes or functions (as opposed to just straight code)? The
> result is a class or function inserted right in the middle of
On Friday, April 5, 2002, at 01:15 PM, Miguel Cruz wrote:
>> For security, you can modify your code so that you check
>> the $_POST elements instead of using the magic globals.
>> That's all well and good.
>> However, someone copy and save your HTML to their local
>> machine, change some values
1 - 100 of 176 matches
Mail list logo