Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Posts posted by pulpfiction

  1. Im not a PHP expert, just try displaying the whole file.

    <?phpecho "<br>";$myFile = "http://www.amfiindia.com/portal/upload/downloadnav.txt";$handle = fopen($myFile, 'rb');$theData = fread($handle, filesize($myFile));fclose($fh);echo $theData;echo "hii testing!!!!";fclose($handle);?>

    i try to read a text file and print the contents... but no content is displayed..here is the link to it http://bbala2020.freeweb7.com/test.phpis the error in php script or hosting site or the url?????
    <?phpecho "<br>";$handle = fopen("http://www.amfiindia.com/portal/upload/downloadnav.txt", "rb");$content1 = stream_get_contents($handle);echo $content1;$content2 = fread($handle,100);echo $content2;$content3 = fgets($handle);echo $content3;echo "hii testing!!!!";fclose($handle);?>

  2. The site looks really nice... One thing you can improve on is the dropdown menu, there seems to be a slight gap between the main menu and the dropdown. and the other menus have nice spacing and background but that seems to be missing for the dropdown menu.

  3. asp:ListItem has a "Value" attribute. <asp:ListItem Value="0">Female</asp:ListItem><asp:ListItem Value="1">Male</asp:ListItem>Like all web controls, since the DropDownList just renders as a form element (a SELECT tag), its value can be retrieved from the Request object. For example, to retrieve the value of the control and output it to the screen, we might use code like this Request("gender")

  4. Not really sure, but think its because of period [.]in the table name. did you have similar trouble before with the table name? try INSERT INTO [magicform.csv](UserEmail......Also try to print out the SQL query and see if its in the correct format.

  5. One way to do this is to have a array of 52 different srting/messages and then calculate the week number from the current date and display the message. say if Feb 5, 2007 is the 6th week of the year. so arr[6] = "This is the week of vodka" and feb 12th is 7th week and arr[7] = "This is the week of rum"

  6. 1. HTML, CSS, ASP, ASP.NET [VB.NET], PHP2. ASP.NET, reason: code seperation and IDE [Visual studio]3. HTML + CSS(d)more than 4 weeks[Once you get the idea of how server side scripting works, its not gonna take really long to learn new languages.]2.PHP(d)more than 4 weeks4.JavaScript(d)more than 4 weeks6.ASP(d)more than 4 weeks4.Do you feel that Internet Explorer hinders your designing effectiveness in any way? Explain.With very little cross browser work, yes IE hinders, writing CSS hacks is a pain....5.Do you feel that Firefox hinders your designing effectiveness in any way? Explain.No.6.Do you feel that any other browser hinders your designing effectiveness in any way? Explain.No idea, Dont deal with much of cross browser issues.7.How often do you adhere strictly to W3C standards?Most of the time8.Is there one web language you use more than others? Which one, and why?ASP.NET, reason: we use that at work.9.How long have you been doing web design or development?1.5 years10.Do you have any certifications? If so, which ones?NO

×
×
  • Create New...