Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Ok so I would say i'm an intermediate programmer, but I 'm mostly a front end guy...
I've been trying to learn more about php & programming in general.
Basically I've stumbled across three things that I don't understand and I wanted to ask the community for a little explanation...
Maybe this will test your knowledge
1. in the media wiki code there is this section...Code: Select all
$control=<<<CONTROL
[Process]
Type=Diff text
Engine=MediaWiki
Script={$wgServer}{$wgScript}
Special namespace={$special}
[File]
Extension=wiki
URL=$url1
[File 2]
Extension=wiki
URL=$url2
CONTROL;2. on the leaked Facebook code they reference all their includes as follows....
Code: Select all
include_once $_SERVER['PHP_ROOT'].'/html/init.php';
include_once $_SERVER['PHP_ROOT'].'/lib/home.php';
include_once $_SERVER['PHP_ROOT'].'/lib/requests.php';
include_once $_SERVER['PHP_ROOT'].'/lib/feed/newsfeed.php';
include_once $_SERVER['PHP_ROOT'].'/lib/poke.php';3. this ones easy...
I just want a little more explanation of what this notation:
Code: Select all
../.../../THANKS IN ADVANCE...
Having some explanation of these things will help me sleep at night:)
Andrew
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]