i don't think you have permissions to do that on remote.. :S but you can try file_get_contents (i guess it will do the same, but...)
<?php $homepage = file_get_contents('http://www.example.com/'); echo $homepage; ?>
you just added the files to the pages?
i'm a woman, not a man ahahah :P
no probs man! all will be there for you ;)
it's not $_GET?
and give help too (A)
ok, try to leave empty the regdiv first, because now you have to names registration, understand?
Or you use ajax like in this: http://www.dhtmlgoodies.com/scripts/ajax-chained-select/ajax-chained-select.html
I have 2 files. One have php code to display some information. Another calls the other to get the content into a string, to create another one but .html.
I put the url, so I can get only the "html" code, because the file with the content that I want to is in .php and it's in my server (same as the page with the code above)...
so is there any other way to do it? :/
I'm thinking (desperately) in making an huge string with all the code of the other page and run, and split and make it like html... if there isn't another way
Thank you for all answers until now :)
no... :/ it didn't
...hmm sorry, but in this case what is $str value? :$
ok, an example with session
on line 70 you put like this:
to know if form was submitted
then on lines 190 to 192 change to this
if (Request.Querystring("submit")="yes") then strVarDate1 = split(Request.Form("Date1"),"-") session("date1")=strVarDate1 strVarDate2 = split(Request.Form("Date2"),"-") session("date2")=strVarDate2 else strVarDate1=session("date1") strVarDate2=session("date2") end if SplitDate1 = (strVarDate1("2"))&"-"&(strVarDate1("1"))&"-"&(strVarDate1("0"))
so now you when you submit you save dates on sessions, and in case it's not a submit the variables go to get dates from sessions
nop... the result is the same... :/ I don't understand why in localhost it works...
on line 15, if I put htmlentities only appears a script that is on body, if I take that off, appears all the php code...
after submit form you need to save the both datas in a session or querytring, so you can put in sql the variables. if form was submitted that variables are from form, if not then are from querystring you create or session..
I used before, without profile and now I create one to help too :P
No. I have a .php page that I want to get content from to write in another page and make a download for the user.
thank you all
yes, same result :/
ok, questions: when you type your username everything is fine? it goes to success page?
after line 26 put this:
go to your mysql console or phpmyadmin and paste the query that will appear on the page
split after a few characters in all the ways...
wooooo so many posts :O :O
put scroll on the box inside or detect uppercase : if (preg_match('/[A-Z]+/', $str))
and it goes to "Connections/user1.php"? are the sessions with the correct values on the other page?
I dont understant what's line 58: mysql_select_db($database_user1_db, $user1_db);
there's no variables ..._user1 are they on user1_db.php?