Jump to content

delickate

Members
  • Posts

    193
  • Joined

  • Last visited

    Never

Everything posted by delickate

  1. Hi, You must check your session value. I just check your code in a simple way. <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" > <input type="hidden" name="cmd" value="_cart" /> <input type="hidden" name="upload" value="1" /> <input type="hidden" name="business" value="delickate@hotmail.com" /> <input type="hidden" name="item_name_1" value="testing product name"> <input type="hidden" name="item_number_1" value="432432423"> <input type="hidden" name="amount_1" value="22"> <input type="hidden" name="quantity_1" value="1"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="rm" value="2"> <input type="hidden" name="shipping_1" value="0"> <input type="hidden" name="return" value="http://www.miricreation.ae.com/shopping-cart-details.php"> <input type="hidden" name="cancel_return" value="http://www.miricreation.ae.com/"> <input type="hidden" name="notify_url" value="http://www.miricreation.ae.com/classes/paypal.php"> <input type="submit" value="pay" /> </form> it works fine. and i payed successfully through my test account. after my payment success. it should came back to my specified URL. but it didn't. any one know how it'll auto back to my website after payment completion.???? Please help
  2. Thanks for the reply, Actually there is no problem to restrict the video. problem is with getting event of play.... just tell me how to get event of play button?? if i would have that event i can restrict it.... so pleas guide accordingly... Thanks
  3. Hi, I want to restrict my registered user to see video only once per day... Can anyone guide me how can i do this with php??? Thanks
  4. hi, Thanks for the reply.. i need a code too man........................ Thanks again.
  5. Hi, I've a simple form having two feilds... name.............. image ............ submit I want that when user submit the form. image upload on server and show thanks to name. but page should not be refresh... i tried different code of ajax, jquery etc... but no luck. i found the code for image only.... or form with all fields except file. but i want to combine them. can anyone help me please???
  6. Hi and thanks a lot of all friends and my uncle programmer... I don't think that you guys got my point.... Let me explain it in some easy way. (Just remind the concept of tree structure) my class hierarchy is like this: A / \ / \ B C / \ / D E F If you see this diagram you'll find that every class is related to other class in some way. so what i want is... Create a single object whose instance should be able to access all other classes. e.g if i made and object of class D. so its instance not only get the functions if its own but all of others like B,A, F etc........... Hope you've got my point now. Please advise how will it possible... Thanks
  7. Thanks guys, Actually i made some classes. one is general, one for database functions, one for images functions, one for blog, one for forum. Now i want to join all these classes into one class. suppose if i join all classes into general class and made object of general class, i want that its instance should be able to access all functions of all classes. that is what i want. don't want to create separate objects for each class... hope you understand my point... Please suggest accordingly... Thanks
  8. Thanks guys, ok. can i inherit a class from more than 1 class in PHP? e.g class B { ... } class C { ... } //like this class A extends b,c { } is it possible?
  9. Hi, I've a two classes A,B. A is a parent class and B is a child class. B is extends from A. I made an object of class A. Now i want to access function of class B from this object instance. e.g class A { function myfunctiona() { ....... ....... } } class B extends A { function chlidfunction() { return "hyne"; } } $sani = new A(); //here i want to access echo $sani->b->childfunction(); please guide how can called child class function from parent object instance? Thanks
  10. Hi, I want some php open source for project management. where i can assign project to some guys. note down its starting and ending time. adding client info whoes project is in progress and on completion create invoice (account management). does any one which is open source have all of these things in one. i've seen lots of open sources some have project management. but not have invoicing option. some have invoice system but don't have project management. i want sum off all these thing. anyone know any free open source of php? please guide...
  11. Thanks all guys, I've found the solution. After parsing I've to code for slider my self. this will not show up the slider auto. Thanks for all of you guys for all assistance. Best regards
  12. Hi, Thanks for the reply, if you see my code. i'm parsing json with php. it is parsing fine. problem is that i'm unable to get my required result, as i explained before. You've code, you've reference site and you know my goal what i'm trying to achieve. if you've done this job before please send me the code how can i get this result. That would be highly appreciated. Thanks
  13. yeah, you're right. that is why i m here to know what something else can i do for that??? i've tested it with AJAX to get result but get the same result. the provided link is made in coldfusion using JSON. coldfusion allow to integrate php in it. i'm not show how php allow this to enable slideshow. i've google alot but unable to find solution. that is why i'm using this forum. Thanks
  14. Thanks for the reply, Here is my code: $s_togglUrl = "http://www.roundmenu.com/webservices/index.cfm?ws=listrst&filter=featured"; $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_HTTPHEADER, array('Accept: application/json', 'Content-Type: application/json')); curl_setopt($c, CURLOPT_URL, $s_togglUrl . "/task/list"); curl_setopt($c, CURLOPT_POSTFIELDS, json_encode($a_data)); $s_returnVal = curl_exec($c); curl_close($c); //var_dump($s_returnVal); $obj = json_decode($s_returnVal); print_r($obj->{'DATA'}[0]); It is showing me multi dimensional array. i don't want this. i want to show up image slider. Please help Thanks
  15. Hi, Thanks for reply, Look at this site: http://www.roundmenu.com/ here you'll see the Image slider "our finest selection". They provide following web service link to integrate on my website : http://www.roundmenu.com/webservices/index.cfm?ws=listrst&filter=featured now i want to integrate this with my webpage to show up same image slider that is showing over their website. Can you help me please?
  16. Thanks for the reply, I'm summering the output by doing this change in code: $data = file_get_contents('my json url'); $obj = json_decode($data); print_r($obj->{'DATA'}[0]); OUTPUT is: stdClass Object ( [CUISINE] => Steakhouse [DESCRIPTION] => Imagine the finest premium grade beef, prepared by top chefs over a charcoal grill and served in a cool contemporary setting and you are half way there. A first class wine collection, great service and relaxed atmosphere seals the deal, all of which will combine smoothly to ensure your experience is unforgettable only at the Radisson Blu Hotel, Dubai Deira Creek.##Enjoy special American Prime Rib night, every Wednesday and Thursday from the Carving Trolley. Served with your choice of potato and sauce or create your own 5 course set menu for only Dhs. 199 per person.##Open daily for Dinner from 7:00 pm - 12:30 am, Thursdays #until 1:30 am#Palm Grill Bar is open daily from 6:00 pm - 2:00 am. [LOCATION] => Radisson Blu Hotel, Deira Creek [PRICE] => 125 [PROMOTION] => 40% off on total bill only from 7pm - 8pm.##25% off on total bill from 8pm to 12pm.# [RST_APPROVED] => yes [RST_ID] => 75 [TITLE] => Palm Grill ) Let me know what should i do? Thanks
  17. Hi, Thanks for the reply. i just tried your method and what i'm using is php Curl, both showing same result. it look like some multidimensional array. it should show up a image slider instead of multidimensional array. is there anything do i need to do to make it slider?? Please guide.
  18. Hi, I just found that the coldfusion used JSON for web services. so can any one guide me how can i read json in php, getting from other website as services?? Thanks
  19. Hi, Thanks for the reply. I tried but not working. actually I've some webservice link made in coldfusion. i want to integrate that into my php web page. it is some image slider which will comes from other website. can onyone guide me how can i integrate coldfusion webservice into php page??? Thanks
  20. Hi, How can i parse coldfusion file in php file? Please help
  21. Hi, I found the solution by doing this with header. Thanks for the help.
  22. Try this: ini_set('memory_limit','516M'); ini_set('max_execution_time', 600); It'll increase time and memory of uploading. Let me know if you still face any issue. Thanks
  23. Hi, I'm trying to set cookie but all in vain. I've already posted my php code in my last post. "COOKIE PROBLEM". I think there is nothing wrong with code. may be i need to enable to load some library or something in xampp. Is there anyone who knows what setting do i need to do for enable cookies and in which file? Please help
  24. is there any one who know about it?
  25. Hi, Thanks for reply. I downloaded the script from this website http://www.bitrepository.com/php-autologin.html as i told, i don't want to fill login form for next. when i open the login page, it should auto fill the form. that is what i want to achieve please guide what is the best technique Thanks
×
×
  • 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.