Safari and websites using php

When a website uses php and a given page uses "include" for a UTF-8 php file, most browsers including Safari on Mac and PC interpret the extra BOM information as a white line.
On the iPhone Safari version, it appears as a square box (a character not correctly displayed I suppose).
If there are many "includes", each one gives a little empty square box on display.
This problem doesn't exist of course if the included file is of format UTF-8 no BOM.
So this is a php problem but it is not correctly treated by Safari iPhone software IMO.
(This comment has been send to Apple iPhone feedback)

I'm not sure what happens if you reply to forum notifications; I rarely check that mailbox because it's flooded with so many notifications...
It's great to know that Firefox 20/Portable works. Since that was a clean profile as well, it probably makes sense to test a clean profile in Firefox 21, to rule out an extension or settings-based incompatibility. To do that:
Close Firefox and start up in the Profile Manager as described in [[Managing profiles]]. Any time you want to switch profiles, close Firefox and return to this dialog. I recommend using the default location suggested, and not deleting anything without making backups first.
Does the sorting work in the new profile?
If this is a Firefox 21 change, there is some documentation (e.g., [https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/21 Firefox 21 for developers on MDN]). Because there are hundreds of "bug fixes", unfortunately, not every change that affects functionality will make it onto one of the easily readable lists.
I am a volunteer here, not a Mozilla employee.

