473,770 Members | 5,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using PHP on Yahoo

Lee
I am re-writing a site in PHP that is currently on Yahoo and I have
been testing with both
Firefox, and IE. I think Yahoo is running some version of unix or
linux, and I assume, the Apache server. My development has been on
local using XP pro.

Here's the problem: I have re-written most of the website
(www.beadiction.com) in PHP. But, the Yahoo server requires that my
first file be named index.html. If I include php code in this HTML
file, then the Apache (?) server doesn't see the php code. If I rename
index.html to
index.php, then the webserver doesn't display anything.

So, the question is: Does anyone know how to 'hook' index.html (which
uses php "includes" to load in the site's content) to Apache so that it
all runs together? As thought that I'd be able to use an Apache
directive in the .htacess file, but it appears that Yahoo does not
allow me to "see" that file. Also, I have tried using and html redirect
(via HEADERs) to kick off the index.php, hoping that that would be
enough for the PHP server to start looking at the code, but it too did
not work.

FWIW, I have been waiting for 2 weeks to get some help from the Yahoo
technical staff, who were provided the same information as above. Is
there something in the description I am perhaps leaving out that would
help state the problem more clearly?

Thanks for your help

Lee

Dec 2 '05
15 1988
On 2 Dec 2005 06:47:30 -0800, "Lee" <we*******@bead iction.com> wrote:
thanks for the idea. I just tried it and Yahoo prevents me from
creating any file that starts with a period. It was worth a try.


Put this in your index.html file:

<html><head>
<META HTTP-EQUIV="refresh" CONTENT="0;
URL=http://www.yourdomain. dom/index.php"></head><body>
Redirecting to <a href =
"http://www.yourdomain. dom/index.php">http ://www.yourdomain. dom/index.php</a>
</body>
</html>

--
Regards, Paul Herber, Sandrila Ltd. http://www.pherber.com/
Visio Utilities http://www.visio-utilities.pherber.com/
Dec 2 '05 #11
NC
Lee wrote:

I am re-writing a site in PHP that is currently on Yahoo
and I have been testing with both Firefox, and IE. I think
Yahoo is running some version of unix or linux, and I
assume, the Apache server.
Yahoo! Web Hosting is running Apache on FreeBSD. PHP is configured as
a CGI/FastCGI executable with safe mode off...
Here's the problem: I have re-written most of the website
(www.beadiction.com) in PHP.


If I go to http://www.beadiction.com/, I see the output of phpinfo(),
which, in particular, says:

PHP_SELF /index.php

Everything seems operational...

Cheers,
NC

Dec 2 '05 #12
Lee
The problem appears to be fixed. Maybe the tech people changed some
stuff internally, because I did not change anything from last week when
I stopped testing in frustration. Anyway, thanks for all your input and
advice. I appreciate the help

Lee

Dec 2 '05 #13
Lee
Sorry for not getting right back to you Jeff. My friends are paying
$40/month for the hosting service. I am pushing them to change, but it
probably won't happen until after the holidays. They can save hundreds
of dollars/year by going somewhere else.

Lee

Dec 2 '05 #14
JDS
On Fri, 02 Dec 2005 10:36:40 -0800, Lee wrote:
$40/month


!!!!! Shooee, you sho' 'nuff could do better.

There are, seriously, hundreds and hundreds, if not thousands, or possibly
even millions of web hosts available. If you want only top-tier, class A
service providers, that is still in the many dozens, certainly. And there
are surely providers who will answer your email within two weeks. Dump
Yahoo now if they won't even answer your questions.

--
JDS | je*****@go.away .com
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

Dec 3 '05 #15
Lee wrote:
Sorry for not getting right back to you Jeff. My friends are paying
$40/month for the hosting service. I am pushing them to change, but it
probably won't happen until after the holidays. They can save hundreds
of dollars/year by going somewhere else.


Yipes!

I pay a total of $59.90 a month for TWO virtual servers, and I'm still
attached to my old hosting company, which usually charges $17.95 a
month for a basic hosting account (400MB storage space, 15GB monthly
transfer, no limits on the amount of e-mail accounts and aliases). I
have a special deal for lower pricing with the latter company, though,
since I'm such a helpful customer.

--
Kim André Akerø
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
Dec 3 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2169
by: Steve Koon | last post by:
I have a WinForm application that browses url inside an IE browers window on the form. I currently query the SQL server over port 1433 and retrive a data hirecachry that creates the menu that users are click on an push the assign URL entery to the IE window. Due to the issue that using port 1433 present I would like to move to using port 80 to retrive this data which I would then poplate my menu with. Does anyonw know where I can get a good...
11
4047
by: Dorsa | last post by:
HI, Could you please tell me the error in here. I am trying to open an XML file from a link. Response.Clear() Response.Expires = 0 Response.BufferOutput = False Response.ContentType = "text/xml" Response.AddHeader("Content-Disposition", "filename=test.XML")
4
3702
by: joe_public34 | last post by:
Hello all, I'm trying to write a script to log into Yahoo! (mail, groups, etc), but when I pass the full URL with all form elements via Python, I get a resutling 400 - Bad Request page. When I just plop the full URL into a browser, it works perfectly. Is there something I need to specify in python to submit the correct info (headers, user agent, etc) to get the response I want? Here is the code I have that returns the Bad Request:
12
2212
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control server. It "serves" back the required control (either WebControl or UserControl) based on the contents of an xml file. The code in the webform places each control in a TableCell. My problem is that the control server works as far as returning the...
4
10902
by: Hexman | last post by:
Code below ---- I've asked a similar question on this forum earlier. This is a slightly different situation. Previous Question ---- I'm trying to save some specific web pages to disk as text files. I searched the Internet and found a basic example which I changed to fit my needs. I tested it out first on a single URL and it worked fine. Now when I incorporate an array of URL's, it fails to work. The first "responseFromServer"...
3
1566
by: KishoreSainath | last post by:
Hi All, I would like to know whether we can use Yahoo UI Library and Prototype in the same application/page. Has anybody experienced problems in using these libraries in the same page? I welcome feedback from folks who have used YUI and prototype together.
9
3187
by: christopher_board | last post by:
Hi all. I am trying to connect to a MySQL Database using PHP on a local machine using locahost. I am using the following code <?php $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = 'password'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
0
1578
by: sandeepk84 | last post by:
Hi all... I am facing a problem in getting attachments from Yahoo Classic using JavaMail. My program reads the attachments from gmail and Yahoo Beta. But attachments of type pdf or txt from classic Yahoo are having the problem. I use isMymeType function to check the type, can anyone say how the type should be checked for files from classic yahoo? ie. for gmail part.isMimeType("text/plain") or part.isMimeType("multipart/*") will work....
83
4236
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about it too? Once I saw a website comparing Prototype to Java and jQuery to Ruby... but now that I read more and more about Prototype, it is said that Prototype actually came from Ruby on Rails development and the creator of Prototype created it...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10225
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9867
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7415
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3573
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.