• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebView dealing with PHP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebView dealing with PHP


  • Subject: Re: WebView dealing with PHP
  • From: Dave Rosborough <email@hidden>
  • Date: Sat, 3 Jan 2004 19:50:20 -0800

PHP is a server-side technology, so a php file loaded via fileURLWithPath won't be processed by the server. It's got to be processed by the web-server/PHP module.

TTYL
DaveR

When my WebView loads a php file via 'http://localhost/~user/index.php', it renders perfectly, but when I load the same file via a file reference (using NSURL fileURLWithPath:) it doesn't render the PHP at all. Is there something special I need to do in order for php to be correctly rendered in my WebViews when the source is a file? I do have both php and websharing enabled.

Cheers,
Oli
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Warning when using NSSplitView (From: Oli Donald <email@hidden>)
 >Re: Warning when using NSSplitView (From: j o a r <email@hidden>)
 >WebView dealing with PHP (From: Oli Donald <email@hidden>)

  • Prev by Date: Re: WebView dealing with PHP
  • Next by Date: NSImage drawing woes
  • Previous by thread: Re: WebView dealing with PHP
  • Next by thread: Re: Warning when using NSSplitView
  • Index(es):
    • Date
    • Thread