ing ASP (or PHP) as long as they
are basing it on the facts and there particular needs; what I don't like are
advocates (read a**holes) turning this into a heated debate devoid of any
facts or basis in reality. BTW, I use both and have used both. I'm more
concerned with results, not egos.
re this out, we have no choice but to roll back to 4.0.6, but I really
love the security additions of 4.1.0 - Help!!! MUCH THANKS IN ADVANCE.
John
begin 666 sessions.php.txt
M/#]P:' -"@T*+RH-"BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BH-"BHJ#0HJ*@E.86UE.B!T96UP;&am
Hello,
I have a file which does several different things depending on how its
called Ie
file?mode=show is to show it etc
But I want to include the output from the show so I tried
but this causes errors. It goes away
with including as only file.php but doing that also causes problems because
mod
Is there a method for decrypting encrypted things by md5?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thanks :)
"Cc Zona" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (John Cuthbert) wrote:
>
> > I have a file which does several different things depending on h
gards, John
Geoff Caplan <[EMAIL PROTECTED]> wrote in message
006c01c19cfb$c04caf60$0339a8c0@ajanta">news:006c01c19cfb$c04caf60$0339a8c0@ajanta...
> Hi folks
>
> I have been looking for a practical way to create rich dynamic forms in
the
> client using PHP, and would appr
Hi,
Both PEAR DB/Cache and ADOdb database libraries support cacahed recordsets.
See the PEAR sources and http://php.weblogs.com/adodb
Rgds, John
Nick Wilson <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -BEGIN PGP SIGNED MESSAGE-
I need to pass a variable e.g. $var1 from one PHP page to another. The
only conditions are that the variable cannot be shown in the source
code on the end users machine nor can it be passed visibly within the
url. Does anyone have any suggestions on how I can accomplish this?
Hippie.
--
PHP G
I'm trying to include a URL using the following line
include('http://www.cci.net.au/default.htm');
I get the following response.
Warning: Failed opening 'http://www.cci.net.au/default.htm' for
inclusion (include_path='') in C:\Inetpub\wwwroot\template\index.php
on line 61
I have made sure the
The file is running on an NT box and can be accessed fine through IIS. It
is only when using the include() statement to this file that problems
occur. If I do a local path map to it, it will include fine but when using
an URL it gives that error.
Hippie.
At 05:02 PM 1/17/02 -0700, you wrote:
I'm using my workstation as an all in one test box. It's running, IIS 4.0,
and PHP for Windows version 4.0.6.
At 11:13 AM 1/18/02 +1100, you wrote:
> > The file is running on an NT box and can be accessed fine
> > through IIS. It is only when using the include() statement to
> > this file that p
In regards to 1, neither of them are. they're just examples I was testing.
As for your second note, it need only include the page, it needs only to
display the page. It works fine with local references, just not with URL's.
At 06:33 AM 1/18/02 +0200, you wrote:
>A couple of comments:
>1. Your i
it does write the first couple of lines of the code output to the file.
Can anyone see anything wrong? Any help would be great, thanks again
John
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com
I posted a message earlier about copying files and it
was asked why I need to copy them. I need to copy
files because I am building a content management
system in which the base template files need to be
copied to instantiate a new page. Its completely
web-based and built towards the typical web
ducts - not that I'm complaining, it does generate some consulting
business for me on the client side :)
Thanks,
John
>We're all in a good position right now. The economy is beginning a strong
>rebound, the pretenders have been weeded out, and a lot of companies are now
>b
I like this view. It's not so much a technology we're all speaking as much
as a language. Computers are computers and while linux is fun and kick's ass
sometimes you just need to get a job done.
tools are tools and php rules until php rules!
john l
>> It's hard, I
$user = $HTTP_GET_VARS["user"];
$pass = $HTTP_GET_VARS["pass"];
$real = "superduperunlieklytobeguesedpass";
if($user == $validuser && $pass == $real)
{
echo "thank you for logging in here is the page";
?>
etc
and call the page as
http://superdomain.com/login.php?user=Imasuperduperuser&pass
How about croning the job and splitting up the load as you go.
- Original Message -
From: "Mostafa Al-Mallawani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 27, 2002 11:23 PM
Subject: [PHP] mailing to 19000 users
> hi, does anyone know how to send mail to 19000 use
You can use ASP with Mysql, as long as you have myodbc installed on your
machine. For me, ASP has been a bit slower, but you can still use it.
- Original Message -
From: "liz lynch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 7:14 AM
Subject: [PHP] php vs as
Hello,
Just wondering if there is a way to print out parts of a text file (i.e from
line x to line y) using php, the way it is being done now is using eregi and
comparing strings, but it would be alot better if I could specify which
lines to print.
Thanks a million.
_
apologies for a stupid question ! but it's late !
everthings fine, mysql query, results etc
but I want to produce a table with two columns instead of just one long
column
ie answer1answer2
can someone please give me a hint how to do it ?
while ($r = mysql_fetch_array($result0))
_city_name"];
> echo "
> href=\"city_person.php?city_id=$cityid\">$cityname
> ";
> if ($cntr % 2 == 0) echo "";
> } // from while result 0
> echo"";
>
>
> -Original Message-
> From: John Fishworld [mailto:[EM
Hi Boaz,
Personally, I found the jobs list at weberdev much more useful when you could list
all jobs by date descending, as opposed to the seperated by country links. Anyway
that might be put back someday?
Thanks for a great PHP resource site,
John
>You can check out h
Try http://php.net/str_pad
Andy <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi guys,
>
> I am trying to force a int to be 8 digits. If it is only 3 dig filling the
> first ones with 0.
>
> Anyhow I tryed it with type casting, but it does not matter what I t
pens when using functions: session_start and session_register
What can I do to resolve the problem.
John Mpaliza
Hi Bart
This can be simulated using non-blocking sockets. However this is one time
when using
Perl or Python might be a better solution (sigh).
Bart Frackiewicz <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
a few days ago i saw here a thread about multi t
n) comparisons?
Is it up to me to maintain a sorted array in the later case?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Laurie,
You should use the funtions isset() and empty() along with the
appropriate conditionals. I have a tutorial which demonstrates
a way to do this:
http://www.rci.rutgers.edu/~jfulton/php1/forms.html
John
--
John Fulton, Webmaster, Rutgers University Computing Services.
On Wed, 6
hello,
I'm using eregi to print out parts of a text file, and I was just wondering
how you get the code to print out a newline as it appears in the file.
John
_
Send and receive Hotmail on your mobile device: http://mobile.ms
Well as an englishman in Germany - php is pretty damm big here !
A lot more than in the UK !
So maybe he should have stayed in Germany ! lol
Although the market has collapsed a bit at the moment !
> I guess I'm lucky living in Australia then - there's quite a few places
> using ASP but there's a
Just a quick question,
is there a way to echo in your php code lines of a file that you specify.
i.e. you want to output lines 1,4,7 of a certain text file
Thanks
John
_
Join the worlds largest e-mail service with MSN Hotmail
Two ways this is possible:
1. The user has selected an item and hit the submit button, thereby sending
everything to the server and it is working there.
2. The user comes in from a different link, different server, or has a
cookie on their machine.
- Original Message -
From: "Morten Niel
i wanna know if there is a way of opening a file in a certian mode so when i write to
a txt file it writes at the top of the file, and doesnt overwrite whats at the start
of the file
Regards,
John Smythe
http://www.smythey.org/
I am getting a variable from a web page ($inst) which is looked at by the
loop:
if ($inst == 2)
{
do stuff
}
the problem is that no matter what the value of $inst the code enters the
loop. I know it is some thing small and stupid, but any help would be
appreciated.
john
here is the html part of the code::
Instrument
Beeps
Violin
and the php::
echo($inst);
if($inst == 2)
{
}
cheers
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PH
not trying to be sneaky or hide anything, the only thing is that it is a
long code and what ever is wrong with what I am using it will not let me
paste the code over!?!
when I echo $inst i get the expected result (i.e. 1 or 2) but even if the
result is 1 it goes into the loop...and yes the sele
here is a larger chunk of the code:
WEB BASED MUSIC COMPOSITION
Enjoy the Tune
Tone Row:
http://photos.msn.com/support/worldwide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
xs=/usr/local/apache/bin/apxs' '--with-db2--disable-debug'
'--disable-static' '--enable-sockets' '--with-yp' '--with-zlib'
Regex Library: Bundled library enabled
PCRE (Perl Compatible Regular Expressions) Support: enabled
PCRE Library Version: 3.4 22
thanks!
On Feb 20 11:55, Philip Hallstrom wrote:
>$a = "/test/";
>$a = preg_replace("/^\//", "", $a);
>echo $a;
>
> Notice the difference in the second line...
>
> On Wed, 20 Feb 2002, John Ericson wrote:
>
>
php";);
and that it is a GET ($REQUEST_METHOD == 'GET'). The fact that some web servers will
display the page anyway is no reason to depend on that.
For PHP4+ of course you can use $_SERVER['REQUEST_METHOD'] instead.
HTH,
John
>I'm sure that this is
Hi, I am using the example code at php.net to FTP a file to a remote server.
I am trying to overwrite an existing file, but want to maintain the
owner/group of the file being overwritten but it keeps giving the
overwritten file the owner/group name of the userid that I am loggin in via
FTP with. W
Thanks Richard,
ADOdb is also dual licensed under a more open license - BSD too.
You might also find interesting this article:
http://php.weblogs.com/portable_sql
Regards, John Lim
"Richard Ellerbrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAI
I suggest using a html caching solution. Generate your html once, and store
it
in a file. I like http://0x00.org/php/phpCache/
"Mike Fifield" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok I have a performance question. I run a wallpaper site; this is the u
How do I check if a remote file exists that is in a directory protected by
an .htaccess file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"John Kelly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How do I check if a remote file exists that is in a directory protected by
> an .htaccess file?
>
I should have added that this is the code I have tried without su
I have multiple domains hosted on a server. When I fsockopen to one of them
I end up in the document root of another one. Is there a way to specify the
directory one ends up in after establishing an fsockopen connection OR
issuing a command via fput to CD to a different system path after
connectin
Manuel,
> Prepared queries in practice are the same as what John Lim calls in this
> document http://php.weblogs.com/portable_sql as "binding", except that
> he doesn't seem to be aware that it is the same thing, so he says that
> only some database can use it! :-
port.
>
Of course. Unneeded portability that is not used by most users
is of no interest to me. You disagree. That is fine. The code is there
for people to read. Let them judge for themselves.
> John, as a marketeer you still have a lot to learn before you realize
> that you can't
93.71
13 www.validatethis.com 978 2002-01-01 20011229161124 2
20 www.geocities.com 734 2002-01-01 20020420013724 63.225.246.25
32 www.nethitters.com 634 2002-01-01 20020420110423 12.237.218.113
18 www.network-underground.net 626 2002-01-01 20011229161124 2
19 omniflare.devfx.org 594 2002-01-01 20011229161124 2
---
TIA,
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Silent Column Specification
Changes.Note that because the server/client protocol and MyISAM
tables has currently a limit of 16M per communication packet /
table row, you can't yet use this the whole range of this type. See
section 6.2.3.2 The BLOB and TEXT Types.
---John H
Someone gave me the preg_match equivalent
preg_match( '/([-_a-z]+)\.([a-z]+)$/i', $row['site'], $match2 );
I tried that and it took care of the problem, as far as I can tell.
To me, that narrows it down to a problem (bug?) with ereg... anyone else
have any id
I read through the changelog (4.2 -> 4.0.6) and didn't see any mention
of it.
---John Holmes...
> -Original Message-
> From: Chris Cameron [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 5:56 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] 4.2.0 release an
I would add some file locking to your code to make it more reliable. If
you start having a lot of traffic, your code will start missing people.
www.php.net/flock
---John Holmes...
> -Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23,
Store a link to it. I see no advantage at all to storing binary data in
a database. It just creates a lot more work for you by putting the data
in a table. You have to create an "interface" to get at the data...or
select it out into a file to get back the image, etc.
---J
27;http'
[host] = '127.0.0.1'
[port] = 6667 (Is an INT, not a STRING)
[user] = 'user'
[path] = '/pages/page.php'
[query] = 'foo=bar'
[fragment] = 'bookmark'
Hopefully this will help someone.
I don't know if it does any checking or vali
fall-back option from PHP to send mail when the mail()
function is not working?
John Hughes
__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To
function or class handy that I might use? (for
free)
I've got one...
www.php.net/strip_tags
www.php.net/htmlentities
You can have them for free if you send me $20.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be said for
validation. Make sure what you think is a number really is, and that a
string is properly quoted...then this won't be a problem.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
viewers can't glean any
info from failed scripts like path directories and file names...
---John Holmes...
> -Original Message-
> From: Maxim Maletsky (PHPBeginner.com)
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 11:19 AM
> To: 'Nathan';
Couldn't you use something like this:
header("Location: http://user:[EMAIL PROTECTED]/path/to/file.php";);
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 11:11 AM
> To: [EMAIL
t the user from putting a value like --> 12,'bad
value')# <-- into $my_val_a and putting a bad value into the second
column.
Now if you validate that the two are numbers, then you won't have this
problem. And if you are validating a string, yes then use addslashes(),
and the # w
urity numbers for example.
You can validate and accept the input in a variety of formats, but have
the validation routine return them in a common format to insert into the
database.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;dump it into $start"?? Where is $start coming
from? Also, if you are using index.php?s=something, then 's' will be in
HTTP_GET_VARS or _GET ...not POST.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can use header() for that...just don't display anything before you
redirect them.
Otherwise you need a client side solution like a META REFRESH
---John Holmes...
> -Original Message-
> From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 200
Use wordwrap() to wrap the text to 75 characters and str_replace() to
replace " with '
www.php.net/wordwrap
www.php.net/str_replace
---John Holmes...
> -Original Message-
> From: r [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 3:08 PM
> To: [EMAIL PROT
e. If they are allowed, then send the
appropriate .mov headers with header() and then output the data.
---John Holmes...
> -Original Message-
> From: wm [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 11:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] passing author
Make sure you are using session_start() on each page and you should be
using $_SESSION["var"] = "value";, not $HTTP_SESSION_VARS...
---John Holmes...
> -Original Message-
> From: Padraig Kitterick [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 12
, etc.
I've gotten into the habit, from working with GeekLog, to put everything
into a $_CONF array.
$_CONF["database"] = "MySQL";
$_CONF["multiplier"] = 1.5;
etc...
---John Holmes...
> -Original Message-
> From: Richard Baskett [mailto:[EMAI
Visit www.sourceforge.net
--- r <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> Just a small q,
> does anybody know of any particular good BBS system that is free?
> (I aint
> rich :-( ) Been to hotscripts.com can you recomend any?
>
> (Actually if i were rich I would not care a damn for
> PHP-MyS
Read the download page, it tells you what you need to open it.
Also, you're the one with the username 'r'. Now whenever I write a
message, every single 'r' in it is underlined with a #$%@#$%@ "Smart
Tag"... :) That's annoying.
---John Holmes...
> -
Help please from one of the reg-ex experts out there please !
I'm trying to find the pattern (5 number);
example 𑃸
This works
$code[$i] = ereg_replace("([0-9])+" , "replace\\0.bing" , $code[$i] );
and I get back replace 𑃸.bing
but I also want to lose the and the ;
so I get back 69880.bi
endet: Samstag, 27. April 2002 1:26 PM
> An: [EMAIL PROTECTED]
> Betreff: AW: [PHP] reg-ex please
>
> Try it like this :
> $code[$i] = ereg_replace("&#([0-9] {5});" , "\\1.bing" ,
> $code[$i] );
>
> -Ursprüngliche Nachricht-
> Von:
No...Do it in your query. Use DATE_FORMAT in your query.
---John Holmes...
> -Original Message-
> From: George Nicolae [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 12:43 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: date format
>
> try
&g
How about number_format
www.php.net/number_format
---John Holmes...
> -Original Message-
> From: baldey_uk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 10:20 PM
> To: Php-General
> Subject: [PHP] Another silly email
>
> Um im trying to take the inpu
> $zquery = "SELECT name from users WHERE handle like
> '$row[handle]';
Missing an ending quote " here.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECT * FROM calendar WHERE date_column = CURDATE()
---John Holmes...
> -Original Message-
> From: Thomas Goeminne [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 5:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] current date query
>
> Hi,
>
>
Register_globals is off by default and you have to use the $_GET and
$_POST arrays for your data.
---John Holmes...
> -Original Message-
> From: JaseyX [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 1:38 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] POST/GET
Use $_SERVER["SERVER_NAME"]
---John Holmes...
> -Original Message-
> From: The_RadiX [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 21, 2001 10:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Apache: SERVER_NAME gone?
>
> Hi Y'all...
>
>
that is preferred.
John Hughes
__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to send them back to that page.
---John Holmes.
-Original Message-
From: Dennis Moore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 2:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions and Query String Variable Handling
Env: Apache 1.3.x/php4.0.6/mysql3.23.x
Scenario: I
You'll have to add an http:// to that string, too.
---John Holmes...
> -Original Message-
> From: John Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 5:50 PM
> To: 'Dennis Moore'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Sessions and
esult, and just echo
that variable where ever I need to.
---John Holmes...
> -Original Message-
> From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 5:24 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Sessions and Query Stri
Can someone translate this to English?
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 7:21 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] class PHP
>
> The text of this proposal, test code, and updates live at
> petermoulding.com/class. I plac
Try $_GET["entry_id"] or $HTTP_GET_VARS["entry_id"], depending on your
version of PHP.
---John Holmes...
> -Original Message-
> From: Mark Gallagher [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 2002 4:04 AM
> To: [EMAIL PROTECTED]
> Subject:
et
confused. If there is no editing, then you'll save processor time by
only doing the conversion once, instead of for every view.
---John Holmes...
> -Original Message-
> From: Scott Reismanis [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 11:58 PM
> To: [
It should have a % for the width at least, and then it should wrap
itself.
---John Holmes...
> -Original Message-
> From: Scott Reismanis [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 2002 7:42 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re:
gth of that 'word'.
Right, that's why I told him to put a space around his image tags. Then,
with that space, and a % width, it should (?) wrap.
I think he was ending up with a long 'word' like you were saying; only
made of image tags.
etc...
so it would not wrap
It means your query failed.
www.php.net/mysql_error
---John Holmes...
> -Original Message-
> From: Dan McCullough [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 2002 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Supplied argument is not a valid MySQL result reso
Yes
> -Original Message-
> From: Vins [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 2002 3:52 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Hey PHP PPL - Great Question !!!
>
> Session Data.
>
> What is the best.
> to save in database, or to save as file ???
>
> let me know.
>
>
You are missing an ending quote to begin with. Either add it in and use
braces, or remove the quotes.
action = ''
or...
action = ''
or...
action = ''
Adapt to your needs...
---John Holmes...
> -Original Message-
> From: Kirk Babb [mailto:[EMA
What version of PHP, OS, web server, etc are you running? Is that the
exact code you used? Did you try it in a file all by itself and did it
return the same result?
---John Holmes...
> -Original Message-
> From: baldey_uk [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 200
How about you send us your code, because you're the one doing something
wrong. "a" is what you want, if it's not working, then there is an error
in your code or logic.
---John Holmes...
> -Original Message-
> From: Rodrigo [mailto:[EMAIL PROTECTED]]
> Sent
Do you read the replies that were sent to you. Where did you get file()
from and why are you using fopen() to write to a file??
You're lucky Miguel is such a nice guy and helping you out.
---John Holmes...
> -Original Message-
> From: Rodrigo [mailto:[EMAIL PROTECTED]]
>
I'm trying to find files in my array
for example
="lg_imode.gif"
and
="/db/imodeklein/edgar-IMODE-1-.gif"
I want to differentiate between the files with slash at the front and ones
without so that
I can add a server path !
but as usual I' m having problems with the correct regex
At the moment I'
No the problem is I'm reading a file into an array and then need
to change any of the links in the file from relative links to absolute links
!
So that my lg_mode.gif gets the full server path in front of it
http://www.ltest.com/lg_mode.gif
and exactly the same with the other one but of course I
r path and written to
the file !
> On Monday 29 April 2002 17:10, John Fishworld wrote:
> > No the problem is I'm reading a file into an array and then need
> > to change any of the links in the file from relative links to absolute
> > links !
> > So that my
PHP cannot open that file. If youre on a *nix type system, adjust the
permissions of the file so that the user that PHP runs as has access to
the file. Also, the beginning / is probably causing trouble, because
its looking from the root of your server for a file named public_html.
---John
t if you search.
---John Holmes...
> -Original Message-
> From: r [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 2:45 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] text problem.
>
> Greetings all,
> Special greetings to all my new PHP list pals, yo
I'm trying to find files in my array
for example
="lg_imode.gif"
and
="/db/imodeklein/edgar-IMODE-1-.gif"
I want to differentiate between the files with slash at the front and ones
without so that
I can add a server path !
but as usual I' m having problems with the correct regex
At the moment I'
This works but the "w" means that it writes over whats already in the file
(look at the manual about fopen for more details)
$new_file = "txt/whatever.txt";
$fh = fopen($new_file , "w");
// write the changed new file
fputs ($fh, $new_code);
// now close the f
1401 - 1500 of 6703 matches
Mail list logo