User Profile

Collapse

Profile Sidebar

Collapse
odobo
odobo
Last Activity: Mar 24 '08, 12:30 AM
Joined: Feb 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • odobo
    replied to Users who are free using php+mysql
    in PHP
    no problem vashafnas.
    Does that answer your question?
    -odobo...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to pop up messages in php
    in PHP
    yas-
    glad that helped.
    -odobo...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to Users who are free using php+mysql
    in PHP
    vashafnas -
    well it's well past my bedtime.. I will be on tomorrow about 12 hrs from now..
    hope that what i posted helps.
    -odobo
    See more | Go to post

    Leave a comment:


  • odobo
    replied to pop up messages in php
    in PHP
    hey yasmine...
    no problem..
    I wrote the function popUp, it accepts many parameters...
    the only crutial ones that you need to supply are the first 5..
    as follows:
    1. the url to open in a pop up.
    2. the width you want the pop up
    3. the height you want the pop up
    4. the location from the left of the screen in pixels
    5. the location from the top of the screen in pixels.
    now the rest...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to Users who are free using php+mysql
    in PHP
    try something like this
    [PHP]/**
    *returns a value that determines weather the user is still within a trial period
    *@param string $EndDate the date the users trial ends
    *@access public
    *@return true if the end date is less than the time called
    */
    function IsUserStillFree ($EndDate)//2008-02-29 12:30:00
    {
    $cd=getdate();
    $d=explode(" ",$EndDate) ;...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to pop up messages in php
    in PHP
    -yasmine
    php is server-side scripting.. meaning that the code is processed by the server not by the client. You need to use client side code.
    just use javascript.
    like so:
    Code:
    <script type="javascript">
    function popUp
    (URL,Width,Height,Left,Top,Toolbar,Resizeable,ScrollBars,MenuBar,
    StatusBar,Resizeable) {
    Toolbar = Toolbar==null||Toolbar==""?1:Toolbar;
    Resizeable
    ...
    See more | Go to post
    Last edited by ronverdonk; Feb 26 '08, 04:08 PM. Reason: code within tags

    Leave a comment:


  • odobo
    replied to Users who are free using php+mysql
    in PHP
    vashafnas-
    can you show me what the date format looks like for the startdate and enddate fields?
    -odobo...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to instance creation problem.
    in PHP
    anyone?? has anyone seen this?

    I'm a .net developer and am just getting into php so any comments would help.
    do I need to rephrase??

    thanks -
    odobo
    See more | Go to post
    Last edited by ronverdonk; Feb 24 '08, 12:56 PM. Reason: thread cleanup

    Leave a comment:


  • odobo
    replied to Displaying only part of a remote txt file
    in PHP
    ok - maybe that was a little too much for php-- it's actually a lot easier than this.. just do this...

    [PHP]$filename = "ftp://tgftp.nws.noaa. gov/data/observations/metar/stations/KMEM.TXT";
    $lineNumber = 1;
    if (!($filearray = file ($filename))) {
    print "Can't open file $filename";
    }
    else {
    while (list ($line_number, $line_contents) = each ($filearray)) {...
    See more | Go to post

    Leave a comment:


  • odobo
    replied to Displaying only part of a remote txt file
    in PHP
    flydev -

    well i'm really a .net developer and do not have a lot of experiance with php, but if I understand your question correctly, then I understand the logic of what you are trying to accomplish.
    first you need to get the data into your application. in .net i would use a web request object to make my request for the file (using the ftp url you provided)... I searched around for a webrequest object for php and could not...
    See more | Go to post

    Leave a comment:


  • odobo
    started a topic instance creation problem.
    in PHP

    instance creation problem.

    Hi all,

    I am using a static method to instantiate a member of my class (the member happens to be a class too). When I assign to that member, nothing seems to be sticking and all properties inside my member are null. But if I directly create my member without using a static method to create it, I have no problems.. heres an example... [using php 4.4.4 by the way so there are no descriptor keyowrds *static*]
    [php]
    class...
    See more | Go to post
    Last edited by ronverdonk; Feb 24 '08, 12:57 PM. Reason: code within tags
No activity results to display
Show More
Working...