Results 1 to 13 of 13

Thread: code cannot be parsed by php

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    26

    code cannot be parsed by php

    i just installed php using easyphp..the problem is my codes cannot be parsed...though i saved it under as php but it still shows as .txt on notepad...m using win98....pls help....both the mysql and apache is running...
    -yuvan

  2. #2
    New Member
    Join Date
    Sep 2007
    Posts
    9

    Re: code cannot be parsed by php

    Are you using extension .php for your file.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    26

    Re: code cannot be parsed by php

    yes dear anand...but the only extension that was checked is php_mbstring...and some of other extensions was disabled....m really worried cos m doing my training here....so it is counted for my appraisal...and i really desperately need to solve this....i installed easyphp as m using win98...initially i tried the manual way...but when i tried to installed the mysql..error popped up saying something to do with MSI then i tried on XAMPP, again myusql could not be connected....why is it so....pls help....really appreciate that...anyway wer r u from?
    -yuvan

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    26

    Re: code cannot be parsed by php

    again about the extension...i tried to save it as project.php on notepad but to no avail......the thing saVED AS PROJECT.PHP.TXT.....why is it so....?

  5. #5
    New Member
    Join Date
    Sep 2007
    Posts
    9

    Re: code cannot be parsed by php

    hi,

    have you checked you folder option setting for your folder where you save your php file.
    Last edited by anandkumarpal; Sep 14th, 2007 at 12:25 AM.

  6. #6
    New Member
    Join Date
    Sep 2007
    Posts
    9

    Re: code cannot be parsed by php

    if you need any more help let me know

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    26

    Re: code cannot be parsed by php

    dear anand....
    i really need ur help at this point of time....
    i have no other resources...
    i have checked the folders...no extension files available....what m i suppose to do..? .ok i wanna change my os into XP ...and i'll be using my personal computer but earlier i have installed the netserver package for php..uninstalled..so will it affect if i m to re-install php manually....
    need advise..pls dear...

  8. #8
    New Member
    Join Date
    Sep 2007
    Posts
    9

    Re: code cannot be parsed by php

    hi,
    To load php install apache server with php5 and phh4 by default it use php5 if u need u can switch to php4.you can load it on any drive. check the link given below for free apache server and u can easily install it on your pc.

    http://httpd.apache.org/

    for any more help feel free to write.

    anand

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    26

    Re: code cannot be parsed by php

    dear anand....
    can u pls help me to guide how to create a search engine with php
    -yuvan

  10. #10
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: code cannot be parsed by php

    Check the php installation guide in my signature and ditch easy php
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  11. #11
    New Member
    Join Date
    Sep 2007
    Posts
    9

    Re: code cannot be parsed by php

    please check this link for simple search engin.

    http://www.onlamp.com/pub/a/php/2002...ne.html?page=3
    sorry for delay in reply

  12. #12
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: code cannot be parsed by php

    Quote Originally Posted by 0164900390
    again about the extension...i tried to save it as project.php on notepad but to no avail......the thing saVED AS PROJECT.PHP.TXT.....why is it so....?
    When using notepad, to save anything as an extension other then text, you need to click on the Save As option and in the file name field, type the following:

    "Myfile.php"

    Notice the double quotes. Notepad needs those to tell it you want to save this file as something other than txt.

  13. #13
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: code cannot be parsed by php

    Or you just save it,
    and as 'File Type' (the box below filename) you select 'All Files'...
    Delete it. They just clutter threads anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width