Devam Ediyor

504502 Need PHP help

I am setting up some websites and need a little php help. I am trying to use the directory name as a variable and use it in my php file. example:

[url removed, login to view]

I am needing to extract the "ProductNumber1" chunk of this url and use it as a variable.

I have tried: <?php echo dirname($_SERVER['PHP_SELF']); ?>

and that returns:/special/ProductNumber1 I need just "ProductNumber1"

Can anyone help me?

Beceriler: Her şey Kabul, PHP

Daha fazlasını görün: php help, help me name, echo file php, php echo file, extract name url, need php help, variable url php, variable php, php variable php file, php extract directory, php variable url file, php echo php echo php echo, php echo php echo php echo php echo, php directory websites, variable php file, php variable file

İşveren Hakkında:
( 40 değerlendirme ) Cabot, United States

Proje NO: #2250426