PHP iPhone version

I'm wondering…
I made a page so my clients can connect to my ftp server.
This page, generated by Muse is html, of course.
After adding some php script to test if my ftp is open and send me a mail if not, I changed the extension of the file to php.
This page loads perfectly in browsers on Mac, PC an iPhone.
Now, I want to make an iPhone version of this page.
So, I did the same procedure:
create the page with Muse
export in html from Muse to desktop
add the php script with TextWrangler
change the extension to php
upload the file on server
This page is not showing on iPhone.
Is there a workaround?
I tried to change the extension in sitemap.xml but no go.

Do you have a Windows Server or Linux Server selected on your hosting site? ... you would need a Linux server for PHP files to run properly ...
Also when you change the extension from HTML to PHP ... you may still have HTML code in there telling the servers that it's an HTML file and not a PHP file? ... make sure you have this at the top of your PHP file:
<?php
?>
that tells the servers to process that file as a PHP file ...
Using NOTEPAD, or whatever is easier ... copy/paste this into it ...
<?php
echo "My first PHP script!";
?>
Then name the file as test.php ... then upload that test.php file to your website and in a browser type your website URL address ... www.mydomainname.com/test.php
You should see ... My first PHP script! on the screen ... if not then it's possible that you do not have PHP capabilites on your server ...
cheers,
GemBro

