Closed Thread Icon

Topic awaiting preservation: Where do I start? Pages that link to <a href="https://ozoneasylum.com/backlink?for=12429" title="Pages that link to Topic awaiting preservation: Where do I start?" rel="nofollow" >Topic awaiting preservation: Where do I start?\

 
Author Thread
Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-18-2002 22:40

Relating to THIS: http://www.ozoneasylum.com/Forum2/HTML/001781.html

I know nothing about Sever-Side Scripting, so where should I start? I went to the FAQ about it but since I don't know what LANGUAGE I want to learn...it was kinda hard to figure out where to start there.

Does anyone have any suggestions on which would be the best one to start w/? I know C (not ++), a bit of HTML, a bit of JavaScript, and a bit of CSS...I don't know if that would help the determination, but I'm pretty good at learning new languages from what I've done so far. C was super-easy.

Anywho, any help would be appreciated. Obviously, I'll have to learn the language I use before writing the code hehe that will do what I want it to do.

Thanks for your help everyone!

Genevieve

Wowzers! o.O

Visit my cell! 754

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 09-18-2002 22:47

I'm quite fond of http://www.php.net/

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-18-2002 22:47

Genevieve: It depends on what server-side scripting you have available (I'd recommend PHP but its your call). The actual code isn't too difficult - all you need to know is the number of results per page and the page you are currently on and you can work out most things from there (I have some PHP I can throw your way that does it).

I presume you will be pulling results from a database or something like that? It might help if you explained things in a little more detail.

___________________
Emps

FAQs: Emperor

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-18-2002 23:19

Thanks for the help

My boss thinks shtml might do it, my cube-mate say's he thinks I need a CGI option. So I'm going to ask my boss which are installed on our server, since I've only created pages but she's actually in charge of the webbie. I'm not sure what you mean Emp...I'm a complete novice at this so.... All I know is I connect to our server and open the WebSite drive/folder whatever it's called, which is on it's own little username/pw thing and then there are all the folders which have the pages of our webbie in them.

Sorry I'm not more helpful. I'll ask my boss which are loaded on our server and get back to you.

Thank you!

Genevieve

Wowzers! o.O

Visit my cell! 754

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-18-2002 23:26

Genevieve: SHTML won't do it (as far as I'm aware) but CGI, PHP, ASP, etc. should all be fine. I'll dig out an example I usual pass on to people who ask about this.

[edit: Its a old and a bit of a mess but it should show the basic principles (I hope) it displays next and previous links and turns them off at the ends and turns the page link off on that page:

<BLOCKQUOTE><FONT face="Verdana, Arial">code:</font><HR><pre>
/* Now we start constructing the page numbers across the bottom */
$previous = "<span class=\"noHover\">« </span>$previous_text";
$next = "$next_text<span class=\"noHover\"> »</span>";
$page_link_divider = '

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-19-2002 20:46

Question since my boss doesn't know what php is and the network guy is always too busy... if our network supports PHP will I just be able to use explorer or mozilla or something w/ a .php file and have it work correctly?

Thanks!

Genevieve

Wowzers! o.O

Visit my cell! 754

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-19-2002 20:51

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 10-09-2002 20:35

If I'm going to be using my computer as the server, do I need to dl the php thing the guy linked to to make it work?

Thanks!

Genevieve

Wowzers! o.O

Visit my cell! 754

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 10-09-2002 20:55

Alright first see php is installed.
copy this to a text file

<?
phpinfo();
?>

and save it on your server just like a normal html file only with the php extension. So test.php
Hit it with a browser and if you get a huge printout with a bunch of info then you're good to go with php if you just see what is typed there then you don't have php and you'll need your sysadmin to install it



.:[ Never resist a perfect moment ]:.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 10-10-2002 03:40

Genevieve, I don't know what OS you're running, but, if you are running Windows you can run PHP from it to test scripts.

Check out Firepages. Click on PHP Bundles and you will see where you download the version 4.

Just install it like any other program and you now have PHP, Apache and MySQL. Just make sure you leave the settings to install at C:\



Later,
C:\


~Binary is best~

« BackwardsOnwards »

Show Forum Drop Down Menu