Jump to content

rahulkadukar

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

About rahulkadukar

  • Birthday 07/25/1987

Profile Information

  • Gender
    Male
  • Location
    Mumbai, India

rahulkadukar's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I actually wanted to know which one is faster, so according to you guys, if I want to display dynamic content then a SELECT with MySQL is it faster than Javascript with text file ?
  2. This is my website http://www.rahulkadukar.info/ As you can see I have the blue navigation bar on top and on mouse hover you can see a drop down menu. The contents of the drop down menu can change and I wanted to write a script that would populate the contents of the drop down menus. Which of these is a better option 1. Use JavaScript along with a text file and use JavaScript to populate the drop down 2. Use a SELECT in PHP to populate the drop down menu I am expecting that the 10 main columns would have at the most 20 entries each.
  3. Got it I was passing $data while the variable was stored in $date, I was correct all along but was passing the wrong value. Anyway thanks for all your help
  4. Sorry for making such a silly mistake, but my requirement is like this 1. I have time in a certain format which I am reading from a file 2. I want to convert it using the Function 3. Then want to write the converted output to a separate file The problem is the Function is not returning the converted value.
  5. <?php function time_convert($l_timestamp) { $l_timestamp = $l_timestamp * 86400; $time = date('Y-m-d',$l_timestamp); echo(date('Y-m-d',$l_timestamp)); //This does return (date('Y-m-d',$l_timestamp)); //This does not work return $time; // This does not work echo $time; //This does not work } time_convert(32155.0); ?> Can anyone help me, I am not getting the return parameter as I want
  6. Hi All, I have XAMPP installed on Windows 7 and I changed the following settings in the httpd.conf file # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "C:/Rahul Kadukar/Coding/PHP" I changed this from the default htdocs location but now when I try to open the address http://127.0.0.1 I get the Error shown above. Can anyone help me please Thanks.
  7. I just installed PHP GTK on Windows Vista and got it up and running and it is working perfectly fine. I had one question, to run any application in PHP GTK we need to write something like "php /demos/Test_File.php" in the command prompt, but is it possible to directly compile the Test_File.php into a standalone executable like say a Windows Installer file (.EXE file). Hence basically next time all I would have to do is give someone the compiled Test_File to execute which the user would then simply execute, is this possible as it would in the true sense of the word mean that it is a standalone PHP application.
  8. Ok so basically I will need to use Flash or Java, I wanted to create a web page where if a user Enters the name of any directory on their machine then the contents of that directory should be displayed in the browser. Thanks for the help
  9. Thanks for the reply, so basically there is no way for this to work, I mean it is hence impossible to interact with my PC from PHP through a server. Is there any other way to get this situation to work ?
  10. I got a script that is used to display recursively the contents of a directory .When I tested it on my machine using XAMPP everything was working fine. I have a text box where I input the name of directory which in my case can sometimes be as simple as "C:/". When I uploaded this PHP script on a server and tried to give the same Input I get the Error that Directory does not exist. I think the problem is a that since the script is now on some server hence it is not able to detect the fact that "C:/" is a directory because such a directory does not exist on the server. How can I solve this Problem ? Any help would be appreciated. Thanks in advance.
×
×
  • 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.