Similar Messages

  • Do some app publishers allow use of both the ipad and iphone versions, even if different?

    Do some app publishers allow use of both the iPad and iPhone versions, even if one is coded differently for the iPad? Buy one and get both.

    Thanks,
    I was on the CAMRA web site
    http://m.camra.org.uk/support.php?tp=f&si=1&ai=29&qi=19&mob=0
    Their language makes it abiguous. When you go to the apps store there are two versions.

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • IPad App Approved, How to Build/Submit iPhone Version?

    I've got an iPad app approved and working well through iTunes, but now that the feature is available, I want to publish this for iPhone. I've got a few questions about the best process:
    FYI—I've already got my new folios created for iPhone resolutions (as renditions with the same Product ID).
    1. Is it best that I build an iPhone and iPad version of the app and submit it to Apple as a Version update (can I even do this with Apple)? Or should I build just an iPhone version and submit that as a separate app?
    2. Why do I not get the iTunes Subscription option when I try to build the app in Viewer Builder (I chose to make an app for both iPhone and iPad). Multi-Issue is selected and grayed out so I can't change it.
    Thanks!

    I'm trying to do exactly the same this morning.
    When I open Viewer Builder and try to modify the app (v19, multi-issue) you couldn't go back and select ipad and iphone devices with iOS.
    I didn't try, but I think you probably have to create a new app with the same ID and settings, new certificates, etc... and submit to Apple this new one as an update.
    Am I right?

  • How do you "Create an iPod or iPhone version"?

    I bought "Daddy Day Care" from the iTunes store, and after syncing my iPod many, many times, it still won't show up on my iPod. It's a 2nd generation, with 3 gigabytes left. Daddy Day Care is only 1 gigabyte. I think it's the video dimensions, as the touch's dimensions are 640 x 480, and the movie is 853 x 480. I highlighted the movie, and went to the top menu of iTunes, clicked advanced, and tried to click "Create an iPod or iPhone version", but it's grayed out. Does anyone know how to fix this, so that I can watch my movie on my iPod? Thanks!!

    You are doing it correctly. 
    See:
    Why can't I transfer videos to my iPod?
    Frequently asked questions about viewing and syncing video with iTunes and iPod
    Also do you have Restrictions set that would prevent syncing?

  • Create an iPod or iphone version - is there any way to avoid duplicate files OR automating a new name for the new file?

    hi,
    I have two devices for my videos. An ipod classic and an Ipad. I would prefer to keep the highest resolution possible but also will be travelling and it will be useful to have a large archive with me.
    I have found that many of the videos I have are "incompatible" with my ipod classic and am in the process of using the "create an ipod or iphone version" but this results in a duplicate file in my itunes library that is identical in everyway (except size and this can be bigger or smaller).
    When you buy a HD video off itunes, you get both versions but only one file populates in the itunes libary.
    Is there anyway that when itunes "creates the ipod or iphone version", it can do automatically merge these two files so you only see one file in your library? And then it will automatically sync the appropriate file with the appropriate device?
    Or is there a way to have itunes "create the ipod or iphone version" and have it automatically label it with the name "XXX (ipod version"?
    I am finding it very annoying to manually change all the titles on all the files being created.
    thanks, margaret

    When you open a Word document with Pages you get a translated-to-Pages file & the original Word document is unchanged. There are programs that will save over the original file such as LibreOffice. Pages will not.

  • How do I install viber on my iphone version 4.2.1 (8C148)?

    How can I install Viber on my iphone version 4.2.1 (8C148) ?

    According to Viber, this app only works with the 3GS and newer.
    http://www.viber.com/faq

  • I have a 3GS iPhone, version 3.1.2.  I have never plugged my phone into a computer or synced with iTunes.  If I do so now, I will I lose everything?  What steps need to be taken to ensure that all of my data, contacts, photos, etc. are not lost?

    I have a 3GS iPhone, version 3.1.2.  I have never plugged my phone into a computer or synced with iTunes.  If I do so now, I will I lose everything?  What steps need to be taken to ensure that all of my data, contacts, photos, etc. are not lost?

    IOS: how to back up  http://support.apple.com/kb/HT1766

  • When trying to download the new iPhone version, I keep getting an error message that my network connection has timed out.  Any ideas how to fix this?

    When trying to download the new iPhone version, I keep getting an error message that my network connection has timed out.  Any ideas how to fix this?

    This is asked and answered many time each day.  The forum search bar is on the right side of this page.
    Disable your firewall/security software and try again.

  • TS3694 just got a 3004 error while trying to update iphone version, what should I do

    juat got  3004 while trying to update iphone version, what should I do?

    error 3014 is this
    Error 3014
    This error occurs when iTunes is unable to reach gs.apple.com in a timely fashion. Follow the steps below inUnable to contact the iOS software update server gs.apple.com.
    If you have jailbroken you will get no support here.  It is against the terms of use of this forum to discuss jailbreaking

  • How do i create an ipod/iphone version of my videos in the new itunes?

    In the new version of iTunes, there is no "advanced" drop-down menu, where i can click "create ipod/iphone version" to convert the selected video into a format compatibe with my 4th gen. ipod touch. The videos are already in a mp4 format, but won't sync > itunes just says they're not compatible my ipod. I have also noticed that all the videos added to my library after the update, are being copied to "Home Videos" and the usual file location.

    Select the video. Then:
    File menu -> Create New Version -> Create iPod or iPhone Version
    Regards.

  • Create iPod or iPhone Version not working correctly

    When I select an MP4 movie and then choose Advanced -> Create iPod or iPhone Version, the movie is converted and a new version is created, but they don't work correctly. In two cases, the resulting file has audio, but the video is missing (just white). With another file, the video is there but the audio is missing. How can I troubleshoot this and get the videos converted properly so I can play them on my iPod?

    Having the same issue here. With mencoder (http://en.wikipedia.org/wiki/MEncoder) I create an H264 file, after that I create an MP4 file with mp4creator (http://mp4creator.sourceforge.net/). Then I can import the .mp4 file in iTunes just fine, it plays well. But when I select the file, go to menu Advanced, choose 'Create iPod or iPhone Version', the file is converted, audio is fine but video stays white .

  • How can update my old iphone version 4.3.3 (8j2) to ios 5

    how can update my old iphone version 4.3.3 (8j2) to ios 5

    No further iOS updates are available for an iPhone 3G.
    (78113)

  • Blackbarry and Iphone versions supported by MSA

    Hi Folks,
    Any idea about the latest versions of Blackbarry and Iphone versions supported by Oracl MSA.
    Your eralier response would be appreciated.
    Thanks,
    Mayank

    Hi
    Please visit below URL to get more information on MSA. You will get required information.
    http://crmondemand.oracle.com/en/products/mobile/8271_EN
    Below is extract from there :
    Blackberry...
    Oracle Mobile Sales Assistant supports the following BlackBerry devices running BlackBerry OS 4.2,
    4.3, 4.5, 4.6, 4.7, and 5.0:
    ■ BlackBerry models 8700, 8700c, 8700g, 8700r, 8703e, 8705g, 8707g, 8800, 8820, and 8830
    ■ BlackBerry Bold model 9000
    ■ BlackBerry Curve models 8300, 8310, 8320, 8330, 8350, 8520, 8530, and 8900
    ■ BlackBerry Pearl models 8100, 8110, 8120, 8130, and 8220
    ■ BlackBerry Storm and Storm2 models 9500, 9530, and 9550
    ■ BlackBerry Tour model 9630
    Oracle Mobile Sales Assistant accesses data from the following sources:
    ■ Native Personal Information Manager (PIM) data; that is, the contact, calendar, and task data on
    your BlackBerry device
    ■ Oracle CRM On Demand, Release 15 or later
    I Phones...
    Oracle Mobile Sales Assistant supports the Apple iPhone, Apple iPhone 3G, and Apple iPhone 3GS
    running iPhone OS 3.0 or later.
    Regards
    VK

  • How to backup iphone version 4.1.2

    how to backup iphone version 4.1.2 using itunes

    Sync iPhone. Or on Mac control click on iPhone name in left column of iTunes, in drop down menu select Back Up iPhone. On PC right click on iPhone name in left column of iTunes, in drop down menu select Back Up iPhone.

Maybe you are looking for