Just thought I would check.
--
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: "When you want something, all the universe
:.: conspires in helping you to achieve it."
:.:
y
> that you're using a version of PHP that is recent enough to have $_POST.
> So, you can use $_POST['foo'] instead of $HTTP_POST_VARS['foo']. Not only
> is it shorter, I believe the older name is deprecated.
--
:
:. kind regards
:.. Martin Hudec
> echo "Values submitted via POST method:";
> reset ($HTTP_POST_VARS);
> while (list ($key, $val) = each ($HTTP_POST_VARS)) {
> echo "$key => $val";
> }
>
> ?>
>
> but if I call the variable directly
>
> it prints nothing, should I go
ctory.
> >
> >
> >
> > Brona
> >
> > > I am getting this error once i run the script
> > >
> > > Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
> > > Permission denied in /blah/blah
> > > Do i need to set t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyway I can't understand why php does not return any message in this:
$mess = "blablabla";
if (exec("mogrify blbalba"))
{
$hlaska .= "xixixixix";
}
echo $hlaska;
- --
kind regards
- --
Martin Hudec
-
t;
> Also, the webserver user have write (not only read) the file ?
>
- --
kind regards
- --
Martin Hudec
- --
:@: [EMAIL PROTECTED]
:w: http://www.corwin.sk
:m: +421.907.303.393
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.
- --
Martin Hudec
- --
:@: [EMAIL PROTECTED]
:w: http://www.corwin.sk
:m: +421.907.303.393
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/cu2b1VPr1EE7sj4RAjiRAKCKgQDRmp6b7SjW3VnT5lMlBr2YFQCgkL2h
FypoB1eyT/Xux1vs9u415ro
its configuration
file to group).
like
rw-rw-r-- user group test.php
I hope I have explained it a bit to you.
--
Martin Hudec
:@: [EMAIL PROTECTED]
:w: http://www.corwin.sk
:m: +421.907.303.393
"In google non est, ergo non est."
-
H it might be done by checking which mouse button is pressed using
javascript :) but i think this works only in Iexplore ;)...i used such code
on my webpageit shows only copyright etcanyway user does not need to
rightclik and save if he knows where is his browser cache located.
Hello,
i have document in html and i want to get out string between
tags to put it into another variable..
i am wondering if i could use eregi() herebut how? I cant figure
out any possible way... same with strchr() and strstr()
can anyone help me please?
--
Best regards,
Martin
Hello all,
i am executing grep command from php to get listing of files
containing searched phrase
i am getting output like this:
a/x.txt a/y.txt b/z.txt
I am unable to find any way to replace spaces for \n character using
ereg_replace(), I tried to replace / instead and it replaced it in
la
Hello Paul,
well problem is this: you don't have defined variable $actionmaybe
you are not posting it correctly from form...what is on first 12
lines?
try to add $action="value"; on line 12...just define any suitable
value...
--
Best regards,
Martin mail [EMAIL P
Hello Sean,
oh i must correct myself ;)) .
or try to use this:
print "";
or just
print "";
looks like u have error here:
print "";
^ ^^
^ - use \ before "
^^- no need to use both \ and " remove those two characters
or try this
y
Hello Sean,
or try to use this:
print "";
or just
print "";
^ ^^
^ - use \ before "
^^- no need to use both \ and " remove those two characters
or try this
your php
?>
" width=104 height=137>
http://www.corwin.sk
PGP key fingerprint
Hello ,
okay here's the code...sorry forgot to post it
everything works in login.phpsession is registered...but in index,
it seems that session is empty...
login.php:
";
//reloads index.php (login.php is popup from index.php
echo "window.opener.location.reload();";
echo "setTimeout('windo
Hello,
I have following problem:
i have one script (index.php) which displays information (menu items)
based on result from function check_valid_user(). This function checks
if there is session_is_registered("valid_user").
second script is for login.it saves into session
session_register("va
Hello all,
I would like to know how can I put ' character to case in switch...
Situation:
from flash i am getting url: index.php?action=what's new
i need to pass this thing to switch like:
switch ($action) {
case about:
code
break;
case what's new: <-- i want this.
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
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
Hello Tine,
it looks okay to me butlooks like you have met two conditions at
time ($sted == "") and ($telefon == "0")why dont u make something
like this?
if (empty($sted) || empty($telefon)) {
include header
if (empty($sted)){
echo STED NOT FILLED...
}
if (empty($telefon)
r rows.
JWH> John
>> -Original Message-
>> From: Martin Hudec [mailto:corwin@;corwin.sk]
>> Sent: Monday, October 28, 2002 12:38 PM
>> To: Bsantos PHP
>> Cc: [EMAIL PROTECTED]
>> Subject: Re: [PHP] for??
>>
>> Hello Bsantos,
>>
>&g
Hello Bsantos,
BP> Now, I've created a funtion which controls how many fields (cols) may be
BP> seen by user. Some like this:
BP> function select_query ($fields, $table) {
BP> $result = ("SELECT $fileds FROM $table");
BP> }
maybe mistype in SELECT fileds should be fieldsalso try using
select
Hello user,
ill take a look only into this
udi> // UPDATE THE DATABASE
udi> $sql = "UPDATE fantasytoo SET o1 = \"$o1\",w1 = \"$w1\",c1 =
udi> \"$c1\",o2 = \"$o2\",w2 = \"$w2\",c2 = \"$c2\",en = \"$en\",wc =
udi> \"$wc\",ot = \"$ot\" WHERE realname = \"$realname\" ";
udi> }
well here u
@;corwin.sk
Monday, October 28, 2002, 4:18:45 PM, you wrote:
E> Hello,
E> "Martin Hudec" <[EMAIL PROTECTED]> wrote:
>> or (from my point of view is this better)
>>
>> if {$country!="finland") :
>>display_shipping(calculate_nonfinland_cost($c
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> How do I retrieve / capt
Hello Steve,
oh my fault...i apologize...this should worki shouldn't use break
;)
if {$country!="finland"){
display_shipping(calculate_nonfinland_cost($country));
}
elsif ($country=="finland" && $express=="no") {
display_shipping(calculate_shipping_cost($weight));
}
elseif ($country=="f
Hello Steve,
I hope I understand your questions...so first we will check value of
country (if it is other than finland)...then if the first if
requirement is not met we will continue to second part (checking
express)...and so on
if {$country!="finland"){
display_shipping(calculate_nonfinla
27 matches
Mail list logo