Jump to content

Recommended Posts

So far, nobody has been able to tell me what file I need to edit in order to change the picture into an embeded mp3 player. Nobody has been able to help me at all with this. I don't know why but it's been a long time and still no help.

 

http://durkmusicbeats.com/beats/index.php?cPath=21

 

I've decided to just learn php myself but I can't seem to find any tutorials talking about an actual .php page and how the url is defined and what is made of so I can try and figure this thing out. All the tutorials I find just talk about the script and I already have a basic knowledge of that.

 

I mean what does cPath=21 mean?

 

There's gotta be some php expert on here that knows what he's doing.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/170263-php-url-help/
Share on other sites

I mean what does cPath=21 mean?

osCsid=wtf? how was that generated...

 

cPath=21 means the PHP code can get the value 21 from the URL

via $_GET['cPath']

(same for osCsid)

 

Why would you want to pass this info via the URL.. well bookmarking for one.. but why the 21 and f5760266e2726229d92b8b053f05e2d4

well just say you have a database with lots of products you may have 40  toasters but each have a unique ID, so its logical to pass the unique ID via the URL..

 

So what's with the osCsid.. okay well that's also unique but for your shopping cart

So

try this

to go

http://durkmusicbeats.com/beats/index.php?cPath=21&osCsid=111

Now your see product in category 21 that "Beat Test 001"

add that to your cart

 

NOW

go to http://durkmusicbeats.com/beats/index.php?cPath=20&osCsid=112

and your cart is empty and your on category 20

add any item

 

Now goto

http://durkmusicbeats.com/beats/index.php?cPath=21&osCsid=111

and your old cart is back,

and again go to

http://durkmusicbeats.com/beats/index.php?cPath=21&osCsid=112

etc you get the idea

 

okay with that out of the way, you can trace thought the code looking for the <img code or maybe try searching all file to see which ones use the class

infoBoxContents
from their it may give you some ideas
Link to comment
https://forums.phpfreaks.com/topic/170263-php-url-help/#findComment-898166
Share on other sites

Awesome great help. I am looking through the index.php file and I don't see any <img> tags but I am seeing a lot of the keyword image. And I mean a lot. I tried to look through and see if I could find one for the product but I didn't have any luck. Any ideas of what I should do next?

 

Thanks again.

Link to comment
https://forums.phpfreaks.com/topic/170263-php-url-help/#findComment-898235
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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