|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
Ive been using .php for a little while now and i'm coming to grasps with most of the basics but now ive found that for what ive been doing i use the same basics. Im just wondering if theres anything else i should learn within the .php language to stop myself from doing something in a long winded way that could be done much easier. Heres what i know so far: - - How to use include files effectively. - mySQL database access/manipulation. - Function calls and a little about objects (should I learn more or are functions sufficient) - Form and url data passing/retrieval - Image uploading - String manipulation i.e. explode() etc Im thinking i know enough for the moment and i want to spend time learning a little JavaScript for some fancy effects but if theres anything obvious that i should know please let me know. Oh actually i would like to know how to get the HTTP information that is passed to the browser when a web page is loaded and use it as a .php variable, along with the methods that can be applied to it. Isnt is fconnect() method or something? Thanks, Chris.
__________________
Clearlime - leeds,west yorkshire web design |
|
|||
|
Quote:
I would suggest that anyone learning PHP should, at some point, spend an hour or more reading the manual. That Function Reference is extremely useful and even if you don't fully understand some of it now, it may pop into your head "hey didn't I see that somewhere..." when you actually do need it. Quote:
Chris Collins crcdesign.net |
|
||||
|
Quote:
Code:
<script>
<!--
stats = "referrer=" + escape(window.document.referrer);
stats += "&agent=" + escape(navigator.userAgent);
document.write('
BTW, this script will run on non-php pages as well! Another good use of JavaScript. |
|
|||
|
How about building PHP apps using Object Oriented approach, added with a nice database abstraction layer.
http://php.weblogs.com/ADODB http://www.xoops.org Have fun. Happy learning. |
|
|||
|
Quote:
echo "<img border=\"0\" height=\"1\" width=\"1\" src=\"http://www.yoursite.com/folder/button.php?siteid=$idnumber&referrer=$_SERVER['HTTP_REFERER']&agent=$_SERVER['HTTP_USER_AGENT']\"/>" |
|
|||
|
Hi all,
Thanks for the comments ive look at the predefined $_SERVER array, im pretty sure thats what i was looking for to get the HTTP information that is passed to the browser, so thanks for that. Also ive had a little look around at image manipulation using the GD library. It looks very interesting but i cant find anything in terms of a good tutorial, mostly just people showing off what they have done using GD lib. Any ideas? I also think ChrisRC's point about looking through the manual is a good one, most of the time i dont spend time learning any of the functions untill i need to. But i think quickly skimming through to get a grasp of what can be done without actually learning every function call isnt a bad idea.
__________________
Clearlime - leeds,west yorkshire web design |
|
||||
|
Quote:
They have some good tutorials. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |