- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
4 Posted Topics
Also make sure your form has the attribute `enctype="multipart-formdata"` so it posts FILE data to your php file.
You want to do something called forward declaration. So before your class definition of class A, simply type: class C; class A { ... } Essentially it's similar to function prototypes where it says this class exists, and the definition will come later.
You are right, looking at this you want to replace: fsockopen("www.domainname.com, 80); with: fsockopen("http://localhost", 80); //or fsockopen("http://127.0.0.1, 80); As far as it goes for /target_url.php, that is simply where the data will be posted assuming target_url.php is located in your root directory of your server since you sent the data …
Seeing as I couldn't find any errors in your code, I believe all you forgot to do is dereference the pointer to access the function. int Price = (*pGTPrice)();
The End.
jacob.lemelincarrier