Similar Messages

  • I need to know how I will create a dynamic website using php and mysql

    I need to know how will I create a dynamic website using php and mysql that people could have the abilities of registering in the website, and modify their profile where they can add their pictures and everything. apart from that, they should have the ability to search about other member. hope to here more from you.

    If you are a right-brained creative, and have no previous experience or propensity to be able to understand coding and database "stuff", and/or if your time can be better spent on other skills, I recommend you save your sanity and hire a developer... or at least the first time around. I have been attempting to grasp this for years... and have a library of marked up books to prove my efforts, all while trying to keep up with an ongoing client base that is always cramped. It's a wonder I still have my sanity... then again, I might not be the best person to determine that. Others might question it.
    That said, I still plan to master php... one of these days.

  • Is it possible to extract the text and images using PHP

    Hi friends,
    Is it possible to extract the text and images using PHP, in the same order as it is in the PDF?
    Else is it possible extract the same as XML using PHP, or ASP
    I googled it but its in vain, any help is appreciated.
    Thanks in advance.

    Dear Mike,
    Thanks for your quick reply,
    I mean is it possible to parse the PDF line by line using the PHP.
    I extracted the whole text but couldn't the images. Since the PDF's images are decoded using various methods like DCTDecode, JPXDecode, etc.
    The text is decoded with FlateDecode, which i breaked using a function in PHP.
    Thanks,

  • IPad Safari and websites with Adobe applications

    As you all know, most of interactive websites uses the Adobe Applications especially Flash Player for the interactive experiance. Why don't Apple come up with a compatibility tool to be add to iOS or the iOS version of Safari and get the most of these websites? Since i got my iPad and iPhone before that and i forgot my laptop; it would be a complete dependancy experiance if the iPad can function as a laptop or even better. I believe that Apple can send us to the next level of the pad experiance.
    Is there a solution?
    Message was edited by: Athican

    Thank you Tom for your help but unfortunetly iSwifter is limited to a wi-fi connection only and does not support 3G connection.
    Barbara, i agree with you about governments, but my point was, if i'm changing to the mobile experiance and depend on it in all my (on the go) transactions, why don't i have the full experiance? the iOS operating system is a solid base for mobile developers to work on rather then developing an app for every function and i'm not talking about Adobe applications only if you get my point.
    Until then, i'll go back to my big and heavy Mac Book pro to make these transactions...
    Message was edited by: Athican

  • Having Truble Reading and Echoing Using PHP in HTML. Possible Variable Scope Problem?

    Hey guys,
       Thanks for your always knowledgable help! Today I am working with displaying text from a text file in an HTML table using PHP. I can't get the data to display properly, I think it has something to do with the scope of the variables, but I am not sure. Here is the code I am struggeling with:
    <table width="357" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td width="165">Pizza 1</td>
        <td width="186"><? echo  $price['0']; ?></td>
      </tr>
      <tr>
        <td>Burger 1</td>
        <td><? echo $price['1']; ?></td>
      </tr>
      <tr>
        <td>Drink 1</td>
        <td><? echo $price['2']; ?></td>
      </tr>
    </table>
    In the above PHP (not shown) the array $price is filled properly (I tested by echoing each bit line by line) but by the time we get into the HTML it seems the array is empty or it is not liking how I am calling it. Does the scope of a PHP variable end with the closing "?>" tag? Am I missing something? Bellow is the full code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
        background-color: #333;
        color: #FFF;
    </style>
    </head>
    <body>
    <?php
    $menu=fopen("prices.txt","r") or exit("Unable to open file!");
    $price=array();
    $priceposition=null;
    $tempstring;
    //This loop does all of the READING and populating of variables
    while(!feof($menu))
        //Check to see if this is the first pass, if not add one to the array possition
        if ($priceposition==null){
            $priceposition=0;
        else{
        $priceposition++;
        //populate the temparary string
        $tempstring = fgets($menu);
        //Populate the array if the temporary string is not a comment
        if(substr($tempstring,0,2) != "//"){
            $price['$priceposition']= $tempstring;
            echo $price['$priceposition'];
      //End of reading loop
    fclose($menu);
    ?>
    <table width="357" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td width="165">Pizza 1</td>
        <td width="186"><? echo  $price['0']; ?></td>
      </tr>
      <tr>
        <td>Burger 1</td>
        <td><? echo $price['1']; ?></td>
      </tr>
      <tr>
        <td>Drink 1</td>
        <td><? echo $price['2']; ?></td>
      </tr>
    </table>
    </body>
    </html>
    and you can run the code on my test server here: christianstest.info/phptest/readwritetesting/readtest.php
    thanks guys!

    MurraySummers wrote:
    Try changing this -
    fclose($menu);
    to this -
    fclose($menu);
    echo "<pre>";exit(print_r($price));
    and see what you get.
    Wow, what a great little peice of testing code, thanks! That showed me the problem right away! Is there any way to test your php line by line in Dreamweaver CS6? I am used to computer programing in Visual Studio and Eclipse where they have an option of running code line by line and seing how variables populate and change with each line of code execution. Or is thier a program that can do this for PHP?

  • How can I disable the blue highlight on textfields in Safari and Firefox, using CSS?

    Hi, I'm trying to disable the default blue highlight on textfields in Safari and Firefox. I can get it to work in Safari by using the following CSS code:
    input {outline-style: none;}
    This doesn't work for Firefox, though.
    Can anyone help me to get it to work in Firefox?
    Thanks in advance!

    Are you referring the the border color or the actual field color?
    For field colour see the section on the input tag.
    However if it is the border color, this is set by the browser o/s, and cannot be changed with any 'cross-browser' technique, it can be changed in IE and other browsers using custom behaviors (IE), or by using custom skins (others).
    But the skins are only enabled by the user, and changing the chrome of the browser for form fields using JavaScript would probably affect the entire browser anyway.
    PZ

  • Safari and website screen sizes

    Hi,
    Why is it that this website (the apple discussion forum) displays nicely across the full width of my imac but most other websites are narrow, barely reaching halfway across. The safari window goes all the way across but the page content doesn't. for example expedia.co.uk or itsagoal.com don't display in widescreen.
    Is this a website fault or a browser limitation?
    Thanks
    Lee

    What you are seeing is the result of different web-page design philosophies.
    There are two basic ways to layout a web page.
    At one extreme is a dynamic layout which assumes that it cannot be know what resolution the viewer will be using or what size window the browser will be opened to or resized to. This kind of web page will flow and resize itself as you drag your window around adjusting it to different sizes.
    At the other extreme is the page-layout model derived from old-fashioned hard-copy layout practices in which the designer wants complete control of what appears where. These pages will not resize as you adjust the size of your browser window, but will either cause the browser to add horizontal scroll bars if the window is made to small or will leave blank areas to the right if the window is made to large. Some designers limit the width of their pages so that they will fit in a browser window at a medium resolution, meaning that if you have a high resolution or a wide-screen monitor you will see the blank areas to the right.
    Some designers compromise between the two extremes so that some elements will flow as you resize the browser window while others will not.

  • Safari And Website Restrictions

    I want a faster reply so here. I made another account on my MacBook for my sister. I want to ban MySpace on it. When I tried on the admin account (this one) it said that I should configure it in the account for my sister. How can I ban websites?

    I borrowed this from the standard 'Help' search in the Finders menu bar...
    Restricting the websites a user can view
    You can use parental controls to limit the websites a user can view in Safari. Users will be able to view only those websites that are in the bookmarks bar. In addition, they will not be able to enter web addresses in the address field, use the Google search field, or modify any of the bookmarks.
    Log in as the user, and open Safari.
    Choose Safari > Preferences, click Security, and deselect "Enable Parental Controls" if they are selected.
    Enter an administrator's name and password when asked.
    Add bookmarks for the websites you want the user to visit in the bookmarks bar. Remove all other bookmarks from the bookmarks bar.
    When you're done, choose Safari > Preferences, click Security, and select "Enable parental controls."
    When you add a bookmark to the bookmarks bar, the user will be able to visit any webpage on that website. For example, if you add a bookmark for http://www.apple.com/index.html, the user will be able to visit any webpage at apple.com, and not just index.html.
    Parental controls will not prevent a user from viewing websites in other browsers. To prevent a user from using other web browsers, use the Accounts pane in System Preferences to set up the parental controls for Finder & System, and choose the applications the user can open.
    For more information on using Safari, see Safari Help.

  • Safari and website incompatibilities

    Hello!
    Recently I've found several websites to be incompatible with Safari 2.0.2: Expedia.com and Gap.com.
    These work fine with Firefox.
    Does anyone know if Apple is working on making Safare universally compatible? The current incompatibilities is certainly not a selling point for Safari.
    Thanks!

    Safari is designed to render web pages using the accepted W3C standards. It is the least forgiving of browsers in rendering incorrect or bad code.
    The problem is not with Apple not making a compatible browser, it is in web sites that choose not to use the standards or who do a sloppy job of coding. Notifying the webmasters of those sites or customer service of those companies is what should be done, emphasizing they are locking out actual and potential customers. Some people will be willing to fix things but you will also run a cross some who just plain don't care.

  • Safari and website folders

    so why when you have a multiple level(folder) website does safari translate a call to a webpage like "http://www.cosmicgoo.com/GooShows/GooShows.swf" to this "http://www.cosmicgoo.com/GooShows\GooShows.swf"? notice the last slash "\" has been changed to "/". WHY BE SO DIFFERENT. HOW CAN IT BE FIXED?????

    Greetings,
    A backslash is not valid in a URL, so Safari changes it to a slash instead.

  • Multiple websites and applications using one user database

    I've got several applications and websites that will be built around one main application. In a perfect situation users will be able to register once and be able to log into the different applications and websites using that single account. The different
    parts will be:
    Main application (Windows application) that uses the account to get access to it's features and to the server.
    Second application with it's own specific tasks (Also a Windows Application) that uses the account to get access to it's features and to the server.
    Main website which is based on Wordpress. The website has a bbPress forum that would use the account.
    Data server which can be accessed for specific data using the account.
    Most of the data that the users have will be the same for the different applications and websites so to me it seems that having a database for each separate part would complicate things more than having one database for everything.
    My main concern is the Wordpress site and bbPress forum because of the fact that these already have their own account systems.
    What would be a valid approach? Using one of the existing databases from Wordpress or the forums with the risk of having a lot of Wordpress/bbPress specific data with the accounts or making a database especially for the other applications and websites and
    somehow linking those to the website and forum databases? Would the valid approach be secure for use by these different applications and websites?

    Moderators,
    Please look closely, I have already pointed it and you would find that ALL answers which Takken go is from Engsoochean. This is highly not possible its clear favoritism. There are couple of users who are marking ONLY HIS ANSWER and ONLY VOTING HIS POST helpful.
    I am not saying answer is incorrect but question is not relevant to Databse design.
    I have ONLY UNMARKED the answer as I want other moderators to have a look and then they can mark the answer.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • I can not view pdf's in safari but I use to be able to.

    I can not view a pdf in safari and I used to be able to. I can view pdfs in preview but i often click on pdf links and it takes me to a blank page. I have looked into it and I found that adobe acorbat is the recomended viewer for safari. I have tried to find out if i have still got it and I have found a few acrobat plug-ins. Does anybody know how to fix this problem? Thanks

    Back up all data.
    Quit Safari. In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • How to do oracle  backup,restore,recovery using php?

    Is there anyone know how to do oracle backup,restore and recovery using php? any tips... is there any ways to do that?

    Are you referring to performing RMAN backup operations via the OSB web tool? RMAN operations are managed, not via the web tool, but through RMAN command line or Oracle Enterprise Manager (EM)
    Donna

  • Anyone know how to show table format in email using php?

    I created a form using tables in dreamweaver.. and my email works and I used php.
    My issue is I want my submitted form to look like the form I built in dreamweaverwith the tables and spaces etc. Is there a way to do this?

    The PHP mail() function uses plain text. To format the output of the user input as a table, you would need to create an HTML email, wrapping the user input in table tags. Example #4 in the PHP mail() manual page shows how to create HTML email: http://docs.php.net/manual/en/function.mail.php.

  • HT1338 I am new to mac,always had windows knowledge. how do I know what version I have in safari and what to upgrade to?

    I am new to mac and have an older ibook g4...mac os x version 10.4.11 processor 1.42 ghzz powerpc g4....to be exact/How do I know what version of safari I am using and what to upgrade to- if I believe I have {panther}? Im Lost anybody please?

    Take a look at TenFourFox.
    TenFourFox likes lots of memory. Max out your machine.
    tenfourfox -- It's a port of the latest FireFox to run on older hardware and software.
    "World's most advanced web browser. Finely tuned for the Power PC."
    http://www.floodgap.com/software/tenfourfox/
    alternative download site:
    http://www.macupdate.com/app/mac/37761/tenfourfox
    OmniWeb uses the lastest Safari framework.  The open source WebKit. Other browsers like Safari and iCab use the OS version of WebKit.  The OmniWeb downloaded dmg includes it's own copy of the latest WebKit.
    http://www.omnigroup.com/products/omniweb/
    Safari 4.1.3 for Tiger
    http://support.apple.com/kb/DL1069
    iCab - The Taxi for the Internet
    http://www.icab.de/
    Look at what is happenning with your Mac when you run Activity Monitor.
    Macintosh-HD -> Applications -> Utilities -> Activity Monitor
    Click on System Memory to get statistics on memory usage.  You should have some free memory.
    When you have lots of page outs more memory will be helpful.  My entry for entry for Page ins/outs is:
    Page ins/outs: 29163/0
    Notice I have 0 pageouts which says that I am not using my harddrive for extra memory space.  Thus, I have enough memory.
    Activity Monitor has a neat feature where it can display a dynamic dock icon.  In Activity Monitor View > Dock icon > Show cpu history.
    "Reading system memory usage in Activity Monitor :"
    http://docs.info.apple.com/article.html?artnum=107918
    http://developer.apple.com/documentation/Performance/Conceptual/ManagingMemory/A rticles/AboutMemory.html#//apple_ref/doc/uid/20001880
    See   Kappy
    http://discussions.apple.com/message.jspa?messageID=8025223#8025223
    Problems from insufficient RAM and free hard disk space
    http://thexlab.com/faqs/lackofram.html

Maybe you are looking for

  • IPod touch 5th gen... play all songs on all albums by an artist in album order?

    Hi. On my old ipod classic I can play all songs on all albums by an artist in album order.  Is there a way to do this on the ipod touch 5th gen?  I can see how to play all songs by an artist but only in alphabetical order, not one album after another

  • HELP!! Installation of OS X Panther 10.3 stops at Asian Languages Support

    I had trouble trying to move the user directory onto another harddrive so I have had to reinstall from scratch. I have a clean harddrive that has been formatted (extended journalled) twice, and written over with zeros... When the installer get to 'Pr

  • AIColor, swatch palette and AIArtHandles.

    For a given artwork, is there a way to retrieve all AIArtHandles, using a given AIColor (Fill, Stroke and Style) from the swatch palette? I would like to do this without parsing the entire artwork tree, and checking style, fill and stroke of all AIAr

  • How to update a table with huge data

    Hi, I have a scenario where I need to update tables that are having huge data (each table is having more than 10,00000) I am writing this update in PLSQL block. Is there any way to improve the performance of this update statement? Please suggest... T

  • How do I do Photoshop batch (running an action) from Lightroom?

    Images going up on the website get watermarked.  The watermark is 3D, diagonal watermark that run across the entire image and is composed of the image content so it's just slightly visible and doesn't interfere with viewing. It gets implemented via a