vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   implode php function not working .... (https://vborg.vbsupport.ru/showthread.php?t=68669)

corsacrazy 08-24-2004 02:20 PM

implode php function not working ....
 
suddenly my imploder isnt imploding

here is code

$postthumbnail2 = implode("", file(http://www.url.com/forums/thumbincluder2.php));


then i output $postthumbnail2 into a template

its worked for years but now just doesnt work :ermm:

corsacrazy 08-25-2004 08:29 AM

really need help people its just not working

Natch 08-25-2004 08:49 AM

What is the contents of the thumbincluder2.php ?

implode works on arrays - shouldn't you e using include() not file ()?

corsacrazy 08-25-2004 09:54 AM

Quote:

Originally Posted by Natch
What is the contents of the thumbincluder2.php ?

implode works on arrays - shouldn't you e using include() not file ()?

the thing is its been working for over a year then just doesnt work now and i havnt changed anything unless host change server configuration to not be able to call file()

Colin F 08-25-2004 09:59 AM

Can you post the content of thumbincluder2.php?
Is the file even around?

corsacrazy 08-25-2004 11:03 AM

Quote:

Originally Posted by Colin F
Can you post the content of thumbincluder2.php?
Is the file even around?

file is there and working fine mate because when igoto the url it works and generates fine that file hasnt been edited in ages ! its just the implode :S cheers

Natch 08-25-2004 12:46 PM

Suggest you restructure the way the file works to have it return the array at teh end of the file - that way you can rely on include(filename) rather than file(filename)... include won't stop working cos of a server config change ...


All times are GMT. The time now is 11:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02218 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete