User Profile

Collapse

Profile Sidebar

Collapse
ghe
ghe
Last Activity: Jun 13 '08, 12:25 AM
Joined: Nov 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • yes sir...they will be in two different directories...b ecause the currentScript.p hp will be run through pgAgent, which will be located in "/usr/local/???/???/" path, while the file_to_be_incl uded.inc will most likely be located in "/home/???/???" path.
    See more | Go to post

    Leave a comment:


  • Thank you for this, but, sad to say I think it will not work. Because as far as I know, if __file__ is used, it will just tell the path of the current script.

    It will not work if the case is like this:

    A_file_with_an_ unknown_path.in c file is located at "/unknown_root_di r/???/inc", and the file that will include the A_file_with_an_ unknown_path.in c file is located at "/unknown_root_di r/???/script",...
    See more | Go to post

    Leave a comment:


  • It is because the file directory of my program will be based on where the user installed my program in his/her PC. I cannot use such path like - "../../my_file.inc", because it is not an absolute path....
    See more | Go to post

    Leave a comment:


  • How to find the path to a file stored at an unknown location on the filesystem?

    Good Day to all,

    Ahm, does anyone here know how can i make a function that get the filepath of a specific file?

    I want to create a function like this:
    - getFilePath('A_ file_with_an_un known_path.inc' );
    then the function will return the path of the file with an unknown path/directory.

    Is this possible? If not, can anyone tell me how can I be able to include a file with an unknown filepath/directory?...
    See more | Go to post
    Last edited by Atli; Jun 14 '08, 09:41 PM. Reason: Changed the thread title to better explain it's content.

  • ghe
    replied to IMAP functions of PHP
    in PHP
    To All,

    Good Day,

    I'm just sharing this for the benefit of those who will experience or currently experiencing the same problem as mine, about how to handle incoming e-mails. Well, I recommend that you read this article:

    http://www.phpit.net/article/read-email-php-pop3/

    Regards,
    See more | Go to post

    Leave a comment:


  • ghe
    started a topic IMAP functions of PHP
    in PHP

    IMAP functions of PHP

    Good day to all,

    Does anyone here have any experience using the IMAP functions of PHP?
    Using those functions, can I make a script/s that can handle incoming mails in my website? Do you know any available wrapper functions (just to make things more easy) that I could use for this?

    Thank you and Regards,
    See more | Go to post

  • ghe
    started a topic How to set-up Linksys router(wired)

    How to set-up Linksys router(wired)

    Good day,

    I have this DSL connection which has a dynamic IP address, then I have a new Linksys router(wired), and I had set-up my linksys router through it's web-based “Setup” utility, I had use the MAC Address Cloning feature of the router and then restarted the DSL Modem, the Linksys router and my PC, but then I can't still connect to the internet.

    Does any one here know what should I do to fix this? Please help...
    See more | Go to post

  • ghe
    started a topic BYTEA convertion to TEXT

    BYTEA convertion to TEXT

    Good Day to ALL,

    Does anyone here know how to convert BYTEA type into TEXT type?
    Hope to have some help from someone.

    Thank you in advance.
    See more | Go to post

  • ghe
    started a topic How to create TRIGGERS in PGSQL via PHP?
    in PHP

    How to create TRIGGERS in PGSQL via PHP?

    Good afternoon to all,

    I have another inquiry about PHP, I just wanted to ask how can i create TRIGGERS in PostgreSQL (PGSQL)
    via PHP?

    Does PHP offers other functions with the same functionality as of oci_parse() function? because base from what i have read, in order to use oci_parse(), you first need to have installed Oracle in your PC. So is there any other function of PHP that does not require the installation...
    See more | Go to post

  • ghe
    replied to Is there a PHP cursor?
    Ahm, yup, PHP is not a database engine, but it offers some functions that is use to run PostgreSQL codes, such as pg_query, pg_connect, pg_copy_from, etc.

    I think the function, pg_query() is 1 of the solutions that can be use in the creating a Oracle's Cursor-like in PHP. I'm not sure, but, the pg_query() returns a result set base from the pgsql code that is being passed to it. So maybe the returned result set of pg_query() can be...
    See more | Go to post

    Leave a comment:


  • ghe
    started a topic Is there a PHP cursor?

    Is there a PHP cursor?

    Good day to all,

    I just wanted to ask if there is an equivalent of Oracle's Cursor in PHP?
    Does anyone here know how to create a cursor in PHP?

    Thank you in Advance.
    See more | Go to post

  • Yup, may be that's what i mean. hehe, looks like my ignorance with PHP is really showing. hehehe. By the way, I already have solved the inquiry that i have posted. The Oracle code that i had specified in my last post is just a way of declaring an "Associativ e Array" in Oracle, where in PHP, its just the same as declaring a simple array....
    See more | Go to post

    Leave a comment:


  • ghe
    started a topic Equivalent of Oracle's "TYPE" in PHP or PostgreSQL.

    Equivalent of Oracle's "TYPE" in PHP or PostgreSQL.

    Good day to all,

    Does anyone here know how to convert the specified Oracle code below into PHP?
    Oracle Code: [code=oracle]TYPE myTable IS TABLE OF varchar2(1) INDEX BY BINARY_INTEGER;[/code]

    If the Oracle code i had indicated above does not have an equivalent code in PHP, does it atleast have an equivalent with PostgreSQL?

    Hope to have some help from someone.

    Thank you in Advance...
    See more | Go to post
    Last edited by pbmods; Nov 6 '07, 07:36 PM. Reason: Added CODE tags.
No activity results to display
Show More
Working...