Copy and paste the code (minus and indisclosurables) and we can take a look at it :o)
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> Varsha Agarwal <[EMAIL PROTECTED]> 07/29/02 04:27PM >>>
Hi
1. Take out the @ before fopen(), this may shed some light on your problem
2. What does "/home/blurredv/data/".$username."Contact.txt" expand out to
actually be?
3. Does the script have write access to the directory/file?
-Original Message-
From: Chris Carlson [mailto:[EMAIL PROTECTED]]
S
REGEX is short for "Regular Expressions"
It gives you a "smarter" way to manupulate strings.
The PHP manual has some good docs on reg.ex. - see section LXXXIV and LXXXVI
HTH
Martin
-Original Message-
From: Lord Loh. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July
;ll have to fix this line up :)
{
if ($counter % $numcols == 0) echo "";
// echo image stuff here
if ($counter % $numcols == $numcols-1) echo "";
}
if ($counter % $numcols != $numcols-1) echo "";
(if I remember your original post correctly)
Martin
-
http://myaddress/php/mypage.php?modo=123&color=red&size=3
Just separate name/value pairs with ampersand (&).
HTH
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> "Saci" <[EMAIL PROT
I don't think you'll be able to o this directly with PHP, unless you know
the file format of an .xls file...
You might be able to use COM somehow (??)
Might be easier for the user to save the spreadsheet out as a CSV first
Martin
-Original Message-
From: Jason Caldwe
Is this a direct copy from your code?
> echo $_GET['modo']." echo $_GET['color']." echo $_GET['size']." tags
see if that helps
Martin
-Original Message-
From: Saci [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 6:09 AM
To: [
wn in code from the start. I think in sorta
pseudo-code, then once I have a solution, I then implement in
language-specific code.
HTH
Martin
-Original Message-
From: Wee Keat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 9:39 AM
To: PHP General List
Subject: [PHP] How to be
Can you post/send the results of doing a print_r() on the first page (the
one that's serialising) and the results of the serialize()?
-Original Message-
From: DoL [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] passing arrays between
You'll need to find out how to convert from RGB to HSV
Then all you need to do is look at the hue and fiddle with that.
Sorry I can't be any more help than that, because I don't know what the
maths is to convert from one colour space to the other :( But this should
be a st
Because you HAVE to use it if you have register_globals OFF. Only when
register_globals is ON can you do what you thought is more efficient, but isn't.
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>>
ally is no limit to how you want to do this. Then just use explode() with the
same arguments (although replace array with the comma_seperated string) to go back to
an array.
HTH!
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
cannot use the back button without getting mishapen
results, then it doesn't sound as if the site is designed very efficiently.
Just my opinion.
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> Petre &l
that
starts at $i (0, 8, 16, 24, etc) and grabs 8 characters. So here is how the data
should be retrieved.
1st loop: 0-7 (8 elements)
2nd loop: 8-15 (8 elements)
3rd loop: 16-23 (8 elements)
4th loop: 24-26 (3 elements)
Let me know how it works out for you :o)
Martin Clifford
H
directly, as I'm unsubscribing
after I send this last mail. Against my will, no doubt, but leaving just the same.
Take care, everyone, and as always...
Happy Coding! :o)
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
Split() chops up the string (param #2) according to param #1 (in this case,
space is the delimiter). Param #3 says, don't chop more than two bits. It
then returns an array
list() assigns $arr[0] to the first variable, $arr[1] to the second, etc.
HTH
Martin
-Original Message-
To add to this - you should place critical information (like passwords, etc)
outside the document root. That way, even if the server is mis-configured,
others wont be able to easily gain access to those files
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, A
One option is the Zend Encoder
Martin
-Original Message-
From: YC Nyon [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 2:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Protect PHP coding
Is there any method to encrypt PHP files.
Nyon
--
PHP General Mailing List (http
use C and fork()
php (AFAIK) can't do parallel programming
-Original Message-
From: NoWhErEMan [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Open 10 http connections in parallel
Hello,
I had to write a script to open 10 http co
you've got a ";" after the if
IF (!$accion); {
should be
IF (!$accion) {
-Original Message-
From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] anyone can help?
this is not functional and i dont k
set_time_limit()
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 12:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Resetting the timeout
On Monday 19 August 2002 10:06, Mike Mannakee wrote:
> Is there any way to set the timeout (max length of
<--- And a
third one
You only need one of them...
HTH
Martin
-Original Message-
From: Pafo [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 3:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php string match problem
heh,, is it just me or can anyone see wha
oh, just realised, one of them needs to go below the "else" line, to end the
"while" loop
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 3:37 PM
To: 'Pafo'; [EMAIL PROTECTED]
Subject: RE: [PHP] php string
oops again, please ignore my last two posts :(
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 3:38 PM
To: 'Pafo'; [EMAIL PROTECTED]
Subject: RE: [PHP] php string match problem
oh, just realised, one of them needs to go below
try this:
-> $sqlcom="select count(codigo) as cnt from comments where codigo=$id";
$resultadocom = mysql_db_query ("database",$sqlcom);
$registocom = mysql_fetch_array($resultadocom);
-> $contador = $registocom["cnt"];
print("comentarios= $contador");
the lines marked with -> are t
str_repeat()
-Original Message-
From: Saci [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Replicate string or something similar
In ASP I use the expression myvar = string(254,"A")
to have a var filled with 254 characters 'A'
http://www.php.net/manual/en/function.usort.php
-Original Message-
From: Ben [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Sorting a multi-dimensional array
I have looked at array_multisort, asort, etc. NONE of them do what I n
replace "xxx" with the row number for your id field
when it gets to php, the index of $cbox will be the id from the database,
just use:
foreach ($cbox as $id=>$dummy)
to loop through the array
HTH
Martin
-Original Message-
From: Brian & Shannon Windsor [mailto
our delete statement for your database? Whoops!). Like Justin, my process
is to test, test, test, upload, and test some more. Extra time spent now could
possibly mean less time spent correcting stupid mistakes.
Martin
"The more I see of this world, the more I am convinced of the ina
i know that array_unique was broken in version 4.0.4, but does anyone
know which version was it fixed in?
thanks,
greg martin
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just sum them up and divide by the count - making sure to deal with a count
of zero
-Original Message-
From: JohnP [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 10:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Average Number For Math Functions
Ok I looked at all the math functio
if you have each filename on a new line, then use file() to grab the
contents. It returns an array, each line is an element in the array. You can
then do what you want with the array
HTH
Martin
-Original Message-
From: stu9820 [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 1
t; > Ok so how do I sum up an entire column in my db?
> > For example if one row is : 1 , the next is 2, and the next is 1 - I
need
> to
> > have a total of 4 and the be able to divide by the num_rows
> >
> > The problem I ma having is the "inside" row addit
try this
ereg("^[a-zA-Z0-9:]*$",$string)
all your's is doing is looking for any char in $string that's a-z or A-Z or
0-9 or :
instead of all chars, from start to end, being them
-Original Message-
From: Adam Alkins [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 3:20 PM
To: PHP
Hello!
I have a simple hidden input-field like
Now sometimes I need to insert " like:
But this makes PHP (or the browser?) cutting of the string after "Hello
". How can I escape the "?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
> Using the htmlspecialchars() function, so that "Hello \"world\"" will be
> written in pure HTML: "Hello "world""
Thanx a lot! But how do I get it back to 'Hello "world"'? Do I have to do it
manually?
Martin
--
PHP Gene
hes would produce), the field gets the value
"Hello ".
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Martin
You can also do this
HTH
Martin :)
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 11:24 AM
To: Martin Thoma
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] How to escape " in hidden field?
Hi,
Monday, September 2, 2002,
Have you checked the $_POST (or $HTTP_POST_VAR) variable to make sure it IS
using GET?
Martin
-Original Message-
From: Jed Verity [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 3:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] IE won't post on Windows, but will on Mac
> Try this with single quotes:
>
>
Year, but then I couldn't use single-quotes in the text ;-) The problem is that
the content of the field is inserted by the user, so I cannot say if he uses
single- and/or double-quotes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
The thing about PHP classes is that there are not many rules. It is
usually suggested, as a matter of good practice to use get and set
functions for your variables in classes in any language. A lot of
people my think this is a bunch of extra work, but let's say you are
keeping track of customers
it's best done in sql using "select count(*)"
but can be done in php by looping through the result set
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:58 PM
To: PHP General
Subject: [PHP] Count in PHP
I am wanting to do a count i
Try adding curly braces around the var name, like this:
for($i=0; $imailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 9:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Confusing array question ...
Hi, I have 1 primary array called $item containing 20 values each of whose
value is part of
If I remember correctly
__FILE__ contains the current file name of the script
__LINE__ contails the current line number in the script
__PATH__ contains the path to the current script
HTH
Martin
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11
($name, $phone, $zip=""){
if (!$zip) $zip = "";
echo $name.$phone.$zip
}
HTH
Martin
-Original Message-
From: Shane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Easy Function Question?
I have a
ld be null, "", or "foobar", it doesn't matter, $zip will = $var3
Martin
-Original Message-
From: Shane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:22 AM
To: Martin Towell; [EMAIL PROTECTED]
Subject: RE: [PHP] Easy Function Question?
Martin, so
this is more of an HTML question. You'll probably be wanting to look at
and
-Original Message-
From: dinnie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:59 PM
To: Milist PHP
Subject: [PHP] frame
hi all,
sorry for disturb all of u for a while...
there's anyone can
could you change the "<" to "<" or "%3C" or something similar?
-Original Message-
From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] XML Parser Question
I've been reading the XML parser documention, and I'm no
set a hidden form element to be the referring page url, then use that to
redirect the user
eg:
then use: header("location: $myReferer");
remember, also, that $_SERVER['HTTP_REFERER'] is not always set, so you'll
need to cater for that
Martin
-Original Messag
basing my code on yours:
$i = 0; $cols = 3;
while (list($FirstName, $LastName) = mysql_fetch_row($result))
{
if ($i % $cols == 0) echo "";
echo "$FirstName $LastName";
if ($i % $cols == $cols - 1) echo "";
$i++;
}
// clean up table...
if
I'm not totally familiar with mySql, but if I remember correctly, you can
get each row (one at a time) back as an (1D) array. All you need to do is
append that array onto the end of your dataset array and, bob's your uncle,
you have a 2D array full with your dataset
HTH
Martin
---
s it clearer now ?
>
> Thanks,
>
> Christian
>
That's exactly what this will do. mysql_fetch_row() returns an array.
Appending that to another array and you get back an array of arrays (which
is the same as a 2D array)
Try it and see...
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, can't help you there. I'm not familiar with swf_* functions
Martin
-Original Message-
From: dinnie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 4:59 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] frame
anyway thanks before mr martin..^_^
i know to use
if you seed it with unix time then you'll alway be seeding with something
different
in most cases, the random numbers that are generated will be random enough
just my AU2c worth
Martin
-Original Message-
From: lallous [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 13, 2002 6:
one way that I debug things. Instead of var_dump()ing or
print_r()ing something, I'll "echo serialize(...)". It's more compact than
var_dump/print_r
Martin
-Original Message-
From: Geoff Caplan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 3:36 PM
I was running PHP on Win95 (for local stuff) and now Win98, using OmniHTTPd
for the server. It works great. I've recently upgraded to XP Pro (I know -
it's taken me ages, but what the heck) and it's still working great.
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
This is what you're really after - quoting the index
-Original Message-
From: Pablo Oliva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] error notice - valid code
Notice: Use of undefined constant year - assumed 'year' in
c:\ap
from the client end, you can't
from the server end, you can use curl.
HTH
Martin
-Original Message-
From: Chris Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 3:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to send POST info without a form?
I have a singl
, then either way would be okay... but I'd use $this->jk() anyway,
just to keep it all in the object (just in case...)
Martin
-Original Message-
From: Jarrad Kabral [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 11:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Inheritan
_cost($express));
break;
}
hope it helps...
--
Best regards,
Martinmailto:corwin@;corwin.sk
Monday, October 28, 2002, 2:20:39 PM, you wrote:
SJ>//de-bug
SJ>//echo "test & $country & $express";
well shouldn't here
t($country));
elsif ($country=="finland" && $express=="no") :
display_shipping(calculate_shipping_cost($weight));
elseif ($country=="finland" && $express=="yes") :
display_shipping(calculate_express_cost($express));
endif;
again i apologize...
--
Best
Hello Bret,
use $REMOTE_ADDR like this:
--
Best regards,
Martinmailto:corwin@;corwin.sk
Monday, October 28, 2002, 3:46:04 PM, you wrote:
BLC> Hi all,
BLC> I've been away for a while but I'm back and have a question about IP addresses.
BLC>
many elsif as you
want...also u can end whole thing with else which is executed in case
when no previous requirements are met...
hope I wrote it goodsorry im too tired to think about english
grammar and such things ;)))
--
Best regards,
Martinmailto:corwin
$sqlafter execution of first UPDATE thing you set
$sql to UPDATE bla bla.then here u set it to SELECT * from bla
bla...i recommend using for each sql string in one script various
variables like $sql1 = "UPDATE bla bla"; and $sql2 = "SELECT bla bla";
for better reading
--
inus one?...for example if
you have 10 selected cols...it will do that echo ten times for each
$jnot nine as in your original statement...you will have one $j
extra...
okay hope it helps for now
--
Best regards,
Martinmailto:corwin@;corwin.sk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
any fields it hasbut...maybe i am writing stupid things..i
really need to go home ;))) okay...
--
Best regards,
Martinmailto:corwin@;corwin.sk
Monday, October 28, 2002, 6:45:15 PM, you wrote:
JWH> He's talking columns, not rows. LIMIT is fo
Hi,
this php-script should read from a server (that i've written in perl) until
it receives the EOF signal.
My server sends the EOF-signal by
print $client "\n\004"; # \004 = EOF
to my script but fread wouldn't stop reading
and i don't have any ideas why.
Is php using an other sign for EOF?
ed or am headed :)
--
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nclude("foot.inc");
T> $Envoi = 0;
T> }
T> else {
T> $MailBody .= "E-post : $epost\n";
T> }
T> if ($kommentarer == ""){
T> include("head.inc");
T> echo("Du fylte ikke ut kommentarer.
T> » Tilbake til
T> skjemaet");
T> include("foot.inc");
T> $Envoi = 0;
T> }
T> else {
T> $MailBody .= "Kommentarer : $kommentarer\n";
T> }
--
Best regards,
Martinmailto:corwin@;corwin.sk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have a look at number_format()
-Original Message-
From: Andrew Wilson [mailto:will@;netwaynetworks.com.au]
Sent: Wednesday, October 30, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Decimal Places
Hay guys,
I have two variables ( integers ) that are being minused one from the other
what about str_replace(",", "", $str) before you pass the value to
number_format()?
-Original Message-
From: [EMAIL PROTECTED] [mailto:ed@;home.homes2see.com]
Sent: Friday, November 01, 2002 9:37 AM
To: Jay Blanchard
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] number_format question
Tried
Hello!
Our SMTP-Server has changed to authentification. Now we cannot send
mails anymore using mail(). How can I set the password in mail?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanx, I will try this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello!
Is there a way to run a php-script on a pc/windows-computer which hasn't
php-installed? I thought of somekind of compiler which creates an .exe,
which embeds the script and the php-environment.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
pages with the content you wish.
the rest is a little javascript, that calls the system print dialog.
hope that helps a little
regards
martin
> -Ursprüngliche Nachricht-
> Von: Ines [mailto:ines@;comprehend.de]
> Gesendet: Dienstag, 5. November 2002 14:33
> An: [EMAIL PROT
FYI: 'global' is two way
eg:
will work.
-Original Message-
From: Justin French [mailto:justin@;indent.com.au]
Sent: Wednesday, November 06, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] function()
Doesn't 'global' only get variables from outside the function into it OP
(
you can refer to form elements by:
document.forms["formname"].elements["elementname"]
so you could use:
document.forms["entryform"].elements["select02[]"]
-Original Message-
From: Mack [mailto:mplescano2000@;yahoo.com]
Sent: Tuesday, November 05, 2002 12:30 AM
To: [EMAIL PROTECTED]
Subject
Hello,
does anyone have experience with implementation of electronic pay
system for website based on PHP? Can you give me directions about
this?
--
Best regards,
Martin Hudec mailto:corwin@;corwin.sk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
CAUTION: It's not reliable
you can use $HTTP_REFERER
(or, I think's it's under $_SERVER, $_SERVER["HTTP_REFERER"])
-Original Message-
From: William Holroyd [mailto:w.holroyd@;versity-cobalt.com]
Sent: Thursday, November 07, 2002 12:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Code help
I
use substr($str, 0, 1000)
-Original Message-
From: Håkan [mailto:hw2k@;barrysworld.com]
Sent: Friday, November 08, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to limit chars?
Let's say I have a text field in my mysql database, and a where I
write whatever, and I want to limit
sounds like a browser caching problem to me
dunno if that helps though :/
-Original Message-
From: Robbert van Andel [mailto:robbert@;vafam.com]
Sent: Friday, November 08, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Graphics question
I have created a webpage that builds a table and
I remember reading somewhere (can't remember where though, maybe the php.net
web site??) that if you use $this in a constructor (or any methods the
constuctor calls), then you should instantiate the object using &new
otherwise you get a copy of the object that's just been created and not the
actual
what is the technical difference between using
else if
and
elseif
??
Are they interpretted the same internally?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you could break out into the shell and do
rm $dir/*(rm -r $dir/* if there's directories too)
(or del $dir/*.* for dos)
or use opendir, readdir, closedir to read the directory's content and use
unlink to delete the file(s)
(if $dir is not hardcoded, I can see a security hole he
you've got it in the subject line
http://www.php.net/manual/en/function.number-format.php
-Original Message-
From: Michael P. Carel [mailto:mikecarel@;teamglac.com]
Sent: Thursday, November 14, 2002 9:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] number format
Hi to all;
Is there any php f
>
(B>Message-ID: <[EMAIL PROTECTED]>
(B>References: <[EMAIL PROTECTED]>
(B>
(B>"Joseph Szobody" <[EMAIL PROTECTED]> wrote:
(B>>Actually, it still won't work under Windows.
(B>> Even on a pop-up window, you can right click,
(B>> view properties, copy the page address, open
(B>> a new browse
Hello all,
I would like to ask how can I make registration confirmation by
email...user will receive mail confirming his registration immediately
after he registers in application.is it possible to make mail()
function filled with data from registration (email)?
--
Best regards,
Martin
...
Hope you understand my problem...
Martin Magnusson
I've recently installed php 4.2.3 on Apache 2.0.43. (windows2000)
I downloaded a browscap.ini file from GaryKeith.com and copied it to
c:\WINNT\system32\browscap.ini
In php.ini the value for browscap is set to c:\WINNT\system32\browscap.ini
This doesn't work... For example: the variable $HTTP_USER
<-- i want this...
code
break;
default:
break;
}
but PHP can't use 'i am thinking about making urlencode() to put
that character to %XX value
any advices?
--
Best regards,
Martin mailto:[EMAIL PROTECTED]
--
PH
How do I get a html page into a string variable in php?
Isnt there any function working like this:
$homepage = getHtmlPage(http://www.myhomepage.com/index.html);
/Newbie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I want to write some multisite hit counter, but including session
statistics.
Anyone knows how to do that? I mean: I need to place some link on the page,
on not allways php enabled site - probably in form
of blank image, which will run script on my server. Ex.: http://my_serv.org?site=0011";>
gt; Any suggestions welcome...
>
> ---John Holmes
>
> - Original Message -
> From: "Martin Smetak" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 04, 2002 11:30 AM
> Subject: [PHP] multisite hit counter, includin session
I think this was asked recently by someone else
You need to use javascript/vbscript to grab the dimensions then pass it to
php
php is server side and doesn't know anything about the client unless it's
told about it
HTH
Martin
-Original Message-
From: Doron [mailto:[EMAIL
function myopen()
{
window.open("foobar.html?var1== $var1; ?>&var2== $var2; ?>");
}
click for new window
-Original Message-
From: Igor Portnoy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Creating pop-up window and passing
quot; for "_blank" and get the
same effect.
HTH
Jason Soza
- Original Message -
From: Martin Towell <[EMAIL PROTECTED]>
Date: Tuesday, June 4, 2002 3:55 pm
Subject: RE: [PHP] Creating pop-up window and passing variable to it?
>
> function myopen()
> {
>
'ð' is an accented 'o' - just like these are: 'ò', 'ó', 'ô', 'õ', 'ö'
I've never seen an 'o' accented that why before, so I have no idea how
you're meant to pronounce it. But going from "Tokyo" then I guess it's
pronounced "oe" as in "toe"
I dunno what function (built-in or otherwise) you can us
P script. Maybe you
can
> do more with Javascript or SSI, if that's available...
>
> ---John Holmes...
> - Original Message -
> From: "Martin Smetak" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 04, 2002 12:14 PM
> Subject: Re:
the user closes the browser, and then comes back to
> your site in a new window, then the session will not exist and they will
be
> considered a "new" user.
>
> Have you tried anything so far?
>
> ---John Holmes...
>
> - Original Message -
> From: "Mart
You can pretty much use ANY JavaScript event handler to accomplish the redirection.
I'm new to PHP, so the header is the only place I know of to redirect.
onclick
onmouseup
onmousedown
onmouseover
onmousemove
onkeydown
onkeypress
onkeyup
onchange
etc.
--
PHP General Mailing List (http://www.
201 - 300 of 1954 matches
Mail list logo