On 07-Jul-01 Doron wrote:
> hello.
> how can i make the file function to put the first 9 lines, in values
> 01, 02, 03, 04, 05, 06, 07, 08, 09
> instead of
> 1, 2, 3, 4, 5, 6, 7, 8, 9?
>
file ? numbers ?
... gotta be the example from the manual (somebody reads it, Halleluja!).
Have you looked
huh, explain a little more???
- Original Message -
From: Doron <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 6:09 PM
Subject: [PHP] file function. please help..
> hello.
> how can i make the file function to put the first 9 lines, in values
> 01, 02, 03, 04,
hello.
how can i make the file function to put the first 9 lines, in values
01, 02, 03, 04, 05, 06, 07, 08, 09
instead of
1, 2, 3, 4, 5, 6, 7, 8, 9?
10x...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
on 7/7/01 2:43 AM, Joe Smith at [EMAIL PROTECTED] wrote:
> If you'd rather I bore everyone with the details, let me know and I'll post
> my questions to this thread for all to see and chime in on.
If your questions are clear, and if you don't post too much code people here
seem to be very nice
I am working on my first MySQL/PHP app. It is a real estate catalog.
To build it, I am modifying the shopping cart found in Welling & Thomson's
"PHP & MySQL Development".
I think I am getting the gist of the process, but could use a little help
from more experienced folks out there.
When the ap
point 1...make you password fields of type password rather than text Okay I need some people to jump in and try to use my site to see if it is
> working OK. I know I have a lot of work to do on it but I just want some
> feed back and to get a little more direction before I light into the code
> a
Okay I need some people to jump in and try to use my site to see if it is
working OK. I know I have a lot of work to do on it but I just want some
feed back and to get a little more direction before I light into the code
again.
If You have some free time please play around with:
http://www.futur
check out ctype (suggested to PHP by me, btw)
php.net/ctype
we have all that.
-Maxim Maletsky
-Original Message-
From: Lasse [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 7:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] is_alpha_numeric ?
"scott [gts]" <[EMAIL
foreach($HTTP_POST_VARS as $k=>$v) {
$$k = addslashes($v);
}
- Maxim Maletsky
PS: no, not trying to win over, just trying to suggest my way ;-)
-Original Message-
From: Chadwick, Russell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 7:11
Gezz...
hope you use a web mail or something for this list.
Otherwise all these emails on 26.4 (what a strange number) would take ages
to download in cases like when you are coming back from a vacation or "was
too busy last week"
-maxim maletsky
-Original Message-
From: Kevin Pratt [
what do you mean by 'previous directory'? there's no real chronological
order to directories.
on 7/6/01 6:27 PM, Chris Anderson at [EMAIL PROTECTED] wrote:
> To specify, I want to link to a file in a previous directory, none of those
> methods seem to work for that.
-- mike cullerton
--
P
On 06-Jul-01 Jerry Lake wrote:
> Is it possible the set a script
> to email a file after it becomes so many lines
> long ? I have an email address that accepts
> only catalog requests and I'd like to be able
> to have a complete list mailed to me instead of
> doing it one at a time.
>
$fname='c
On 06-Jul-01 James Bartlett wrote:
> Hi,
>
> I'm trying to write data to a file but for some reason it will not store
> numbers in the file...Here's the code I'm using...(as an example)
>
> $fp = fopen("./data.txt", "w+");
if ($fp) { // always, always ! test a fopen()
> $counter
Yes, replace spaces with + signs
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: "'Chris Anderson'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 7:24 PM
Subject: RE: [PHP] Post a form within a running php-script
I thought that at first but I need to post
I need to give a link to a file in a previous directory, but HTML doesn't understand
../ links. Any idea how I can do this?
I thought that at first but I need to post long variables (some
containing many words) and many, is that okay?
-Original Message-
From: Chris Anderson [mailto:[EMAIL PROTECTED]]
Sent: 6. júlí 2001 23:08
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Post a form within a runn
Put the variables in the url ie:
script.php?username=joebob&password=joepassword
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:30 PM
Subject: [PHP] Post a form within a running php-script
> For a special purpose I want to post
Fine, just outdo me =)
- Original Message -
From: "Chadwick, Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:10 PM
Subject: RE: [PHP] How to apply something to every variable
>
> while (list($key, $val) = each ($HTTP_POST_VARS)) {
> ${$key} = addslash
Um... Can't you just set a cookie and see if you get it back on the next
page load?
--
Lasse
"Jeff Gannaway" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
OK, I'm working on a site that absolutely must use a cookie containing a
session identifier.
I know h
"Arash Dejkam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I've created a site where users can upload photos and specify which other
> users are allowed to view them using PHP session management. now I have
> alittle problem in the post-upload page,
On Sat, 7 Jul 2001 01:45, Daniel Guerrier wrote:
> http://www.fedex.com/us/ebusiness/ecommerce/shipapi.html
>
>From the FAQ
8. What languages does FedEx Ship Manager API support?
FedEx Ship Manager API code is compatible with a number of languages,
including HTML, Java, C++ and Microsoft Vi
Are there any Shareware libraries for handling PDF? The PdfLib is
great, but that can get somewhat expensive.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
"scott [gts]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you could also use this:
>
> function is_alphanum($data) {
> return preg_match('/^\w+$/', $data);
> }
Watch out though... IIRC \w also includes underscore...
--
Lasse
--
PHP General Mailing
For a special purpose I want to post a form within a running script, is
it possible? I don't need the feedback, only post it to a http-path. (To
clarify, I'm not asking about Submitting a form via button.)
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
---
while (list($key, $val) = each ($HTTP_POST_VARS)) {
${$key} = addslashes($val);
}
- Russ
-Original Message-
From: Chris Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 3:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to apply something to every variable
I was p
I was playing around trying to find a way to addslashes() to all my variables, and I
came up with this snippet. Hope it helps someone
$keys = array_keys($HTTP_POST_VARS);
$post_size = sizeof($keys);
for($x = 0; $x < $post_size; $x++)
{
$temp = $keys[$x];
//you can replace addslashes with w
Thanks
- Original Message -
From: "scott [gts]" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 4:27 PM
Subject: RE: [PHP] Creating a Variable with the Name of a string
> try using assoc. arrays also...
> they're much nicer to deal with ;)
>
>
> > -Orig
HI!
I need some help here. I'm trying to make work Horde/IMP webmail. I'm
running FreeBSD 4.3 in my box and I'm using Apache 1.3.20, PHP 4.0.6 and
MySQL 3..23.39.
I've installed c-client (from FreeBSD available packages instalation CDROM
but I've tryed with tarball from ftp://ftp.cac.washi
There are a bunch places in my site where I take data from a from like:
Can I make a function in global.inc that will do the
move_uploaded_file ($form_data, $path);
function? How do I pass $form_data to such a function?
I've tried calling
copy_my_file ($form_data);
but bad things hap
dunno... I just make all my pages force a reload for everyone :)
- Original Message -
From: "Inércia Sensorial" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:29 PM
Subject: Re: [PHP] Something weird
> Me too. Once I changed browser and took me days to find
Is it possible the set a script
to email a file after it becomes so many lines
long ? I have an email address that accepts
only catalog requests and I'd like to be able
to have a complete list mailed to me instead of
doing it one at a time.
any suggestions are appreciated
Thanks,
Jerry Lake
Int
Yeah, I was seeing them. And when I stripped them out and replaced them
with white space, it still broke in those places, it'd look like:
kdjsakdasja
dsakjaskjsa
dsakaskj
But I got it fixed..
$RESPONSE = addslashes($row[RESPONSE]);
$OVERLIBBED
even when i had 28.8, i'd always turn the cache off
... a cache isnt a feature, it's a bug. :)
i wish everybody did the same... i get calls every once
in a while from clients asking "why isnt our page updated"
or "why doesnt this work" 9 times out of 10,
it's their browsers showing them outda
try using assoc. arrays also...
they're much nicer to deal with ;)
> -Original Message-
> From: James Atkinson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 06, 2001 4:20 PM
> To: Chris Anderson; [EMAIL PROTECTED]
> Subject: RE: [PHP] Creating a Variable with the Name of a string
>
>
In the original message below, did you mean that you're actually
SEEING the tags in the output? If so, there may be a conversion
with htmlentities() going on somewhere that converts the tags to
(so they are displayed instead of being interpreted).
If you replaced the 's with spaces or newl
Me too. Once I changed browser and took me days to find out why some pages
weren´t changing :-)
Does the header(); function returns some kind of true or false? Maybe we
could tell users to don´t cache to show all dynamic stuff. I heard somewhere
(not sure about this) that Refresh on meta and
> "James Bartlett" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to write data to a file but for some reason it will not store numbers
>in the file...Here's the code I'm using...(as an example)
>
> $fp = fopen("./data.txt", "w+");
> $counter = 0;
> while ($counter <6)
> {
$temp = "myvar";
$$temp = "My value";
echo $myvar;
output:
My value
- James
> -Original Message-
> From: Chris Anderson [mailto:[EMAIL PROTECTED]]
> Sent: July 6, 2001 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Creating a Variable with the Name of a string
>
>
> I know this ha
No luck there...
- Original Message -
From: Brad S. Jackson
To: James Bartlett
Sent: Friday, July 06, 2001 8:01 PM
Subject: Re: [PHP] Problem writting to file...
Sometimes you have to do this to make it work.
fwrite($fp, strval($counter) . "\n");
"James Bartlett"
okie :) just thought it was funny that everybody is talking about something
that can be changed .
:)
and it was also a little bit of a shot at everybody's rants... I completely
agree that taking the small performance hit is much better than getting the
old version of a site... and I can say
I know this has been discussed before, but I've searched the manual and didn't see it
under Variable functions, or any of my searches.
I have varible $temp, how can I create a variable whose name is the string stored in
$temp? Thanks in advance
Kevin, we were talking about cache in an user point of view...
:-D
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
"Kevin Pratt" <[EMAIL PROTECTED]> wrote in message
009f01c10655$b3558e40$0300a8c0@ouelong">news:009f01c10655$b3558e40$0300a8c0@ouelong...
here may be why:
//Right here you grab a row
$query_data = mysql_fetch_row($result);
//but you don't use it and you move on
while($query_data = mysql_fetch_array($result)) {
- Original Message -
From: "Rory O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 20
Why not just make all your pages force a no cache or a refresh?
Kevin
- Original Message -
From: "Inércia Sensorial" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 1:32 PM
Subject: Re: [PHP] Something weird
> Me too. I always put 'check for new versions' or 'd
you could also use this:
function is_alphanum($data) {
return preg_match('/^\w+$/', $data);
}
> -Original Message-
> From: Steve Werby [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 06, 2001 3:32 PM
> To: John Monfort; [EMAIL PROTECTED]
> Subject: Re: [PHP] is_alpha_numeric ?
>
>
>
Me too. I always put 'check for new versions' or 'don´t cache' or similar.
While I am aware that cached pages doesn't perform well with dinamic pages,
the browser developers are also aware that what the user want is to see the
page.
If you ask any average user what is his preference 'Load fas
"John Monfort" <[EMAIL PROTECTED]> wrote:
> I'm trying to determine if an argument is alphanumeric. Is there a
> function to do this?
There may be in the CVS version (would have to check), but there's not in
4.0.6. eregi( [[:alnum:]]{1,}, $string ) may do the trick.
--
Steve Werby
President, B
Hello everyone,
I'm trying to determine if an argument is alphanumeric. Is there a
function to do this?
I thought PHP had a IS_ALPHA_NUMERIC function, but I can't seem to find
it anywhere. Was it wishful thinking ? Please help.
If you do know of this function, then please send me the synt
maybe it's just me, but caches drive me nuts...
i know... but IMO, i'll take a slight performance
hit any day to make sure i get the most recent page...
> -Original Message-
> From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Something weird
>
> > for some bizarre r
It doesnt like that either...
- Original Message -
From: Chadwick, Russell
To: '[EMAIL PROTECTED]'
Sent: Friday, July 06, 2001 7:51 PM
Subject: RE: [PHP] Problem writting to file...
Oooo, then make it
fwrite($fp, "$counter\n");
-Original Message-
From: Jam
When using sessions with forms, a user presses the back button and gets the
message: Page has Expired. How can I get around this happening? I have to
use sessions because I store many different variables at a time for a
shopping cart. Forms are submitted depending on what item the user is
shopping
Oooo, then make it
fwrite($fp, "$counter\n");
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem writting to file...
When I use that code I get the following...
Counter is = 0
Counte
I get the same result...
- Original Message -
From: Jerry Lake
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 7:48 PM
Subject: RE: [PHP] Problem writting to file...
try this
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa
When I use that code I get the following...
Counter is = 0
Counter is = 1
Counter is = 2
Counter is = 3
Counter is = 4
Counter is = 5
However if you remove the "Counter is =" part then once again no numbers are written,
only the 'new line' symbols...
- Original Message -
From: Chad
try this
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [
What happens when the code is
- Original Message -
From: "James Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 1:15 PM
Subject: [PHP] Problem writting to file...
Hi,
I'm trying to write data to a file but for some reason it will not store
numbers in
No errors at all...
- Original Message -
From: Tyler Longren
To: php-general ; James Bartlett
Sent: Friday, July 06, 2001 7:29 PM
Subject: Re: [PHP] Problem writting to file...
Any errors being given to you?
Tyler
- Original Message -
From: "James Bartlett"
> for some bizarre reason, almost every browser i've seen
> has the default option set to "cache everything and never
> look for updates"
Connection speed. Cached pages load faster
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
--
PHP General Mailing
Maybe:
$array = explode("", $string);
foreach ($array as $key => $value) {
echo "$value";
}
Would separate the string by 's and print all in one line.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
"Chad Day" <[EMAIL PROTECTED]> wrote in message
[EM
Any errors being given to you?
Tyler
- Original Message -
From: "James Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 1:15 PM
Subject: [PHP] Problem writting to file...
Hi,
I'm trying to write data to a file but for some reason it will not store
numb
Half the message didn't get sent ...
If I manually do a apachectl restart the page updates with the correct
changes on it
the other 3 apache / php servers I have all work correctly just this one on
7.1 the rest are 6.2 redhat installs.
-Dave
At 02:04 PM 7/6/2001 -0400, David OBrien wrote:
>So
nope...
The 'new line' tages are printed inside the file but not the values produced by the
counter...
- Original Message -
From: Chris Anderson
To: James Bartlett ; [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 7:25 PM
Subject: Re: [PHP] Problem writting to file...
I d
I don't see anything wrong with the code. Does this work:
- Original Message -
From: "James Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:15 PM
Subject: [PHP] Problem writting to file...
Hi,
I'm trying to write data to a file but for some reason i
check the browser cache settings.
for some bizarre reason, almost every browser i've seen
has the default option set to "cache everything and never
look for updates"
> -Original Message-
> From: David OBrien [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Something weird
>
>
> Sorry...
>
I'm trying to pull a string from a database to use in a javascript
function.. but it's doing line breaks on me, which in turn messes up the
javascript.
The string in the mysql db is like:
kjdsakjadkskjdkskjkdfjdfkjfd
When I pull it out, it becomes:
kjdsakjadk
skjdks
kjkdfjdfkjfd
I've tried
Hi,
I'm trying to write data to a file but for some reason it will not store numbers in
the file...Here's the code I'm using...(as an example)
Thanks for any help...
James
Hi Victor!
On Fri, 06 Jul 2001, Victor Spång Arthursson wrote:
> Hi!
>
> Still new on PHP, converting from vb$cript, I wonder how I do a
> redirect...
>
> In vbscript:
>
> <%
> response.redirect("page.extension")
> %>
>
> In PHP???
$response->redirect("page");
where:
class Response {
Sorry...
I just installed a fresh RH 7.1 server with compiled apache 1.3.16 and php
4.0.6
if I make a change on a page it doesn't show
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I just installed a fresh RH 7.1 server with compiled apache and php 4.0.6
--
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]
Hi, I don't know what is exactly what you want to do, but I have a page with a
tag, and a mySQL database with a TEXT field, that way I can use newline
breaks.
Bye.
On Fri, Jul 06, 2001 at 04:06:58PM +0100, Mat Marlow wrote:
> Hi all,
> I am in desperate need for a solution to HTML text fields
I was curious if there was any custom tag support like jsp or cold fusion in
php (or outside libraries). I'm looking at trying to make re-usuable
components and want to use something more than including simple classes or
function calls.
Thanks for your time,
--
PHP General Mailing List (http
Doesn't work if you put ++ after the variable?
> 1 2 echo "i'm on line $NUMBER_LINE++\n";
> 3 echo "i'm on line $NUMBER_LINE++\n";
> 4 ?>
Or maybe:
echo "i'm on line "
.$NUMBER_LINE++
."\n";
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
nothing wrong with windows
- Original Message -
From: Christopher Allen <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 3:21 AM
Subject: Re: [PHP] hey, got a question
> well theres your problem...winblows.lol
> - Origin
well theres your problem...winblows.lol
- Original Message -
From: "ReDucTor" <[EMAIL PROTECTED]>
To: "Christopher Allen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:58 AM
Subject: Re: [PHP] hey, got a question
> Windows
> - Original Message -
>
I want to delete some lines
original:
http://www.example.com/1.html"; >ABCD
> Football
http://www.example.com/2.html"; >BCDE
> Tennis
http://www.example.com/3.html"; >CDEF
> Football
http://www.example.com/4.html"; >DEFG
> Basketball
http://www.example.com/5.html"; >EFGH
> Tennis
http://www.exam
hi Micha,
are you using the apache version 1.3.6-7? or just
1.3.6, can you tell me if you can see your
php4 load and add module in etc/httpd/conf/httpd.conf?
is that am having problems with this my php4.0.6 does not work
only when i change my php ext to php3 or php but not php4!!!
pls advise
Windows
- Original Message -
From: Christopher Allen <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:45 AM
Subject: Re: [PHP] hey, got a question
> what's the OS?
>
>
> - Original Message -
> From: "ReDucTor" <[EMAIL PRO
It's just a port that isn't open on the NAT, i have attempted to open it,
just isn't opening, but i want to know if it is possible to use Socks in PHP
- Original Message -
From: Kurt Lieber <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2
no, go away
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 9:18 AM
Subject: [PHP] Re : Recommendation for - FREE Yellow Page entry
> Hi,
>
> Reference : May we have your permission ?
>
> A visitor to one of our 60 Topical sites has reco
what's the OS?
- Original Message -
From: "ReDucTor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:34 AM
Subject: [PHP] hey, got a question
i can't seem to access certain ports, through a nat program i have setup on
the computer here with the net, but i
look in manual for HEADER and LOCATION
- Original Message -
From: "Vicor Spång Arthursson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:43 AM
Subject: [PHP] Redirect
> Hi!
>
> Still new on PHP, converting from vb$cript, I wonder how I do a
> redirect...
>
>
maybe i don't undestand correctly but try:
$string = str_replace("","\\n",$string);
i.e escape the escape character \\n
- Original Message -
From: "Chad Day" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 4:38 PM
Subject: [PHP] addslashes problem ..
> I have t
Header("Location: whereveryouwanttogo.html");
On Fri, 6 Jul 2001, [iso-8859-1] Victor Spång Arthursson wrote:
> Hi!
>
> Still new on PHP, converting from vb$cript, I wonder how I do a
> redirect...
>
> In vbscript:
>
> <%
> response.redirect("page.extension")
> %>
>
> In PHP???
>
> Sincerely
>
>
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
<%
response.redirect("page.extension")
%>
In PHP???
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
sounds like a firewall issue to me -- do you have a firewall in between your
computer and your 'net connection? Might run a port scan on your default
gateway (which is likely your firewall if you have one) to see what ports
it's allowing inbound.
Alternatively, you could have a router that has s
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
<%
response.redirect("page.extension")
%>
In PHP???
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
i can't seem to access certain ports, through a nat program i have setup on the
computer here with the net, but i was thinking i could use something like socks,
because i want to setup some fsockopen() stuff...but i can't use it on the ports i
want, just frezzez...works over the lan fine, and o
> Here's how I see things:
>
> say http://mydom.com/cgi-bin/dynsite.pl is the thing that generates the
> html/php code. Make http://mydom.com/index.php contain just this line:
>
> http://mydom.com/cgi-bin/dynsite.pl";) ?>
>
> This works effectively as a include-virtual SSI directive: it reads from
on 7/6/01 11:36 AM, rick at [EMAIL PROTECTED] wrote:
> while ($row = mysql_fetch_row ($result)) {
> $map_list .= "$row[0]"; }
> }
> return $map_list;
Thanks Rick! This worked great.
I guess I'm right in assuming that all you can get back from a function is
one big string return. I've tried pa
The syntax to do this in Transact SQL would be,
Delete From notes where location in (select rowid from locations where map
= @MapID)
Delete From Locations Where Map = @MapID
Delete From Maps Where RowID = @MapID
I dont imagine that MySQL would be that different, although I have a nagging
feel
Hi,
I need to get the following working on windows with IIS:
http://www.php.net";); ?>
I know, it's working on unix, but it creates an error message on IIS.
Is there a patch, which enables this feature on IIS?
(I do develop my webpages on a windows system, later, they
are hosted on linux with
If you want to manipulate PNG or JPEG images, you need to make sure you have
the PNG and JPEG libraries, and recompile PHP with GD as before, and
adding --with-png-dir=/path/to/pnglib, --with-jpeg-dir=/path/to/jpeglib
For the complete list of compilation options, see
http://php.net/manual/en/inst
I have to use addslashes on a string of mine so I can use it in a javascript
function, so that when a link is clicked, a html textarea box is populated
with that string.
The problem I have is that if there are line breaks in the string, the
's seem to get created when addslashes is run on the str
Ahh, dunno about that at all
- Original Message -
From: "Mike Gifford" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 9:41 AM
Subject: Re: [PHP] Bibliography & Profiles Directory - Looking for Existing
GPL Apps
> Sorry for
http://www.fedex.com/us/ebusiness/ecommerce/shipapi.html
--- Brad Hubbard <[EMAIL PROTECTED]> wrote:
> On Fri, 6 Jul 2001 02:10, Daniel Guerrier wrote:
> > The FED Es api suite says tat windows is a
> > requirement.
> >
>
> URL?
>
> Cheers,
> Brad
> --
> Brad Hubbard
> Congo Systems
> 12 North
instead of returning that line, put it into some variable... like:
while ($row = mysql_fetch_row ($result)) {
$map_list .= "$row[0]"; }
}
return $map_list;
- Original Message -
From: <[EMAIL PROTECTED]>
To: "'Php-General (E-Mail)" <[EMAIL PROTECTED]>
Sent: Friday, July 06, 1979 8:27 A
Hi list members!
I'm having a strange problem here regarding cookies. First let me explain
the scenery:
I'm developing a site that have a login system. I'm using PHP , MYSQL and
APACHE under MS windows 98 SE. So, when the user login into the first page,
I "set up" 2 cookies, one with his name a
Okay there is a file called global.inc
$row[0]"; }
}
?>
But when I call it like this:
It only shows the first result from the db... How do I get it to list them
all?
Susan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Hi,
Reference : May we have your permission ?
A visitor to one of our 60 Topical sites has recommended
we contact you, to include your business in the Only-Yellow-Pages Directory.
The information they have provided is :
Email: [EMAIL PROTECTED]
URL : e-gineer.com
Category : Florida
Is there a performance benefit or other reason to prefer including files or
using functions that write the same contents? For instance, on my pages I
have an number of includes for header, main nav, footer, random quote. If I
need to pass variables to one of them I just set the variable right befo
1 - 100 of 140 matches
Mail list logo