Jump to content
xisto Community

t0nedef

Members
  • Content Count

    6
  • Joined

  • Last visited

  1. only if you want to test php on your computer before uploading it to your website, other then that, no its not necessary. and if you already have a php enabled server on your computer, its not necessary then either. i don't know about you, but i think the ability to test my stuff before uploading is great, plus it saves time, i would much rather edit things in a directory on my computer, test them on the spot, then upload code that i know works, then upload code, find out i made an error and end up reuploading possibly multiple times till i've killed all the bugs
  2. ok, ok, let me think on this for a while, i might be able to come up with something, like some way for the page to report its title to the script and the script to grab that and stick it between the title flags?? heres an idea -- *i've left a couple of the essential page elements out and only posting the related portions base page -- <?phpecho '<title> your title - ';echo $title;echo '</title>;?> page you want the title from <?php$title='the topic';?>the rest of your html goes here -- then each page would know its own title, and when you load up the article or page you want, it should load your title into it... oh, this is only a rough draft.... lemme play around with it for a bit
  3. i've been playing around with html-kit for about a day and a half, it serves my purposes, all i wanted it for was syntax highlighting, i never did get the hang of all the wysiwyg editors, they never seem to do it right. the code almost always ends up messy, and doesn't look the same. for simple syntax highlighting support, the html-kit was perfect for me... but then again some people want morealso i find that for testing purposes, sami http server *on windows machines* along with php works great, the only problem that i have with it is updating the server directory when i add files... i have to individually add the file.... i'll be looking for an alternative server soon, but for its small size and memory footprint it has worked in my situation much better then apache could have *i don't need a full fleged web server to test php, just a simple on* on my laptop...
  4. thanks, i'm having lots of fun here already, i'm just loving the php forum, i think i might be here for a long long while... heck, i might even request a site one day
  5. i am currently also trying to figure this problem, right now i can do it by making a separate file for every title, but i would rather have one page do all that, i'm thinking of using a simple changel location script <?phpif(isset($_GET['page'])){$location = $_GET['page'];}if (empty($page)) {$page='home'; }changelocation($page);function changelocation($page) {echo "<title>";switch ($page) { case 'home': echo "your title"; break; }echo "</title>"}?> hope this helps.... if not, let me know, i haven't tried it yet -- update -- just finished checking it, on my test server it works perfect... let me give you an example of the complete code i use, feel free to take and modify it as you will <?php if(isset($_GET['page'])){$location = $_GET['page'];}if (empty($page)) {$page='home'; }changelocation($page);function changelocation($page) {include ('header.html');echo '<title>';switch ($page) { case 'home': echo 'title goes here'; break; }echo '</title>';include ('header2.html'); echo '<table border="0" cellspacing="5" cellpadding="5" width="768">'; echo '<tr>'; echo '<td colspan="2">'; include ('title.html'); echo '</td>'; echo '</tr>'; echo '<tr>'; echo '<td width="150" valign="top">'; include ('menu.html'); echo '</td>'; echo '<td valign="top">'; switch ($page) { case 'home': include ('home.html'); break; } echo '</td>'; echo '</tr>'; echo '<tr>'; echo '<td colspan="2">'; include ("tfoot.html"); echo '</td></tr></table>';include ('footer.html');} ?> ok, just add as many cases as you want and it should work perfect
  6. is your server listening on your lan's local ip address as well as your public ip address, or is it set to a static ip? if your just port forewarding port 80 and port 22 requests from the internet to a private ip address on your lan, then make sure your server is also listening on your lan ip address that it is assigned too, apache can have some real speed issues with requests to an ip it hasn't been told to listen too.... i hope this helps
  7. Well, i use vista personally on my laptop, and it runs great, it ran faster then XP did in classic mode, *i never liked the candy coating on either one of them* but with glass turned on it was noticeably slower then xp. anyway, security wise in a windows world, vista can't be beat, stability, amazing for the fact that it's still a beta, i mean, it has some problems, but they are minor, and a lot of the problems that it had when i first installed it on my machine have long since been taking care of, such as the explorer bug where if you visited a site while your network was down and got a page could not be displayed, you wouldn't be able to browse to it again without rebooting. all these things are to be expected of beta software, its testing only to get rid of all the little gremlins. i've never had my computer crash yet, and ie wasn't such a big deal as i use firefox anyway. anyway, the public beta and key generator are no longer available online, ms took them down, so if you want to get into the vista beta program now, you'll have to join the long list of people who are waiting for an invitation.ok, now on to the hard details....if you really want to run beta, these are my recommended min system requirments --without glass --1.6+ GHz processor1 GB ram60 GB HDD *note, you can run with a 20, but that space fills up really quick*gfx card with at least 64MB onboard ramethernet cardwith glass --3 GHz processor2 GB ramnVidia or ATi graphics card with at least 128 MB onboard ram *i recommend 256* using an agp or pci express bus60 GB HDDethernet cardnow as far as sound goes, just about any sound card will work, so i wouldn't worry about that too muchmost of the advancements are in graphics and security but the sound engine is completely redesigned -- ever get that feed back when your mic is too close to a speaker, no more, what goes in your mic will not play out your speaker, i recommend using your sound recorder to test to make sure your mic is working, once you have done that, the sound engine will eliminate all feed back from the mic *from personal experiance* and the interface for volume control is like this --- one master volume for your speakers, and then individual volume controls for each individual application -- playing a game, but hate the music, mute the game and put in a cd... its great!well i hope you have enjoyed my input, if you have any questions about vista, go ahead and ask me, i'm sure to get back to you soon *within a couple of days anyway*
  8. Well, after browsing these forums for a couple of days checking out what people had to say, i finally decided that this would be a good community....Anyway, here are my interestsI am currently studying for a computer science degree, *i'm doing undergrads in community college, but hope to get into a program at University of Washington*Huge gamer *especially rpg's*love musicextreme expiramentor *don't how many times i've crashed my system because of some new software or operating system i've wanted to try out*i also enjoy answering technical questions, so if you got em, ask em, if i don't know the answer, i'll look em updebates and discussions well, thats a sum up, theres more, but i didn't feel like listing my entire life out to all of you,anyway, i joined up here to make some friends, and maybe help some people out, and most of all to learn because one can never learn enough...Thank you all who deemed to read my little introduction, and may we learn a lot from each other
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.