Execute a remote function for inserts in DB

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

Not exactly, but your post give me another idea - to create a file and write to it the $remFile contents with added function name and parameters. After that - include it :)
There are 10 types of people in this world, those who understand binary and those who don't
purefan
Forum Newbie
Posts: 15
Joined: Wed Aug 01, 2007 9:35 am

Post by purefan »

hehe found a way around it... when fetching the file, I now pass the variables to the file through GET, and in the server script I just parse those entries into the common variables and it works now :)
not fancy nor classy but well... it works

Thanks a lot mate!! I appreciate your help greatly :D
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

Working software = good software ;)

It is still interesting why create_function() doesn't work as expected. I'll replay your scripts to see what's wrong and if i find it I will post it here. So keep an eye on this thread :)
There are 10 types of people in this world, those who understand binary and those who don't
purefan
Forum Newbie
Posts: 15
Joined: Wed Aug 01, 2007 9:35 am

Post by purefan »

alright man! thanks a lot! yeah im subscribed to this so any reply is delivered to my mail inbox 8) if you need any more code let me know, I think its because of the length of the code to use as a function and a possible limitation on the lambda framework but im not a real savvy so...

Have a good one mate!
Post Reply