[PHP] Mail form

2002-10-25 Thread Trasca Ion-Catalin
Why my mail prcessing script don't recognize the value from the form file.
If I call the $numele variable it's just output a null.
This is the form.html


Numele




  Nume:

  
  

  



And this is mail.php
Mesajul este trimis



 




the mail command is commentet for testing purpose, I don't want to receive a
e-mail every time I test the script.

--
Trasca Ion-Catalin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Mail form

2002-10-25 Thread Trasca Ion-Catalin
Now I noticed that I can't take any variable from another file. It's my
programs fault or I have to modify something in Apache or PHP?

--
Trasca Ion-Catalin
"Trasca Ion-Catalin" <[EMAIL PROTECTED]> wrote in message
news:20021025100207.89943.qmail@;pb1.pair.com...
> Why my mail prcessing script don't recognize the value from the form file.
> If I call the $numele variable it's just output a null.
> This is the form.html
> 
> 
> Numele
>
> 
> 
>
>   Nume:
> 
>   
>   
> 
>   
> 
> 
> 
> And this is mail.php
> Mesajul este trimis
>  $email = "Nume:\t$numele";
> $to = "[EMAIL PROTECTED]";
> $subject = "Nume";
> # mail($to, $subject, $email);
> ?>
> 
> 
>  
>
> 
> 
> 
> the mail command is commentet for testing purpose, I don't want to receive
a
> e-mail every time I test the script.
>
> --
> Trasca Ion-Catalin
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Question!

2002-10-26 Thread Trasca Ion-Catalin
If I have a php file who calls another php file which change some letters on
the first file, why my php code on the first file won't work anymore?
I hope I was explicit enough in my question.

--
Trasca Ion-Catalin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Question!

2002-10-27 Thread Trasca Ion-Catalin
this is the first file "continut.php"


Continut


.spanstyle {
 position:absolute;
 visibility:visible;
 top:-50px;
 font-size:10pt;
 font-family:Verdana;
  font-weight:bold;
 color:yellow;
}




var x,y
var step=20
var flag=0

// Your snappy message. Important: the space at the end of the sentence!!!
var message="TIC2000 Intraþi pe FORUM "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
 xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
 ypos[i]=-50
}

function handlerMM(e){
 x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
 y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
 flag=1
}

function makesnake() {
 if (flag==1 && document.all) {
 for (i=message.length-1; i>=1; i--) {
  xpos[i]=xpos[i-1]+step
   ypos[i]=ypos[i-1]
 }
  xpos[0]=x+step
  ypos[0]=y

  for (i=0; i<message.length-1; i++) {
  var thisspan = eval("span"+(i)+".style")
  thisspan.posLeft=xpos[i]
   thisspan.posTop=ypos[i]
 }
 }

 else if (flag==1 && document.layers) {
 for (i=message.length-1; i>=1; i--) {
  xpos[i]=xpos[i-1]+step
   ypos[i]=ypos[i-1]
 }
  xpos[0]=x+step
  ypos[0]=y

  for (i=0; i<message.length-1; i++) {
  var thisspan = eval("document.span"+i)
  thisspan.left=xpos[i]
   thisspan.top=ypos[i]
 }
 }
  var timer=setTimeout("makesnake()",30)
}







  
<!-- Beginning of JavaScript -

for (i=0;i<=message.length-1;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
 document.write(message[i])
document.write("</span>")
}

