lonebyrd
Apr 22 2006, 05:37 AM
| | I have downloaded a couple of PHP scripts and have tried to open the with XAMMP in PHP but it isn't working. The page pops up for a quick second, then disappears. I have no clue what is going on. I am opening it with the PHP.exe file in XAMMP, is that what I am supposed to be using? When it comes up for that second, you can see the writing, but like I said, it just disappears. Not sure what I'm doing wrong, probably something simple.
|
Reply
mastercomputers
Apr 22 2006, 02:02 PM
QUOTE(lonebyrd @ Apr 22 2006, 05:37 PM)  I have downloaded a couple of PHP scripts and have tried to open the with XAMMP in PHP but it isn't working. The page pops up for a quick second, then disappears. I have no clue what is going on. I am opening it with the PHP.exe file in XAMMP, is that what I am supposed to be using? When it comes up for that second, you can see the writing, but like I said, it just disappears. Not sure what I'm doing wrong, probably something simple.
What is happening is you're running the PHP interpretter, which is a console program, that will pop up display your PHP results, then exit. This isn't what you are wanting to happen. The interpretter is good for knowing problems with your script before hand, but you must launch it in a console. What you want to do is store your PHP files in your web directory that XAMPP sets up for you, then you would view them by opening your browser and typing http://localhost/this_page.php where this_page.php is the name of the php file you want to open in your web directory. Cheers, MC
Reply
Houdini
Apr 23 2006, 01:48 AM
If you did a standard XAMPP install then put your php scripts in the htdocs folder which should be in c:\Program Files\xampp\htdocs Then open your borwser and like Master Compoters said type in http://localhost/YourPhpFileName.php and it should run.
Reply
lonebyrd
Apr 23 2006, 03:28 AM
I understand now, I was having a dumb brunette moment, sorry. I've got it all figured out anyway. I needed to use it in my CPanel anyway, and it can be seen and edited there, so the problem is fixed. But thanks for clearing that up for me.
Reply
Recent Queries:--
xammp failed to open stream: no such file or directory in - 158.22 hr back. (1)
Similar Topics
Keywords : view, php, files, xammp, ideas
- Please Help!
using old hard drive as an external and recovering files (4)
Hiding Your Personal Files From Pros
More serious approach to privacy (4) Inspired by this thread, I decided to launch this one to see how you folks approach the issue of
securing your private files at work or at places where computer-professionals can access the machine
you use. Following is my response to ethergeek's post in the aforementioned topic:
QUOTE(ethergeek @ May 14 2007, 06:46 PM) 103520 The best way to hide your private files
is to not keep them on machines that aren't yours. I agree with that completely. Such machine
could always be taken away from you without prior notice, with the files you care ....
If You Have Some Private Files
(17) Hello everyone , Here in this post I will show you how to hide your private files and folders If
you have some private files and want to prevent others from seeing them you can follow these steps
to hide these private files First Step Create New Folder any where and rename it hold Alt key
and press 255 Now you will notice the folder has no name Second Step Now right click this folder
and select Properties then Customise then change icon and select invisiable icon for this folder you
will find 4 empty area icons all are fine Third Step Now move all your private ....
Problem With Xammp And Deleting Temp Files
(2) I have a problem with Xammp and don't know if anyone here can help me out. The people at the
Xammp forum arent very helpful, but I got a little info out of them. My Xammp worked at first when
I went to localhost/xammp, but then for some reason, it didn't. Come to find out, it is because
something was deleting it's temp files, least that's what they say at Xammp's forum. I
run a program called Clean-Up! that gets rid of cookies and temp files and such, but there is no
way to configure it to not get rid of Xammps files. But I was wondering some....
New To XAMMP - Having Start-up Problems
(4) When I type in http://localhost/xammp i get this error message: QUOTE Warning:
file_get_contents(lang.tmp) : failed to open stream: No such file or directory in C:\Program
Files\xampp\htdocs\xampp\index.php on line 2 Warning: Cannot modify header
information - headers already sent by (output started at C:\Program
Files\xampp\htdocs\xampp\index.php:2) in C:\Program
Files\xampp\htdocs\xampp\index.php on line 3 I am using Windows XP sp2 and
tried adding ports 80, 443, and 3306. Also so....
Find Out A Files Original File Type
(6) Hi, is there any way to find out a file's original file type/extension? My friend gave me this
song from a Chinese series and I had to play around with the extensions until I got it working (made
it .wmv). He doesn't even know the original format, but I'm guessing he's using wmv to
use it also. I tried naming it to .mp3 and .wma to see if those work...both failed. I like to keep
all my audio files as mp3 files. Was going to look for a program to convert it to mp3, but have a
question. I highly doubt this file was originally a .wmv file since it's jus....
Did I Mess Up My Computer?
.exe files won't open (6) I installed php on computer at one point, then deleted it because, well I'm not exactly sure why
but that's another story. Anyway, now my .exe files won't open. I've been trying to
download Xammp but it won't open. Do I have to edit the registry? And if so how in the world
do I do that? All I know is regedit.....
iTunes' .m4p Music-files With Bad Quality?
iTunes, files. music (6) Hi @ all! Some days ago I registered at www.itunes.at (iTunes Austria) to download music from
Apple's great iTunes music store. At first everything looks really good and fine... the design
of the shop, the iTunes software and everything round it/them is amazin... typically for MAC. But
when I bought my first song form the music service (3 Doors Down - Kryptonite *g*) I realized that
the quality of the file is only about 128 Kilobits (!?) I was really angry because I thougt
that Apple represents "high quality" so that everything from this company really ....
How To Play *.rm Files With Media Player
(12) How to play Real audio and video files (*.rm) with Windows Media player!? /blink.gif'
border='0' style='vertical-align:middle' alt='blink.gif' /> Because of competition between
Microsoft and Real Networks, Windows Media Player does not support Real audio and video files, and
real networks does not release any patch for WMP. But, Real has released a patch for other media
players. Now, I want learn you, how you can use this patch to play Real audio and video files. You
should have Windows Media Player and Real Player: 1- First go to sourceforge.net website and down....
How Do I Get .m4p Files To .mp3
(6) A friend sent be about 14 songs over AIM the other day and they were all in .m4p format. My windows
media player doesn't play .m4p and I don't think there is a version that does. So is there a
way that i can change a .m4p file to an .mp3 file?....
Looking for view, php, files, xammp, ideas
|
|
Searching Video's for view, php, files, xammp, ideas
|
advertisement
|
|