• 0

NOVICE: What should I use? PHP? ASP? CGI?


Question

I have a website [http://kickme.to/musicvideos] and it is basically just a picture gallery. I would like a way so that I can have a website that will just pick out a picture and a couple of words of text and insert that into a generic page; something like a mailmerge.

I have webspace that supports ASP and so would prefer that if possible . I've seen it b4, and they normally have a link like "whatever.asp?item1".

I would LOVE it if this is possible... I have no knowledge of any website languages other than what I can do in Dreamweaver and Frontpage in HTML.

At the moment I have an HTML page for each one and if I want to update the design I have to change like 30 pages manually [so as you can guess I don't update the design, though I want to].

If anyone could help with this I would be most grateful! And if I have to do it myself will I be able to use Frontpage XP or Dreamweaver 4 [they're all I have].

Link to comment
https://www.neowin.net/forum/topic/9167-novice-what-should-i-use-php-asp-cgi/
Share on other sites

15 answers to this question

Recommended Posts

  • 0

if you don't know which language to use check http://www.php.net/manual/en/faq.languages.php.

i prefer to php. it has the best support, language itself is very easy to understand and it is the best language that uses sql databases for back-end.

  • 0

Great, so PHP is the best... now, can someone point me to a BEGINNERS guide to make a VERY basic page or point me to an example page that I could change and use for myself???

"ASP 3.0 Support, MS Access Databases

Web Based File Mgr, ADO & FileSystemObject"

I'm not sure whether that means it won't support PHP... anyway, I have other webspace that supports PHP and I could point that to my other webspace with all the pictures.

Any further help would be great. Oh, and when I say beginner I mean that I don't even know what PHP does, let alone how to use it.

  • 0

Cost: FREE!

* .NET Framework Beta-2/Release Candidate 1, Mobile Internet Toolkit Beta-2/Release Candidate 1

* 30 MB of Space, No Ads on You

* ASP 3.0 Support, MS Access Databases

* Web Based File Mgr, ADO & FileSystemObject

It supports .NET and ASP and is free. You CAN'T use FTP and MUST use the web uploader to upload your files but for free this is a minor hinderance. Go to Brinkster to join. It has absolutely NO adverts and there is no con... sign up and within minutes you have your free 30mb ASP account. I'm not sure if this is any good cos I know f'all about ASP, but for free I think it's spiffin'.

Anyway, I would REALLY love an ASP [or PHP if you must] script that will do what I need.

  • 0

I've found what sort of ASP script I want... http://www.planethalflife.com/screenshot.asp

You then add "?src=/images/screens/bel_122901_1.jpg" on the end of the address [or whatever the picture is]. If anyone could help me get that so I could use it on my site I would really appreciate it [it's just a casual site (no money or ads) and I really just want to make it as simple for me as possible]. If you could just tell me the script to allow me to add that "?src=/images/screens/bel_122901_1.jpg" bit on to change the picture that would do me fine.

  • 0
  Quote
<%=request.querystring(">

And can someone please explain how I can use this.... I really am a total novice and would like someone to upload an example page and then tell me how to use it.... this would help me an awful lot! I've tried just adding that thing into a file and saving it as an ASP file.... then uploaded it and tested it out but it didn't work.... probably 'cos I've done it TOTALLY wrong.

  • 0

First of all i would ask one question

1 ) is your host has ASP pages enabled (Windows server for true ASP, the others are ASP-clones which seems to be pretty unstable)

My recommendation would be to use PHP as server language. It's free to use and implement. And for a free web host that have PHP enabled and MySQL (database), you can try Multimania (but again, i would recommend have a paid host for better services).

So your code may be 100% accurate and correct, but it won't work because your web host does not allow ASP pages to be parsed on their servers. That's something you should ask them.

  • 0

I've used PHP, Perl, ASP, even C++/CGI (!!)... and I prefer ASP. But that's not really the point, the point is whatever you server allows you to use--which you say is ASP. So, here's a few of good sites to learn some ASP:

http://www.asp101.com

http://www.4guysfromrolla.com

http://www.coveryourasp.com (uses Javascript/ASP primarily, which is actually uncommon as most people use VBScript)

You can get some source code examples (for ASP and other languages) from:

http://www.planetsourcecode.com

You can get ASP scripts / components / etc from:

http://www.aspobjects.com

Here's the basics of ASP, though:

It's a lot like writing a webpage, except you can insert sections of code in the middle of it to be executed on the server. You do this by enclosing the server-side code in <% and %> tags. To output a variable (i.e. the current time and date) to the webpage, you can do either:

<% = Now %>

or

<%

Response.Write Now

%>

ASP is object-oriented, and there are 5 ASP objects always available for you to use (you can instantiate other COM objects, too)...

Response (used for outputing stuff to the client)

Request (used for getting stuff from the client, i.e. that querystring at the end of the URL like default.asp?id=332)

Server (used for instantiated other objects and various other server-related tasks--transferring to another script for instance)

Session (used for storing data about a specific client session on the server--requires cookies enabled on client)

Application (used for storing data on the server no affiliated with a specific session--good for caching frequently used data)

Oh well... I don't know how useful that primer was, but read the webpages I gave you and you'll be on your way...

Gideon

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Using NASA’s IXPE telescope and a fleet of observatories, scientists discovered that the system’s intense X-rays don’t come from its glowing accretion disk as previously believed, but from a chaotic, high-speed wind of particles hurled out by the pulsar itself. The findings challenge old models and reveal a single, powerful mechanism behind the pulsar’s radiation. It’s a dramatic twist in our understanding of how dead stars can still light up the universe. A global team of astronomers has made a significant discovery about how the energetic remains of exploded stars interact with the space around them. Using NASA’s IXPE (Imaging X-ray Polarimetry Explorer) along with several other observatories, researchers gathered new insights into this dynamic cosmic behavior. The scientists, working across the United States, Italy, and Spain, focused their investigation on a puzzling stellar system known as PSR J1023+0038, or simply J1023. This system features a rapidly spinning neutron star that draws material from a smaller companion star. As a result, an accretion disk of matter has formed around the neutron star. The neutron star also functions as a pulsar, emitting intense beams of radiation from its magnetic poles as it spins, creating a pattern that resembles a lighthouse sweeping through space. What makes J1023 especially important is that it switches between two distinct phases. https://scitechdaily.com/nasa-just-discovered-where-these-mysterious-space-x-rays-really-come-from/    
    • Artifacts from the Iron Age have revealed an intense historical magnetic anomaly in the Middle East. Could using a similar approach elsewhere help us unravel the mysteries of Earth's magnetic field? Ben-Yosef, an archaeologist at Tel Aviv University, had been working in southern Jordan with Ron Shaar, who was analyzing archaeological materials around the Levant. Shaar, a geologist at The Hebrew University of Jerusalem, was building a record of the area's magnetic field. The hunk of copper slag — a waste byproduct of forging metals — they found recorded an intense spike in Earth's magnetic field around 3,000 years ago. Shaar worked hard to give them more evidence. After they had analyzed and described samples from around the region for more than a decade, the anomaly was accepted by the research community and named the Levantine Iron Age Anomaly (LIAA). From about 1100 to 550 B.C., the magnetic field emanating from the Middle East fluctuated in intense surges. https://www.livescience.com/archaeology/earths-magnetic-field-is-weakening-magnetic-crystals-from-lost-civilizations-could-hold-the-key-to-understanding-why
    • Designed by former F1 engineers. Pure danger. A company made up of former F1 racing engineers has unveiled an outrageous e-scooter that can reach a top speed of north of 100 miles per hour — and covers a whopping 150 miles on a single charge. The bizarre contraption, dubbed The Turbo, was developed by UK-based e-scooter company Bo, whose existing lineup targets the more premium end of the last-mile — or last 150 miles, in this case — mobility market. The Turbo's specs are borderline hard to believe. The metal-clad and girthy two-wheeler features a 24,000-watt dual-motor engine and an enormous 1,800-watt-hour battery. Aerodynamic air intakes funnel wind to keep everything cool. https://futurism.com/the-byte/100-mph-escooter-hazard    
    • Apple was waiting for Samsung to refine the technology. Now, they will ask Samsung to make their screen. Amazing...
  • Recent Achievements

    • Rookie
      Snake Doc went up a rank
      Rookie
    • First Post
      nobody9 earned a badge
      First Post
    • One Month Later
      Ricky Chan earned a badge
      One Month Later
    • First Post
      leoniDAM earned a badge
      First Post
    • Reacting Well
      Ian_ earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      Michael Scrip
      203
    3. 3
      ATLien_0
      197
    4. 4
      Xenon
      136
    5. 5
      +FloatingFatMan
      116
  • Tell a friend

    Love Neowin? Tell a friend!