Search found 10 matches

by fabrizzio
Thu Jan 16, 2003 7:57 am
Forum: JavaScript
Topic: calling a parent function
Replies: 3
Views: 3125

calling a parent function

what about if i want to make a call to a function defined in the parent window?? i mean i want that something happens in another window.

fabrizzio
by fabrizzio
Thu Jan 16, 2003 5:59 am
Forum: JavaScript
Topic: refresh
Replies: 1
Views: 1599

refresh

does anybody knows how can i do a refresh of the browser window in jscript?

fabrizzio
by fabrizzio
Mon Dec 30, 2002 5:05 pm
Forum: PHP coding => General
Topic: copy file
Replies: 1
Views: 813

copy file

another one. can i copy a file to another url? i don't want to upload with a form i want to copy the files. i know that since php ver 4.3 i can do it but i have php 4.2.2

fabrizzio
by fabrizzio
Mon Dec 30, 2002 4:51 pm
Forum: PHP coding => General
Topic: filename in a directory
Replies: 1
Views: 869

filename in a directory

does anybody knows how can i read the directory contents with a remote addr? I mean read all the files placed at:"http://www.server.com/direc"

thanks
fabrizzio
by fabrizzio
Fri Dec 27, 2002 4:39 am
Forum: PHP coding => General
Topic: replace break lines in string
Replies: 7
Views: 1752

replace break lines in string

Hi forum, i was trying to replace every enter press with a <br> in a text area, so when the user submits the form i'm using this: $text = str_replace("\n","<br>",$textareavalue); and the store it in a db, but when i see the fields the enter is still there! Php inserts the <br>s but i can't remove th...
by fabrizzio
Wed Dec 18, 2002 4:42 am
Forum: PHP coding => General
Topic: 2 questions how to open a webpage, and a form question
Replies: 0
Views: 732

1- use header("Location: some.php")
you must use this function before any other header is displayed (see reference manual)

2- use <?php =$var?> or better <?php echo $var;?>

fabrizzio
by fabrizzio
Tue Dec 17, 2002 7:13 am
Forum: PHP General
Topic: help with history back
Replies: 12
Views: 3942

i think you are hardheaded. couldn't you understand this? i wanted to clear history with php so i posted in a programming with php forum.

fabrizzio
by fabrizzio
Tue Dec 17, 2002 6:23 am
Forum: PHP General
Topic: help with history back
Replies: 12
Views: 3942

sorry but i must disagree with you. i've posted the question in the correct forum 'cause i guessed that might've been a php function to do what i needed. in the other hand, i think you cannot move message 'cause you want to. it's not a good idea. you can loose members with this politics. fabrizzio
by fabrizzio
Mon Dec 16, 2002 7:09 am
Forum: mySQL & php coding
Topic: Mysql query problem
Replies: 4
Views: 1741

maybe you can do this:
1-get the numbrer of rows (mysql_num_rows() )
2- $x = number - 10
2-then use a select avg(whatever) from table limit number,10;
by fabrizzio
Fri Dec 13, 2002 2:25 pm
Forum: PHP General
Topic: help with history back
Replies: 12
Views: 3942

help with history back

does anybody knows how can i set the page that the browser loads when the user hits the back button?

or
does anybody knows how can i disable the back button in ie?

thanks in advance

Fabrizzio