At 17:06 10-6-03, you wrote:
Hi there,
I was wondering whether someone could tell me whether it is possible to use
PHP to check whether a user supplied email address is a pop address as
opposed to a web based address like hotmail. Have done some searching but
cant seem to turn any answers up.
You can now pop hotmail accounts as well, not to mention most email
providers have web based systems for their customers to read/send mail.
-
Chris Kay
Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
Telephone:
Chris
If you use a service like geoip I know that they have a list of all the free
email providers and you can check against this database. This is useful as
one tool for anti-fraud checking. Not sure if this is what you were looking
for, but I thought I'd throw it in.
Ade
sourceguardian.com
Hi there
We have a requirement to create a robot to search for specific keywords on
the web. Has anyone done this before and have any suggestions as to where we
should start? I don't think that this is a light undertaking! :) Are there
any existing tools out there which can be plugged in to do
Hi,
I have an upload script in which the user selects an image to upload, and a
brief description. I would like to have some kind of confirmation that
allows the user the ability to upload the file and description or go back
and make changes.
I was thinking of adding to the beginning of the
On Wednesday 11 June 2003 13:31, Ben Houlton wrote:
The bit of my code that I'm working on is here:
if ($submit) {
if ($id) {
$sql = UPDATE pages SET sub='$sub'
msg='$msg',name='$name',email='$email',newday='$newday' WHERE id=$id;
} else {
$sql = INSERT INTO pages
Hello,
On 06/11/2003 04:28 AM, Adrian Teasdale wrote:
We have a requirement to create a robot to search for specific keywords on
the web. Has anyone done this before and have any suggestions as to where we
should start? I don't think that this is a light undertaking! :) Are there
any existing
At 09:25 11-6-03, you wrote:
Chris
Actually Phil S started this thread
If you use a service like geoip I know that they have a list of all the free
email providers and you can check against this database. This is useful as
one tool for anti-fraud checking. Not sure if this is what you were
I have a blob in the database. I want to open a file=BLOB in the browser such
a way as if I clicked on a link. So if it is pdf, its opened by pdf plugin,
if it is doc, it is open by word plugin, if it is zip the dialog for
opening/saving to disk is opened, if it is jpeg it is directly displayed in
On Wednesday 11 June 2003 15:45, Artoo wrote:
I have an upload script in which the user selects an image to upload, and a
brief description. I would like to have some kind of confirmation that
allows the user the ability to upload the file and description or go back
and make changes.
I
If you want them to preview then commit, simply give the SEND PHOTO TO
SERVER button a name like:
input type=button NAME=send_photo value=SEND PHOTO TO SERVER
then in your code you can simply check for $_POST['send_photo'] before
calling the function that saves the image like:
At 16:27 09/05/2003, Manuel Lemos wrote:
I've been using the Turck MM Cache for 3 months now and the performance
is amazing :)
Yes, their benchmarks show that it pratically matches Zend products
performance, thus beating all the others.
Except they only compare it to the entry-level product from
So dont buy it...download a free copy and for the next month or so bounce
all the spam crap back to the spammersat least you will be taken off
some of their lists as your address will be marked as invalid...
Just my 2 cents coz thats what i am doing, cant do much else can we?
Cheers,
-Ryan
Isn't there a Don't Spam Me Or Else list now up and running as part of
the Data Protection Act and if your email is on there and they still send
spam you can report it to the officials of the country they originate
from?
So dont buy it...download a free copy and for the next month or so
bounce
Hi,
Is there a simple way to sort the following array structure by the array
cell 'title'='TXx'?
$x[0][0] =
array(array('id'=1,'title'='TXx'),array('id'=2,'title'='T2'));
$x[0][1] = array('id'=10,'title'='Test1');
$x[1][0] =
I'm trying to add a number from my database ($id) and add it to a number (1)
so that the link with http://x/index.php?id=#(+1) (no +1 this is just
example) has a the right id number not the one before it.
But I'm stuck on the problem where the http://x/index.php?id=0 not the
latest id
Not that I know of but if you know of such a lovely place...please do
enlighten me :-)
Besides a lot of spam comes from offshore servers where no real country is
responsible...and most countries are not bothered anyway.
Spam is big business and I read on google a site is charging around 150$ a
Hi,
if a string is:
$x=A.B. XYZ;
and if I post it as a hidden form control and echo $_POST['x'] then I
get:
A.B.
and not A.B. XYZ !
What should I do?
Mukta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A site like this could have it's legitimate uses such as a mail server for
a large net company but most people abuse it. The only problem these days
is that they don't use one email address, the program actually generates a
random address each time so it just comes in all the time! :o(
Not that
At 11:18 11-6-03, you wrote:
Hi,
Is there a simple way to sort the following array structure by the array
cell 'title'='TXx'?
$x[0][0] =
array(array('id'=1,'title'='TXx'),array('id'=2,'title'='T2'));
$x[0][1] = array('id'=10,'title'='Test1');
$x[1][0] =
Thanks for your reply.
But it is impossible to arrange the array as you suggest, in this case.
- Original Message -
From: Chris Hayes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 11:49 AM
Subject: Re: [PHP] Sort of a multidimensional array
At 11:18 11-6-03,
Hi all
I am having a few problems retrieving URLs from within PHP. I am using the
following to get the URL
?
$lines = file($URL);
foreach ($lines as $line_num = $line) {
echo Line #b{$line_num}/b : . htmlspecialchars($line) .
br\n;
}
?
It works fine even for .htaccess protect areas
Hi guys,
I am not really an expert in this I just learn what I need to know when I
need to know it.
I am building a flash tutorials section for my site
http://www.innovativedesigns.org.uk
The section is my first real attempt at using php+mysql without having to
check the books or reference files
if a string is:
$x=A.B. XYZ;
and if I post it as a hidden form control and echo $_POST['x'] then I
get:
A.B.
and not A.B. XYZ !
What should I do?
Learn HTML. Use quotes around your attribute values:
input type=hidden name=foo value=A.B. XYZ
---John W. Holmes...
Amazon
You can store image as BLOB in DB
I would recomend you download mysql manual from www.mysql.com, very useful
awlad
- Original Message -
From: - [ Paul Ferrie ] - [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 11:46 AM
Subject: [PHP] what can i store in the DB
I'm trying to add a number from my database ($id) and add it to a
number
(1)
so that the link with http://x/index.php?id=#(+1) (no +1 this is
just
example) has a the right id number not the one before it.
But I'm stuck on the problem where the http://x/index.php?id=0 not
the
latest
Hello,
On 06/11/2003 06:08 AM, Zeev Suraski wrote:
At 16:27 09/05/2003, Manuel Lemos wrote:
Have you been on vacation or just working really hard to beat Turck? :-)
I've been using the Turck MM Cache for 3 months now and the
performance is amazing :)
Yes, their benchmarks show that it
Paul
check the tutorial on Storing Images in Database
http://codewalkers.com/tutorials/35/2.html
good luck.. BTW cool flash work :)
- Original Message -
From: - [ Paul Ferrie ] - [EMAIL PROTECTED]
To: Awlad Hussain [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 12:05 PM
Subject: Re:
cheers m8
Just what i was looking for :)
Thanx again
Awlad Hussain [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Paul
check the tutorial on Storing Images in Database
http://codewalkers.com/tutorials/35/2.html
good luck.. BTW cool flash work :)
- Original Message -
At 16:42 11-6-03, you wrote:
if a string is:
$x=A.B. XYZ;
and if I post it as a hidden form control and echo $_POST['x'] then I
get:
A.B.
and not A.B. XYZ !
What should I do?
how do you assign the value to the hidden form element?
--
PHP General Mailing List (http://www.php.net/)
On Wed, 2003-06-11 at 10:42, Mukta Telang wrote:
Hi,
if a string is:
$x=A.B. XYZ;
and if I post it as a hidden form control and echo $_POST['x'] then I
get:
A.B.
and not A.B. XYZ !
What should I do?
Mukta
$x = 'A.B. XYZ';
--
PHP General Mailing List (http://www.php.net/)
Hi Folks,
Anyone know if you can use operators in a switch function? eg.
switch ($category){
case FFS || FHG || FRG:
$soldID = SFFS;
break;
case DPT || DL || DF || DI || DO:
$soldID = SDPT;
break;
}
Cheers
--
PHP General Mailing List
Hi all...
I already have a bbcode style parser for my content ie:
$output = str_replace([b],'b',$output);
$output = str_replace([/b],'/b',$output);
$output = str_replace([i],'i',$output);
$output = str_replace([/i],'/i',$output);
$output = str_replace([img],'img src=\',$output);
$output =
Cant be done mate, do it like this...
switch ($val){
case FFS:
case FHG:
case FRG:
//stuff
break;
case DPT:
case DL:
case DF:
case DI:
case DO:
//stuff
break;
}
The cases pass through each other till they hit a 'break'
;o)
Bix
Stephen Goddard [EMAIL PROTECTED] wrote in message
-Original Message-
From: Stephen Goddard [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 12:48
To: [EMAIL PROTECTED]
Subject: [PHP] Switch function problem
Hi Folks,
Anyone know if you can use operators in a switch function? eg.
No. Do this:
switch ($category){
case
Dear All,
Hope someone could shed some light over. :)
I am looking for something like strip_tags ($str, brhri) but in
reverse operation.
This will strip all tags except brhri tags, but I need to strip
these tags only (brhri) keeping the rest unchanged.
Any help / hint will be highly
Hello,
On 06/11/2003 08:49 AM, Bix wrote:
Hi all...
I already have a bbcode style parser for my content ie:
$output = str_replace([b],'b',$output);
$output = str_replace([/b],'/b',$output);
$output = str_replace([i],'i',$output);
$output = str_replace([/i],'/i',$output);
$output =
Hi,
Is there any example or/and tutorial for create php code with using php.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think we are wy off topic.
But how do you know if they are sending from a legit email account
I know if I was a spammer I would be using made up ones like
[EMAIL PROTECTED] [EMAIL PROTECTED] how hard is it to forge
email addresses?
So dont buy it...download a free copy and for the next
At 14:05 11.06.2003, Sancar Saran said:
[snip]
Hi,
Is there any example or/and tutorial for create php code with using php.
[snip]
It's simple, frankly:
$code = EOC
echo 'Hello World, the current time is ',
That's what they do. You can put any email address in the From: part of
the email and then it is nearly impossible to trace where it was sent
from.
I think we are wy off topic.
But how do you know if they are sending from a legit email account I
know if I was a spammer I would be using
Why bother going through a system call? If you have apache loading both
mod_php and mod_perl, you can call (include or whatever) through normal http
methods.
Joel, I was responding to your post.
My intent is to minimize rewrite of my existing code. I do wonder why my host wont
load the perl
[snip]
Question: Why doesn't the PHP community support using an Hungarian
style of programming if it prevents errors?? I've gotten too darn many
Haven't really seen this one flamed over on this list before, but maybe
someone will step in an freak out later on. At any rate, you make the
Below was their reply to me when requesting info about the imagemagick perl module
Thank you for contacting iPowerweb technical support.
We do have image magic for PHP, but the one for Perl we do not have and cannot
install. You may or may not be able to shrink
images. Contact the creators of
At 14:08 11.06.2003, Kevin Saenz said:
[snip]
I think we are wy off topic.
But how do you know if they are sending from a legit email account
I know if I was a spammer I would be using made up ones like
[EMAIL PROTECTED] [EMAIL PROTECTED] how hard is it
Hi guys kinda new to php.
Ok I have a php page that a user has to enter a pw to gain access to another page
(lets call it authPage).However before I i can grant access to authPage I want to
verify 1. that a pw was entered and 2. that it is correct. So I thought it would be
better NOT to do the
page 1 : login.php
input user name - Post veriable
input password- post variable
page 2 : verify.php
session_start()
// supposing name is entered
if (!$_POST['password'] == )
{
// verification against database
if (successfully authenticated)
{
... [shortened]
Then I want the session to call authPage (because the pw is correct) together with
the session variable. The way I am doing this (doesnt seem to be working) is to call
authPage with as a header call eg:
header(Location: authPage.php);
The problem I think I am having is
Thanks dude my spamassassin caught it and killed your example. :)
At 14:08 11.06.2003, Kevin Saenz said:
[snip]
I think we are wy off topic.
But how do you know if they are sending from a legit email account
I know if I was a spammer I would be
Hi all
I wonder if anyone can help with this.
I have a piece of copy that includes this:
[link][title]the link[/title][address]http://www.php.net[/address][/link]
And I need to change it to this:
a href=http://www.php.net;the link/a
Any help is appreciated
Mario
Put quotes around the value attribute of your input tag, for example
input type=hidden name=x value=A.B. XYZ /
Mukta Telang wrote:
Hi,
if a string is:
$x=A.B. XYZ;
and if I post it as a hidden form control and echo $_POST['x'] then I
get:
A.B.
and not A.B. XYZ !
What should I
Hi,
What XML-RPC implementation to PHP should I use?
I'm using the implementation from Useful (http://phpxmlrpc.sourceforge.net),
but I'm having troubles.
When the client receives a response from my server and this response is a
array of struct with more than 1 item, occurs a problem. When
Even better, try my BBCode class. Much more flexible.
http://www.phpclasses.org/browse.html/package/951.html
Manuel Lemos wrote:
Hello,
You may want to try this class:
Class: UBBCode
http://www.phpclasses.org/ubb
--
The above message is encrypted with double rot13 encoding. Any unauthorized
Use the substr function to get the part you want. Then prefix/suffix the
parts you want.
//you may want to derive the positions as vars
$rest = substr(abcdef, 1, 3); // returns bcd
//you may want to put the link name into a var as well for below
$rest = a href=\ . $rest . the link/a
Good
I am confused by the shorthand if notation.
For example I just saw this PHP snippet on another forum
?
$bkgndClass = $bkgndClass == darkBkgnd ? liteBkgnd :
darkBkgnd;
}
?
I think it is an if but cannot find it in the manual. How
is that written in the more normal notation - if(){}
for example i have form with a dropdown selection as shown below.
FORM action=action.php
SELECT name=total
OPTION1/OPTION
OPTION2/OPTION
OPTION3/OPTION
OPTION4/OPTION
OPTION5/OPTION
/SELECT
/FORM
Just say I have a function to generate form fields based on the total variable from
above...
Hi,
-Original Message-
I am confused by the shorthand if notation.
For example I just saw this PHP snippet on another forum
Basically:
(condition) ? true : false;
Example:
$var == red;
($var == red) ? echo 'true' : echo 'false';
I didn't want to steal a thread so here's a new one.
I've seen this subject come up alot since joining the list last fall and
believe that the question meant to be asked never got the expected answer
simply because it wasn't asked in the correct way, myself being one of the
culprits.
From
1st step: read out form results from $_POST['total'] (possible since PHP
4.10), not from $total. Variables added to the url will not be in the
$_POST array but in $_GET.
When reading the form result, make sure the referering page is from your
own site, or else they can simply make their own
Hello,
I change the Unix right on directory https-exp3/config and now there is a core
So, I can generate a backtrace with this command
gdb /produits/netscape/server41sp9/bin/https/bin/ns-httpd
/produits/netscape/server41sp9/https-exp3/config/core.andre
And I get :
GNU gdb 4.18
Copyright 1998
If I have multiple forms on a page, and each form has it's own name, how
can I tell which form has submitted?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for your recommendations, what if they use page.php?$_POST[$total]?
instead of $toal?? wouldn't the outcome be the same?
is there good article on this subject? I think this is quite important in
developing secure application, I have googled but no luck
Thanks again
awlad
- Original
At 16:43 11-6-03, you wrote:
Thanks for your recommendations, what if they use page.php?$_POST[$total]?
$_POST is made by PHP and you can rely on it to be safe for such tricks,
especially because your trick will not even work with normal arrays.
instead of $toal?? wouldn't the outcome be the
Hello PHP List,
I would like to use links such as:
a href=index.php?tablename=tabletable/a
The resulting page would have a line on it like such:
$query = SELECT * FROM $table;
Is this possible? If so, is there maybe a better way to do this?
Also, is it possible to show the names of the
Hey,
Whats the problem with this a href=index.php?tablename=tabletable/a
? its a perfectly legal bit of HTML...wheres your doubt?
in index.php just get the variable like this
$blah=$_GET['tablename'];
then run $blah in your select query.
Either this is just too simple or i dont really
Does anyone have any recommendations for a good PHP book?
I recommend Larry Ullman's PHP Advanced (a Visual QuickPro Guide).
I'm looking for a book that has at least a complete function reference [...]
You're better off using php.net for this. Its function reference is always
up-to-date and
Please read these pages:
http://de.php.net/release_4_1_0.php
http://de.php.net/manual/en/security.registerglobals.php
if your PHP setting called register_globals is turned on, then the code you
propose would allow hackers to ask anything they want to your database,
including destructive options.
Ok,
was away will try to catch up.
The company of scumbags i was talking about is http://blackboxhosting.com/,
as you might have guessed i dont like these scum and have nothing to do with
them.
Even if the program generates random addresses as a lot of spammers do
mailwasher has no problem
At 18:06 11-6-03, you wrote:
Hey,
Whats the problem with this a href=index.php?tablename=tabletable/a
? its a perfectly legal bit of HTML...wheres your doubt?
in index.php just get the variable like this
$blah=$_GET['tablename'];
then run $blah in your select query.
Either this is just too
At 17:08 11-6-03, you wrote:
Does anyone have any recommendations for a good PHP book?
I recommend Larry Ullman's PHP Advanced (a Visual QuickPro Guide).
or the PHP4 bible, by Park Converse, second edition (!).
I'm looking for a book that has at least a complete function reference
[...]
[snip]
Please read these pages:
http://de.php.net/release_4_1_0.php
http://de.php.net/manual/en/security.registerglobals.php
if your PHP setting called register_globals is turned on, then the code
you
propose would allow hackers to ask anything they want to your database,
including destructive
Ben,
How about some session vars that denote you being an admin? This way you
could show these options if $_SESSION[user_info] == 'Admin' is true.
If you need more, let me know.
Cory
On Tue, 2003-06-10 at 22:12, Ben Houlton wrote:
How do I make it so when I log in the options such as delete
I have a form with two dynamic dropdowns that submit the form when an
option is chosen. There is also a button at the bottom of the form that
submits the form.
The first drop down is a list of all customers. The user chooses a
customer, and a query is run that populates all of the fields
hi all
i'm having trouble with the this page. not sure if i'm approaching
the problem the right way. i'm basically passing search criteria to
a page. i'm using the search criteria to construct a sql query
dynamically. i'm using the sql query in a while loop that cycles
through the db and
what code can I put at the begining of a php page so that the result from
the cache is never shown ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
To download a file after a form like that:
form name=download action=downloadit.php method=post
Do you want to download?
/form
If he wants to download, in the file downloadit.php, there is:
header(Content-type: application/octet-stream\n);
header(Content-Disposition: attachment;
Monil Chheda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I want to create an php system that prevents automated
registrations.
I have come up with the script in which users come
over and need to enter a random key displayed on the
images while submitting their info. If the
Tim,
Here is a function that we use to retrieve the title of the page
function title($filename,$dir)
{
$loc = $dir/$filename;
if(@is_file($loc/$filename))
{
$open=fopen($loc/$filename,r);
while(!feof($open))
If he wants to download, in the file downloadit.php, there is:
header(Content-type: application/octet-stream\n);
header(Content-Disposition: attachment; filename=mysoft-1.0-truc.zip);
header('Cache-Control: public');
header(Content-transfer-encoding: binary\n);
header(Content-length: .
On Wed, 11 Jun 2003 14:53:13 +0100, Marios Adamantopoulos wrote:
[link][title]the link[/title][address]http://www.php.net[/address][/link]
And I need to change it to this:
a href=http://www.php.net;the link/a
E, fun try this :)
?PHP
$in = '[link][title]the
I have text a file which contains php code. I am using it as a template for some
other pages. I want to take everything in that file and store it in a string or array
and then output it all to an empty file (this will make both files look exactly the
same). I am using the file_get_contents()
I have text a file which contains php code. I am using it as a template
for some other pages. I want to take everything in that file and store it
in a string or array and then output it all to an empty file (this will
make both files look exactly the same). I am using the
-Original Message-
From: adrian GREEMAN
[mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 15:23
I am confused by the shorthand if notation.
For example I just saw this PHP snippet on another forum
?
$bkgndClass = $bkgndClass == darkBkgnd ? liteBkgnd :
darkBkgnd;
}
?
I think
Has anyone used this and found it helpful?
For dynamically generated pages, yes, but is there any advantage for static pages that
happen to be PHP?
From a good caching tutorial at:
http://www.mnot.net/cache_docs/#IMP-SCRIPT
The header cited:
code
?php
Header(Cache-Control: must-revalidate);
At 6/11/2003 09:42 AM, Amanda McComb wrote:
If I have multiple forms on a page, and each form has it's own name, how
can I tell which form has submitted?
By its contents.
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
-Original Message-
From: Wim Paulussen [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 14:28
page 1 : login.php
input user name - Post veriable
input password- post variable
page 2 : verify.php
session_start()
// supposing name is entered
if (!$_POST['password'] == )
At 6/11/2003 09:42 AM, Amanda McComb wrote:
If I have multiple forms on a page, and each form has it's own name,
how
can I tell which form has submitted?
By its contents.
Give the submit buttons different names, then you can test to see which
one is set to see which form was
On Wednesday 11 June 2003 23:54, Matt Palermo wrote:
I have text a file which contains php code. I am using it as a template
for some other pages. I want to take everything in that file and store it
in a string or array and then output it all to an empty file (this will
make both files look
Hi,
I have a question concerning the parsing of scripts. The question is what
will be parsed the quickest: much inline php (dirty) code, or let the code
generate the html on the fly?
I frequently use css ALOT! Does that make any difference to php (apart from
making the file quite messy)?
Any
[snip]
I have a question concerning the parsing of scripts. The question is
what will be parsed the quickest: much inline php (dirty) code, or let
the code generate the html on the fly? I frequently use css ALOT! Does
that make any difference to php (apart from making the file quite
messy)?
It really depends, mostly it is external ... to accommodate small
variations I have some style attributes around.
T
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 06:30 PM
To: Thomas Hochstetter; [EMAIL PROTECTED]
Subject: RE: [PHP] fastest parsing
I have a string,
D:\Htdocs\gilardi\barcode\php\testwrite.php
from
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
I want to remove the "testwrite.php" leaving
D:\Htdocs\gilardi\barcode\php\
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath =
Hello,
I'm trying to create one document with PHP and Ruby scripts in
the same document. Is this possible? I've tried to configure mod_ruby
to compile php documents as well but when I do that PHP doesn't work.
Is it possible to have 2 languages in the same document?
-- Keith
--
PHP
I would just copy the file, but I am not sure how to copy the file and paste
it in the same folder with a different name. Any advice you can give for
that? Thanks.
Matt
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 12:27 PM
so your one of those people tha bounce them. i have had my email address used
in a number of spams (and a few virus sends) and it blows! the bounces
follow the from. the spammer has no clue that it bounced, nor do they really
care. instead there is someone (sometimes) at the other end of
Todd Cary [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
snip
I have a string,
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath = ereg_replace(\\[^\\]+$,,$fullpath) . '\\';
What have I missed?
Todd
/snip
--
You could just use:
$path =
Hows it goin?? Im pretty new to this, so I have a pretty simple question. I
am running an apache server with php 4 on a win 2k machine. When I try to do
something like this:
?
echo a href=\index.php?action=someaction\Some Action/a;
if ($action == someaction) {
echo Anything;
}
?
It says:
Hi,
I cannot figure this out... Need some assistance.
I have an array:
$jack[#] = array(
loan_info = 101,
first_name = jack,
last_name = mother
);
# = 0 thru 12
I want to sort the array by
[snip]
Hows it goin?? Im pretty new to this, so I have a pretty simple
question. I am running an apache server with php 4 on a win 2k machine.
When I try to do something like this: ?
echo a href=\index.php?action=someaction\Some Action/a;
if ($action == someaction) {
echo Anything;
}
?
It says:
Thanks for the advice... The link worked Now it is saying this:
Notice: Undefined index: action in
It only says this if there is no action...it goes away once I click the link
and the action=someaction Is there a way to fix my php so that I dont
have to change all of the web sites
1 - 100 of 188 matches
Mail list logo