DurkMusic Posted August 14, 2009 Share Posted August 14, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/170263-php-url-help/ Share on other sites More sharing options...
MadTechie Posted August 14, 2009 Share Posted August 14, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/170263-php-url-help/#findComment-898166 Share on other sites More sharing options...
DurkMusic Posted August 14, 2009 Author Share Posted August 14, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/170263-php-url-help/#findComment-898235 Share on other sites More sharing options...
MadTechie Posted August 14, 2009 Share Posted August 14, 2009 if you use notepad++ you can search for text in files in a folder.. try that or look in the included files in the index.php Quote Link to comment https://forums.phpfreaks.com/topic/170263-php-url-help/#findComment-898535 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.