Jump to content

Newbie to PHP needs some help...


Parky

Recommended Posts

Hi guys,

I have little knowledge about server side applications so be please bare with me if I ask stupid questions.

I've just decided to use PHP for my new site I am currently developing. Not going down the .NET asp route, seems to complicated for my old brain to understand.

What I want is a PHP script that builds a html page for you based on a specific template 'HTML file' and a text 'text document' which can be referenced via an id number. The text document will automatically be placed into the HTML (via PRAGMAs) as it is being displayed by the browser.

An example of what I'm trying to do is shown below:

http:// www. blahblah .com/article.php?id=34 

I'd also like to be able to search for particular documents and show results. I would also like to customise the results tables html page.

any help would be greatly appreciated from this technodinosour  ;D

thanks,
Steve




Link to comment
https://forums.phpfreaks.com/topic/32695-newbie-to-php-needs-some-help/
Share on other sites

[quote author=thorpe link=topic=120827.msg496046#msg496046 date=1167831151]
Without a specific problem Im just not sure how much we can help. Id'e say learn the basics ([url=http://hudzilla.org/phpwiki/index.php?title=Main_Page]a good place to start[/url]) then come back when you have a specific issue or something you don't understand.
[/quote]

To be honest I can't take learning another language; 26 odd years of it has finally taking its toll on me.

I'd like to be able to find PHP scripts which enable me to do this rather than looking to recreate the wheel again which will involve me taking up time I frankly have not got much of.

thanks anyhow,
Steve
Because PHP is a programming language, you are going to find that even for pre-existing scripts, you are going to need to be up to speed with a substantial portion of the same language knowledge as the author of that script in order to install it, integrate it into your application, modify it to fit your specific needs (no script is going to match exactly what you want it to do), often times correct logic and syntax errors, and probably most importantly be able to read through the script to make sure it does not have security holes or even Trojan code.

Many of the pre-made scripts you will find in the script repositories are just basic programming examples and don't have a lot of documentation, error checking and reporting, nor code to make them secure against attacks and abuse. Having the ability to read and understand the code is critical.
[quote author=thorpe link=topic=120827.msg496054#msg496054 date=1167831801]
Well sorry, but this isn't really the place. You'd be best searching google or www.hotscripts.com. No one here is going to waste there time with writting it for you.
[/quote]

I wasn't suggesting someone should write one for me, just a bit of help looking for a script to do the job which seems impossible without prior knowledge of the language.

thanks,
Steve
[quote author=PFMaBiSmAd link=topic=120827.msg496070#msg496070 date=1167833382]
Because PHP is a programming language, you are going to find that even for pre-existing scripts, you are going to need to be up to speed with a substantial portion of the same language knowledge as the author of that script in order to install it, integrate it into your application, modify it to fit your specific needs (no script is going to match exactly what you want it to do), often times correct logic and syntax errors, and probably most importantly be able to read through the script to make sure it does not have security holes or even Trojan code.

Many of the pre-made scripts you will find in the script repositories are just basic programming examples and don't have a lot of documentation, error checking and reporting, nor code to make them secure against attacks and abuse. Having the ability to read and understand the code is critical.
[/quote]

good points PFMaBiSmAd...hmmm...I think I better start reading up...here we go again.

thanks,
Steve

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.