Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by spavkov

  1. spavkov

    XML Membership Provider available?

    or even a more complete example: http://www.codeplex.com/Wiki/View.aspx?ProjectName=XmlProviderLibrary it has membership, roles, profile, and personalization implemented to save all data to xml. :)
  2. spavkov

    XML Membership Provider available?

    Hello, this should help: http://blog.madskristensen.dk/post/XML-membership-provider-for-ASPNET-20.aspx you have info and download of the source code. Good luck, Slobo
  3. spavkov

    file_get_content works but include() and require dont work

    it was the problem in the server apache and php installation... hosting company rebuilt the apache and php and all started to work... thanks to all guys who tried to help...
  4. spavkov

    file_get_content works but include() and require dont work

    >>config.php:<< <?php set_time_limit(0); ignore_user_abort(true); // // config.php // class cfg_class { var $DEBUG; var $LOCAL; var $appname; var $dirroot; var $approot; var $includedir; var $uploadsdir; var $projectsdir; var $mprojectsdir...
  5. spavkov

    file_get_content works but include() and require dont work

    error reporting is switched on and set to error_reporting(E_ALL); i tried these scripts on another server that has the same version of php and all works fine... im 100% sure its PHP or APACHE configuration problem... just cannot figure out what it is... thanks, Slobo
  6. spavkov

    file_get_content works but include() and require dont work

    i dont do anything with value in $a after the $a=file_get_contents("/home/someuser/public_html/sb/config.php"); i just did this to see if its working... and it does... config.php is just a script with one configuration class that has all the configration data for my application... but this...
  7. spavkov

    file_get_content works but include() and require dont work

    one more thing: i tried: require_once("config.php"); and it works! but when i try: require_once("/home/someuser/public_html/sb/config.php"); it fails! and im 100% sure that "/home/someuser/public_html/sb/" is the right path... its not problem there... im sure its in the way how Apache or...
  8. spavkov

    file_get_content works but include() and require dont work

    Yes, this code is executed first before everything else, even before <html> tag. why?
  9. spavkov

    file_get_content works but include() and require dont work

    Hi Guys, im puzzled: i need to install one php4 application on php 4.4.1 server (running as Apache 1.3.34 module) my doc root is this: ["DOCUMENT_ROOT"]=> "/home/someuser/public_html" and my app is in the document root in subdir /sb/ so it is in "/home/someuser/public_html/sb/" in script...
  10. spavkov

    How to create subdomain for every subdir in docroot (with htaccess) ?

    Thank you MrBrooks for all your help... here is the code that worked 100% for me (based on your code) Options +FollowSymlinks RewriteEngine on RewriteCond %{http_host} . RewriteCond %{http_host} !^www.mysite.com [NC] RewriteCond %{http_host} ^([^.]+)\.mysite.com [NC] RewriteRule ^(.*)...
  11. spavkov

    How to create subdomain for every subdir in docroot (with htaccess) ?

    Hi MrBrooks. i tried your solution and its not working... But it looks that the problem is not in the contents of the .htaccess file. i turned on the wildcards dns feature of the server and whatever subdomain i enter i get this message: This is the Plesk™ default page If you see this page it...
  12. spavkov

    How to create subdomain for every subdir in docroot (with htaccess) ?

    Apache 2.0 php 4.3.10 mod_rewrite is available!!!
  13. spavkov

    How to create subdomain for every subdir in docroot (with htaccess) ?

    Hi M. Brooks! thanks for your answer but this is not what i want... i need this to be done via .htaccess file or by editing the Apache config files, but this has to work for ALL possible solutions of the user entered subdomains, so it must use ModRewrite engine of Apache... so if user enters...
  14. spavkov

    How to create subdomain for every subdir in docroot (with htaccess) ?

    Hi you all! i have a very important problem i want to solve so please help: i would like to create a single .htaccess file for my Apache server (GoDaddy hosting linux server) that will allow me a subdomains for every subdir on my server's root: for example: if my i have a server...
  15. spavkov

    Creating/filling/printing active forms (like Acrobat Reader forms)

    Hi! Anybody has experience with creating a delphi program that would allow users to create (design) active forms on virtual sheet of paper (for example A4) with lines, text, edit fields and then these virtual forms could be filled with actual data and printed on real forms.. (print preview is...

Part and Inventory Search

Back
Top