if (document.layers){
 document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

// - End of JavaScript - -->


 Fara diacritice
" ; ?>
  
 Bine ai venit 
  pe situl reþelei locale "Reþea". Pentru început nu am inclus decât un
buton
  în bara de navigare. Daca va fi nevoie voi include ºi alte butoane în
viitor,
  dar nu cred.
 Folosiþi forumul pentru a adresa
întrebãri
  ºi eventuale reclamaþii celor care ne ocupãm de ea (Ciprian, Cãtãlin,
adicã
  TIC2000 ºi Florin, adicã Pappy).
Menþionez cã acest sit nu va
funcþiona
  decât atunci când voi avea eu calculatorul deschis (adicã TIC2000), asta
pânã
  vom schimba serverul ºi-l voi pune acolo pentru a fi accesat tot
timpul.

Pentru a nu mai apãrea data
viitoare ca "Cineva"
 trimite-mi numele ºi ip-ul tãu
(acesta fiind ) pe adresa de e-mail [EMAIL PROTECTED] 

Vã mulþumesc pentru
vizitã,

TIC2000

this is the second one "amput_iso-8859-2.php"



I send them in the attachment too, you won't have the background, but it
doesn't matter.

I change letters like this ã in a, î in i, º in s, etc.
I use apache 2.40 and php 4.2.3


--
Trasca Ion-Catalin
"Justin French" <[EMAIL PROTECTED]> wrote in message
news:B9E18359.154A1%justin@;indent.com.au...
> That's impossible to answer!!  My guess is that the "few letters" you
change
> affect the way the script runs, so it's probably causing an error.
>
> Without seeing *WHAT* you change, I can only guess.
>
>
> Justin
>
>
> on 27/10/02 10:31 AM, Trasca Ion-Catalin ([EMAIL PROTECTED]) wrote:
>
> > If I have a php file who calls another php file which change some
letters on
> > the first file, why my php code on the first file won't work anymore?
> > I hope I was explicit enough in my question.
> >
> > --
> > Trasca Ion-Catalin
> >
> >
>


begin 666 amput_iso-8859-2.php
M/#\-"B1F<#UF;W!E;B@D9FES:65R+")R(BD[#0II9B@A)&9P*7L-"F5C:&\@
M(D9IPT*)&,]9F=E=&,H)&9P*3L-"G-W:71C:"@D
M8RD@>PT*8V%S92 BNB(Z(&5C:&\@(G,B.R!BPT*"7!O65L
M;&]W.PT*?0T*/"]S='EL93X-"CQS8W)I<'0^#0H-"@T*=F%R('@L>0T*=F%R
M('-T97 ],C -"G9A7!O" ]("AD;V-U
M;65N="YL87EE2 ]("AD;V-U;65N="YL87EEPT*"6EF
M("AF;&%G/3TQ("8F(&1O8W5M96YT+F%L;"D@>PT*(" @( EF;W(@*&D];65S
M"MS=&5P#0H)"7EP;W-;,%T]>0T*"0T*"0EF;W(@*&D],#L@
M:3QM97-S86=E+FQE;F=T:"TQ.R!I*RLI('L-"B @(" )"79A6QE(BD-"B @(" )"71H:7-S<&%N
M+G!O'!O65RPT*(" @( EF;W(@*&D];65S"MS=&5P#0H)
M"7EP;W-;,%T]>0T*"0T*"0EF;W(@*&D],#L@:3QM97-S86=E+FQE;F=T:"TQ
M.R!I*RLI('L-"B @(" )"79APT*(" @(&1O8W5M96YT+G=R:71E*"(\6QE)SXB*0T*"61O8W5M96YT
M+G=R:71E*&UE2(@8VQAS\^#0H\<"!A;&EG;CU<(FIU
M

[PHP] Another question

2002-10-29 Thread Trasca Ion-Catalin
If I have a page with frames, how can I get the title of the frameset to be
the title of the main frame? I want this title to change every time the
visitor change the page.
Any help?

--
Trasca Ion-Catalin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Yet another question

2002-10-29 Thread Trasca Ion-Catalin
It's posible to call a variable from another file?

--
Trasca Ion-Catalin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Yet another question

2002-10-30 Thread Trasca Ion-Catalin
Yes, this works, but only if I include the file before the use of the
variable, but, what if I use the include() after the use of the variable?

--
Trasca Ion-Catalin
"Tjoumaidis" <[EMAIL PROTECTED]> wrote in message
news:3DBF8DE6.70701@;freemail.gr...
> Yes if you include the file
>
> include ("file");
>
> then you can refer to any of the variables the file contains
>
>
> Trasca Ion-Catalin wrote:
> > It's posible to call a variable from another file?
> >
> > --
> > Trasca Ion-Catalin
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Jump Menu

2002-10-30 Thread Trasca Ion-Catalin
How can I read the values from a jump menu?

--
Trasca Ion-Catalin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php