1. Web Host Recommendation?

    Date: 02/03/06 (Asp Dot Net)    Keywords: php, mysql, database, asp, sql, web, google, apache

    Hey guys,

    This is not an asp.net technical question, but I thought maybe someone here could help me out.

    I need to switch web hosts. The one I have now has terrible customer service and thinks that it is normal to take the web server down for several hours every day, and not bother to tell their customers that they do so. I found them through Google and I don't want to try that again.

    I've tried looking for recommendations elsewhere, but all the ones I've found have been for Apache web servers. I need an IIS web server that has: ASP.NET/ADO.NET and PHP4/5 supported, MySQL or SQL Server databases, along with the standard mail accounts, web statistics, ftp access, etc. It's just for a couple personal sites, so I don't need a lot of bandwith or space, just need reliable servers with little downtime and good customer service.

    Any recommendations?

    Source: http://community.livejournal.com/aspdotnet/57938.html

  2. Variable gets overwritten somewhere?

    Date: 02/05/06 (PHP Community)    Keywords: php, mysql, database, sql, apache

    FIXED. Thanks to '[info]'hipmaestro -- I downloaded PHP 4.3.11 and upgraded my installation, and it's fixed. :)

    I've been working at this since last night -- and I'm quite clueless about what's happening. I was thinking that it could possibly be that my system has been working too long and there are weird memory leaks (yes, I have no more good ideas) so I thought I'd just go back in the morning... but now it's morning and the error is still there. The error is-- at some point of the script, a certain variable gets overwritten with the text of the next variable.

    This is how the script is set up: there is a config file that's included all over the place -- in all the visible pages and in each function (I'm toying with the idea of using constants instead, but for now this is what I'm using). The config file has the database variables, and along the top I define the connection stuff:

    $db_server = 'localhost';
    $db_user = 'username';
    $db_password = 'password';
    $db_database = 'databasename';

    So I include it in almost everywhere. The script's functions is included in a mod_modulename.php file, such as get_this_stuff(); and add_something(); and so on and so forth. For the script I'm using, some user settings are stored in the database, and I have a mod_settings.php file with the following functions:

    • get_setting( $settingshortname );
    • get_setting_title( $settingshortname );
    • get_setting_desc( $settingshortname );
    • update_setting( $settingshortname, $newvalue );
    • ...

    There are a few other functions but those are the ones needed to, er, get the gist of the way they're set up.

    So now I'm working pretty well, until I come to one page and at the bottom of the page, I get a MySQL error about not being able to connect to the test database. See this (before?) screenshot. I fiddle around, check config, etc etc. Nothing. I look for where the database connect is failing, and it's in get_setting( ... ); so I go there and take a look. I add a few echoes in there, to check my config values and look what happens to the page: whatthehell?

    I've searched the whole script directory and the ONLY place where I assign a value to $db_user is in config.php; nowhere else. I don't have register_globals turned on, and I don't plan to ever turn it on; and I've checked the $_* arrays, and there is no index of that name. I ended up going to config.php and doing a series of echoes, and did this:

    echo '$db_user is now: ' . $db_user . '

    ';
    $db_server = 'localhost';
    $db_user = 'username';
    $db_password = 'password';
    $db_database = 'databasename';
    echo '$db_user is now: ' . $db_user . '

    ';


    And that results to this:

    Notice: Undefined variable: db_user in D:\Site\devt\Enth3\enth3\config.php on line 11
    $db_user is now:

    $db_user is now: password

    *tears hair out!* It's right before the line and it assigns $db_password. I have no idea what's going on. I commented out the $db_server line and the $db_user line got 'username' as its value. I repeated $db_user twice consecutively, still 'password'. I repeated $db_user twice, the next one after $db_password, and it works. Here's another: I switched the $db_password and $db_database variables, which means $db_database now goes before $db_password. The value of $db_user? It's 'database'. NOT 'databasename', but 'database'. WHAT THE HELL IS GOING ON.

    I suppose I could make a fix where $db_user goes after $db_password or something, but just the fact that this is happening means that there's just plain something wrong with what's happening, either with the interpreter or my code or... whatever. I don't see what's wrong, and I've exhausted all possible ideas in my head as to what's wrong... can anyone help me?

    If it might be useful -- the PHP interpreter died on me twice yesterday. I'm not sure why. It just did. Windows XP (SP2) just told me that the PHP interpreter got some errors or something (I forgot what it said) and needs to close. I let it close, I rebooted the computer, and went on. I'm working with Apache 2.0 and PHP 4.3.0 and MySQL 4.0.15 on this machine, which is on Pentium4 2.4 GHz and 480MB memory (512, but the rest is being eaten up by the video card).

    Any ideas? Help? Suggestions?

    Source: http://community.livejournal.com/php/407728.html

  3. Eclipse

    Date: 02/09/06 (PHP Community)    Keywords: php, mysql, browser, sql, apache

    Hi all, I recently landed a new job. The people that work there use Eclipse. I have been playing around with it to try and get a feel for it before I start next week and I am running into a couple of problems. I was hoping one of you would not mind giving me some pointers.

    I have:

    Eclipse Version: 3.1.2
    XAMPP very 2.1

    I installed Eclipse into the XAMPP directory as instructed.

    To my understanding XAMPP will run Apache, MySql, PHP and PERL when the computer starts as I think I set them up as services.

    I wrote a little test program using a set of functions that I have been using for a while now. The test program includes a config file that has the full include list in it. For some reason none of my files are being included. I do a require instead of an include, it does not fail but the functions are still not available. I can see the files are the in Eclipse's browser so I am not sure why they are not being found.

    There are buttons in Eclipse for starting and stopping XAMPP. These seem to have no effect on XAMPP at all.

    Any clues suggestions would be helpful. I have looked on the net all day but have not found anything I can really seem to understand. I have read the help files for Eclipse but they only pertain to Eclipse itself and not the add ons.

    cross posted*

    Thanks

    Source: http://community.livejournal.com/php/411528.html

  4. Environment Variables for PHP Path

    Date: 02/09/06 (PHP Community)    Keywords: php, web, apache

    Hi,

    I've got Apache 2, with PHP 5 running on Windows 2003 Server. I've installed websvn to browse our source code repository.

    However, when it attempts to run svn look, it fails as svn is not on the path for the user apache is running as.

    Is there a way I can configure this path into PHP? Or do I have to mess around with the environment variables for the user apache runs as?

    Source: http://community.livejournal.com/php/411325.html

  5. Eclipse

    Date: 02/09/06 (PHP Development)    Keywords: php, mysql, browser, sql, apache

    Hi all, I recently landed a new job. The people that work there use Eclipse. I have been playing around with it to try and get a feel for it before I start next week and I am running into a couple of problems. I was hoping one of you would not mind giving me some pointers.

    I have:

    Eclipse Version: 3.1.2
    XAMPP very 2.1

    I installed Eclipse into the XAMPP directory as instructed.

    To my understanding XAMPP will run Apache, MySql, PHP and PERL when the computer starts as I think I set them up as services.

    I wrote a little test program using a set of functions that I have been using for a while now. The test program includes a config file that has the full include list in it. For some reason none of my files are being included. I do a require instead of an include, it does not fail but the functions are still not available. I can see the files are the in Eclipse's browser so I am not sure why they are not being found.

    There are buttons in Eclipse for starting and stopping XAMPP. These seem to have no effect on XAMPP at all.

    Any clues suggestions would be helpful. I have looked on the net all day but have not found anything I can really seem to understand. I have read the help files for Eclipse but they only pertain to Eclipse itself and not the add ons.

    cross posted*

    Thanks

    Source: http://community.livejournal.com/php_dev/65019.html

  6. PHP require() problem

    Date: 02/12/06 (WebDesign)    Keywords: php, templates, html, apache

    I've decided to finally start learning PHP. I've been doing rather well, until I decided to chop up my template structure a bit more.

    Originally I had my directory structure like so:

    HTTPDEV
    ..bin
    ....js
    ..Data
    ..Templates
    ....footers
    ....headers
    ....mains
    ....navs
    ....images
    ....styles
    ....miscs

    I have my main page (proj1.php) in the HTTPDEV folder, with all of the other files down the hierarchy.

    I've added a bodies folder beneath Templates, and to put the code to include items from footers, headers, mains, navs, miscs, etc in it.

    This is the code in proj1.php under the bodies directory:

    ?php
    				echo "div id=\"header\">";
    
    				require('../headers/proj1.html');
    
    				echo"/div>";
    				echo"div id=\"container\">";
    				echo"div id=\"center\" class=\"column\">";
    				
    				require('../mains/proj1.html');
    
    				echo"";
    				echo"div id=\"left\" class=\"column\">";
    
    				require('../navs/proj1.html');
    
    				echo"/div>";
    				echo"div id=\"right\" class=\"column\">";
    				
    				require('../miscs/proj1.html');
    
    				echo"/div>";
    				echo"/div>";
    				echo"div id=\"footer\">";
    
    				require('../footers/proj1.html');
    
    				echo"/div>";
    ?
    

    But this gives me this error:

    Warning: main(../headers/proj1.html) [function.main]: failed to open stream: No such file or directory in J:\DevProj\HTTPDEV\Templates\bodies\proj1.php on line 4

    Fatal error: main() [function.require]: Failed opening required '../headers/proj1.html' (include_path='C:\Program Files\Apache Group\Apache2\modules\php\PEAR') in J:\DevProj\HTTPDEV\Templates\bodies\proj1.php on line 4


    My directory structure should be putting things where they belong... All I did was move the requires into another file to aid in modularity. It worked before when the requires were all require('Templates/......

    Source: http://community.livejournal.com/webdesign/1058584.html

  7. Java Toolkit for Apache Config

    Date: 02/13/06 (Apache)    Keywords: xml, java, web, apache

    Hi all,

    I'm a newbie to apache, my experince doesn't extend much further than .htaccess files. But I want to have a Java API for creating/managing such files.

    Does anyone know of any existing java toolkits/apis?

    I understand that apache configs files can be xml docs too. Managing xml docs (rather text docs) is probably more java friendly, but I don't seem to be able to find much info on xml apache config files. Can anyone suggest something?

    I found a good cgi app written in perl... it's called webmin but I'd like to know if there's a java api

    Thanks in advance.

    Corin.

    Source: http://community.livejournal.com/apache/30066.html

  8. PHP vs ASP

    Date: 02/13/06 (Web Development)    Keywords: php, database, asp, web, linux, microsoft, apache

    I am responsible for implementing a new company intranet. I have experience setting up Drupal on my web host for my personal portfolio site, I set up the intranet on my G4 at work, but the Windows/IIS server causes all sorts of problems and the IT dept is unable to solve them, so there goes two weeks of work down the drain for me. I even asked them before I started if it was going to be a problem. Anyhow now they've set up Dotnetnuke and it is up but seems quite buggy, ie every 6th click results in a database error page. Yes I am definitely more of a front end designer and though I work mainly on Mac, by far an elitist (at least as far as OSs are concerned).
    Just for my own knowledge, what would the advantages over using Windows/IIS server/ASP vs Linux/Apache/PHP?
    A friend of mine suggests its just that most IT people learn the Microsoft stuff in school and that's what they stay with.
    Any insight would be appreciated.

    Source: http://community.livejournal.com/webdev/296144.html

  9. Shutdown Apache James Mail Server - Java Utility

    Date: 02/15/06 (Java Web)    Keywords: java, apache

    Overview A Java class to shutdown Apache James Mail Server via TCP/IP. It shuts down Apache James Mail Server by passing shutdown command via simulated telnet session. Background Apache James mail server requires a telnet session (where you pass the shutdown command) for clean shutdown. BTW: Apache James Mail server has a shoddy documentation which doesn't mention a way [...]

    Source: http://blog.taragana.com/index.php/archive/shutdown-apache-james-mail-server-java-utility/

  10. DirectoryIndex in apache

    Date: 02/15/06 (Web Development)    Keywords: php, apache

    I have a question that I can’t seem to find a solution to in the apache documentation.

    I have a directory that I am serving with two different virtual servers, in server 1 I want it to default to using index.php, in server2 I have a different index file that I want it to use. As far as I can tell the “DirectoryIndex” directive only adds another file to the end of the list of possible indexes, how do I clear that list in a virtual host?

    Source: http://community.livejournal.com/webdev/297997.html

  11. PEAR

    Date: 02/21/06 (PHP Development)    Keywords: php, mysql, sql, apache

    I am trying to install PEAR on a Windows XP machine. I have Apache, PHP and MySql running. I followed the installation instructions very carefully. However all my paths were screwed after the installation was complete. I reinstalled PEAR and now everything looks correct. However (there is always a however) the PEAR_Error package seems to be missing. When I make a new DB object I get a message saying Pear_Error cannot be found.

    Using the list function for the CLI I can see the packages that are installed. However when I try to use the CLI to verify the packages it says they cant be found.

    Has anyone else loaded PEAR in the same environment as me? Are there problems with the CLI and Windows?

    Thanks.

    Source: http://community.livejournal.com/php_dev/65904.html

  12. PHP/MySQL Developer job posting

    Date: 02/22/06 (PHP Community)    Keywords: php, mysql, rss, css, html, database, sql, java, web, linux, apache

    I hope job postings are welcome here.

    We are looking to hire a PHP/MySQL Applications Developer at our offices in Charlestown, MA (part of Boston). This is a full-time, on-site position. If you are interested in applying, please send your resume, links to successful projects, and a code sample (100 or more lines showing your coding abilities and standards) to mo at smarterliving dot com.


    PHP/MySQL Applications Developer

    We are looking for a smart, creative, motivated self-starter who wants to join a strong team of developers in a rapidly growing company, building some of the leading consumer websites in the travel industry.

    The PHP/MySQL Applications Developer will be a part of our Applications Development team developing scalable, database-driven web applications for our production websites (www.smartertravel.com and www.bookingbuddy.com) in a LAMP (Linux, Apache, MySQL, PHP) environment.

    We offer competitive salary & benefits and a great work environment in T-accessible office space with parking on the Charlestown/Somerville line.

    Job Qualifications:

    The ideal candidate has 2-5 years experience developing with PHP 4-5 in a professional team environment using Object-Oriented Design principles. A strong understanding of XHTML, CSS, MySQL and JavaScript is also required. Experience with AJAX, JSON, RSS or other emerging technologies is a plus.

    The successful candidate will communicate well, be committed to delivering quality work on an aggressive schedule, and must be able to function independently as well as part of a team. Must document code faithfully and take good coding practices seriously.

    To apply:

    To apply please provide a resume and cover letter including links to successful projects and summarize your participation. A code sample sufficiently long to show coding style and design methodology is also required. In addition, please indicate the best time to contact you, between the hours of 9:00 a.m. and 6:30 p.m., Monday through Friday.

    IMPORTANT: Any submission not including code samples and links to working online applications that the candidate has written will be ignored.

    The location for this position is in Charlestown, MA. It is a full-time, on-site position.


    X-posted.

    Source: http://community.livejournal.com/php/417360.html

  13. PHP/MySQL Developer job position

    Date: 02/22/06 (PHP Development)    Keywords: php, mysql, rss, css, html, database, sql, java, web, linux, apache

    I hope job postings are welcome here.

    We are looking to hire a PHP/MySQL Applications Developer at our offices in Charlestown, MA (part of Boston). This is a full-time, on-site position. If you are interested in applying, please send your resume, links to successful projects, and a code sample (100 or more lines showing your coding abilities and standards) to mo at smarterliving dot com.


    PHP/MySQL Applications Developer

    We are looking for a smart, creative, motivated self-starter who wants to join a strong team of developers in a rapidly growing company, building some of the leading consumer websites in the travel industry.

    The PHP/MySQL Applications Developer will be a part of our Applications Development team developing scalable, database-driven web applications for our production websites (www.smartertravel.com and www.bookingbuddy.com) in a LAMP (Linux, Apache, MySQL, PHP) environment.

    We offer competitive salary & benefits and a great work environment in T-accessible office space with parking on the Charlestown/Somerville line.

    Job Qualifications:

    The ideal candidate has 2-5 years experience developing with PHP 4-5 in a professional team environment using Object-Oriented Design principles. A strong understanding of XHTML, CSS, MySQL and JavaScript is also required. Experience with AJAX, JSON, RSS or other emerging technologies is a plus.

    The successful candidate will communicate well, be committed to delivering quality work on an aggressive schedule, and must be able to function independently as well as part of a team. Must document code faithfully and take good coding practices seriously.

    To apply:

    To apply please provide a resume and cover letter including links to successful projects and summarize your participation. A code sample sufficiently long to show coding style and design methodology is also required. In addition, please indicate the best time to contact you, between the hours of 9:00 a.m. and 6:30 p.m., Monday through Friday.

    IMPORTANT: Any submission not including code samples and links to working online applications that the candidate has written will be ignored.

    The location for this position is in Charlestown, MA. It is a full-time, on-site position.


    X-posted.

    Source: http://community.livejournal.com/php_dev/66526.html

  14. fancy indexing

    Date: 02/22/06 (Apache)    Keywords: apache

    If my httpd.conf has

    AddIconByEncoding (CMP,/apacheicons/compressed.png) x-compress x-gzip

    and also

    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz


    then why aren't tarballs being listed with compressed.png in my fancy indices?

    Source: http://community.livejournal.com/apache/30297.html

  15. Wrangling OpenSSL on XP with Apache 2.055

    Date: 03/06/06 (Apache)    Keywords: php, web, apache

    My config:
    Apache_2.0.55-Openssl_0.9.8a-Win32.zip (hunter's build)
    --using mod_ssl.dll
    --using PHP5.1.2
    WinXP

    Error:
    [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.

    More:
    after (supposedly) getting ssl going, i tried accessing my site with http://website.com:443. that worked fine, but didn't initiate ssl stuff. i'd try https://......, i'd get server not found, or error -12281 from firefox. these wouldn't generate any problems in error.log, and server startup would only generate an sslcache complaint. did some research, i guess -DSSL (or lack thereof) was to blame, so i #'d out & . now the server won't start at all and throws that error. i'm guessing it's something wrong with my virtual host setup (i'm not using any virtual hosts outside of SSL config) but i'm not getting it. any ideas?

    Source: http://community.livejournal.com/apache/30569.html

  16. Unwanted port number in the address bar

    Date: 03/14/06 (Apache)    Keywords: browser, web, apache

    I'm not sure where I should search for the answer on my question, so I decided to ask you guys :-) Thanks in advance for everyone who can help.

    There is a FreeBSD server where an apache is installed. One httpd process is listening to port 80 and works as a proxy for the other httpds which work on a number of virtual hosts. These httpds also listen to some port which shouldn't be shown to the web-sites' visitors.

    In the text of the proxy httpd's httpd.conf we have such a code:


    ServerName megaserver.su
    DocumentRoot /home/megaserversu/www
    ProxyPass / http://www.megahoster.su:32001/
    ProxyPassReverse / http://www.megahoster.ru:32001/
    #CacheRoot "/usr/local/apache/proxy/"


    Then a visitor asks for megaserver.su, the proxy httpd send a request to the corresponding httpd of that site and returns the data as if it have taken if from its own folders. The problem appears when one requests a folder like megaserver.su/superfolder/ - if there is a trailing slash then everything is fine, but if there isn't... it's fine too, except of the address represented by browser that transforms to http://megaserver.su:32001/superfolder/

    Just in case:

    There are such lines in the configs of the proxy and personal httpds:

    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so

    I understand that I should set somehow that the requests for folders without trailing slash should be treated as the one with it, but which module really does it? I've read the docs on these two modules but couldn't determine how to make it do what I want. Maybe it's better just to rewrite the address string on the proxy httpd using mod_rewrite, is it possible? Which way is better?

    Source: http://community.livejournal.com/apache/30972.html

  17. Apache connection woes

    Date: 03/16/06 (Apache)    Keywords: php, mysql, browser, sql, web, apache

    Hello All

    I'm sorry if this is a painfully stupid question, but I've tried looking everywhere on the interweb for an answer, but to no avail.

    I'm running apache 1.3 in XP at the moment, and am using it as a development server, as I'm currently trying to make and test a little pet project of mine using php and mysql. When I try to connect to the server through a browser (by typing "http:/ /localhost"), it loads the index page fine, but if I try any of the links off of that page, IE insists I connect to the internet, despite the fact they are locally hosted, and are in the htdocs folder. I'm certain the server is running, it just won't let ne access them through a browser. I'm pretty sure It's something blatently obvious, so any help would be greatly appreciated.

    Thankyou greatly

    Sam

    Source: http://community.livejournal.com/apache/31079.html

  18. PHP IDE w/ Streamlined Synchronizaiton

    Date: 03/18/06 (PHP Community)    Keywords: php, web, apache

    I've been looking for a good IDE that supports PHP and have been unable to find anything really useful. I'd prefer it if I could have a streamlined updating feature, because manual updating via FTP/[insert uploading method here] is a real drag. The best I've found so far has been a plug-in for Eclipse. However, it's really laggy (every time I go to type a variable name, I get a pop-up of EVERY INSTANCE of EVERY PHP VARIABLE NAME in the entire Eclipse project), and Eclipse's WebDAV support seems very broken, with no intentions on fixing it (a stupid decision, IMHO, considering WebDAV support is touted as a major Eclipse feature).

    Anybody have any recommendations? I'm really accustomed to the way IDEs such as Visual Studio, NetBeans and Eclipse work. I'm on a tight budget ($0) and I'd prefer if the solution was Free. An added plus would be WebDAV, SFTP or SCP support. My Debian server's running Apache2 with the WebDAV plugin turned on and working pretty efficiently. I have proftpd installed and marginally working, although I'd rather not use that due to no encryption. To the best of my knowledge, I don't have an SFTP or SCP daemon running on that machine (unless there's one magically bundled with proftpd).

    Source: http://community.livejournal.com/php/428141.html

  19. ErrorDocuments

    Date: 03/19/06 (Apache)    Keywords: html, apache

    I have a directory called "errordocs" just beneath my DocumentRoot.

    I have a .htaccess file also just beneath my DocumentRoot.

    Here's a sample from my .htaccess:

    ErrorDocument 400 /errordocs/400.html
    ErrorDocument 401 /errordocs/401.html
    ErrorDocument 402 /errordocs/402.html
    ErrorDocument 403 /errordocs/403.html
    ErrorDocument 404 /errordocs/404.html


    When I then visit a non-existent page, I still see the default 404 message instead of my custom message.

    Any idea what's going on? I'm using Apache2 on Debian sarge.

    Source: http://community.livejournal.com/apache/31366.html

  20. Google Plans To Get Eclipsed Like Salesforce

    Date: 03/23/06 (Java Web)    Keywords: software, java, google, apache

    Google is contemplating joining the Eclipse (Java IDE) Foundation in some capacity. Good news for Eclipse and Java all around. Greg Stein, an engineering manager in the open-source group at Google and chairman of the Apache Software Foundation, told eWEEK that Google has considered joining Eclipse and has talked with Eclipse's executive director, Mike Milinkovich, about [...]

    Source: http://blog.taragana.com/index.php/archive/google-plans-to-get-eclipsed-like-salesforce/

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home