Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Adding threads with xThreads fields (file0 with PHP
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Adding threads with xThreads fields (file0 with PHP
I suspect it may be breaking because you aren't actually uploading any files - I believe PHP doesn't get fooled if you try to overwrite the $_FILES variable that is, at least with its is_uploaded_file function.

I probably would've just simulated someone actually posting (ie via cURL) if you wanted to do a bulk import, but in the case of XThreads, you could:
a) point it to the URL of the image (rather than the file), or
b) use the special "file://" handler (see the included documentation)

My Blog
11-12-2012 09:32 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Adding threads with xThreads fields (file0 with PHP - ZiNgA BuRgA - 11-12-2012 09:32 AM

 Standard Tools
Forum Jump: