Jump to content

hasanatkazmi

Members
  • Posts

    44
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

hasanatkazmi's Achievements

Member

Member (2/5)

0

Reputation

  1. well, thanks for the replies, but there is a problem. The PHP files are hosted on the web server, If I, by browsing in windows explorer do to the batch file and execute that, it will work, but if it is executed over http, the IIS and Apache wont allow due to Secuty reasons. (correct me if i am wrong) What should I do in this case, please suggest me some key words which I can google to get some lid
  2. Hi, I want to make an web application where if an event occurs (say user clicks execute me) than a program triggers on my computer, does some thing and then returns the data back to the site so that i can show the result to the visitor lets make it more understandable see this diagram http://www.pixel-touch.com/untitled.bmp I badly need help
  3. great! it worked, u solved the biggest problem i faced in months
  4. yes this is exactly i should do, i have a number of long files, i cant change all 'enters' to '\\n\\r , how can i change all 'enters' by using some function, if i use str_replace than how can i tell the function what 'enter' is???
  5. well, it does see, if (!isset($_GET['id'])) { die(); } else { $id = $_GET['id']; } switch ($id){ case "contentdiv1": $html = 'This should idealy work but isnt working'; break; case "contentdiv2": $html = '<b>This content came from our Ajax Engine and came for tag 2 </b>'; break; case "contentdiv3": $html = '<b>This content came from our Ajax Engine and came for tag 3 </b>'; break; } in the case of contentdiv1 , it gives no result (and no js error) , i dont know why !!!!!!
  6. so how to solve it, how to convert newlines into noting, or simply doing what "wrap text" in note pad does?
  7. Perhaps you didnt get what i want to say, i dont want newline, i want to echo $html as innerHTML . the problem is that when $html contains a newline created by enter tab not by <br> or \n , it fails to work
  8. I have a file which basically outputs some javascript, the problem is that when the $html variable contains some thing with enter / newline, the code fails giving no error e.g if $html is like $html='<p><b>this works</b></p>'; but this fails $html='<p> <b> this works </b> </p>'; <?php the actual code is this : (which fails ) $html = '<p>this page talks about services provided by pixeltouch</p> <p> </p> <p> </p> <p>lolz</p> <p> </p> <p> </p> <p> </p> <p>we make graphics</p>'; ?> div = document.getElementById('nameofdiv'); div.innerHTML = '<?php echo $html; ?>';
  9. mysql_query on sql fetches an array??? is it so?
  10. I am new to MySql, how can i search for a value in specific column in the table suppose table is $table, and coulmn is $cloumn and I am searching for a some variable say $var
  11. i have an scrollable iframe with in a div, but it behaves like an image, no links are clickable and it cant be scrolled. what might be possible reasons
  12. i have an scrollable iframe with in a div, but it behaves like an image, no links are clickable and it cant be scrolled. what might be possible reasons
  13. i too think so, but how to start.... any ideas
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.