User Profile

Collapse

Profile Sidebar

Collapse
kujtim
kujtim
Last Activity: Oct 28 '07, 12:04 AM
Joined: Sep 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kujtim
    replied to move_uploaded_file() doesn't; returns an error.
    in PHP
    i think you didn't understand me the problem is thet my function is returning false or beter say my upload is failing i don't know why is thet ,do you have any idea ???
    See more | Go to post

    Leave a comment:


  • kujtim
    started a topic move_uploaded_file() doesn't; returns an error.
    in PHP

    move_uploaded_file() doesn't; returns an error.

    my html file is
    [HTML]

    <html>
    <head>
    <title>File Upload Form</title>
    </head>
    <body>
    This form allows you to upload a file to the server.<br>

    <form action="addimgc k.php" method="post">< br>
    Type (or select) Filename: <input type="file" name="uploadFil e">
    <input...
    See more | Go to post
    Last edited by pbmods; Oct 21 '07, 02:10 AM. Reason: Changed [CODE] to [CODE=php].

  • kujtim
    replied to how to resize image
    in PHP
    hey thnx for help . looks like i have problem with my local php server when i am runing the script i am reciving this error

    Fatal error: Call to undefined function: imagecreatefrom jpeg() in D:\Sport's\3901 \3901\html\imgs ize.php on line 28

    but when i have uploaded the scipt in my web server it was working do you have any idea why i am reciving this error ???
    See more | Go to post

    Leave a comment:


  • kujtim
    replied to problem with upload..
    in PHP
    thenks for your advise about url's .

    i have tryed to to use the relativ url but steal not working . i am reciving the same warning as before

    Code:
     Warning: move_uploaded_file(New Text Document.txt) [function.move-uploaded-file]: failed to open stream: Permission denied in /is/htdocs/wp1055726_DP59DMU8M7/www/upload.php on line 37
    
    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable
    ...
    See more | Go to post
    Last edited by Atli; Oct 23 '07, 12:20 AM. Reason: Added [code] tags.

    Leave a comment:


  • kujtim
    started a topic problem with upload..
    in PHP

    problem with upload..

    i got html code
    file name
    [HTML]html
    <html>

    <head>
    <title></title>
    </head>

    <body>
    <form enctype="multip art/form-data" action="upload. php" method="POST">
    Please choose a file: <input name="uploaded" type="file" /><br />
    <input type="submit" value="Upload"...
    See more | Go to post
    Last edited by Atli; Oct 20 '07, 01:30 AM. Reason: Changed [code] tags to [code=php] tags and removed links.

  • kujtim
    replied to how to resize image
    in PHP
    this is not working my image name is foto1.jpg i am replacing it with image path butt i am not reciving anything can you tell my more clearly what should i do
    See more | Go to post

    Leave a comment:


  • kujtim
    started a topic how to resize image
    in PHP

    how to resize image

    i got very hight resolution images . i would like to resize it to 800 with 600 px without using image editor is there anything like this on php something simple

    please help..
    See more | Go to post

  • kujtim
    started a topic how to open new page in curent window's

    how to open new page in curent window's

    i need to open a new page page1.html i am using javascript function

    :[code=javascript]window.open("pa ge1.php");[/code] but this function is opening new window , i want when i click the button to open page1.html in the curent windows not to open new
    do you have any idea how to do thet. help pleas..
    See more | Go to post
    Last edited by pbmods; Oct 6 '07, 02:31 AM. Reason: Added CODE tags and fixed an embarrassing typo.

  • what i mean is i gott this link
    [code=html]
    <a href="<? echo $_SERVER['PHP_SELF']; ?>?R=<? echo $my; ?>" style = "text-decoration:none ;".>
    [/code]
    with value R on itt what i want is when i click this link new page to opear , name of the page thet i want to open depend's on the value of R
    [code=php]
    if (R== 10 )
    {
    then open this page ...
    See more | Go to post
    Last edited by Atli; Oct 5 '07, 02:50 PM. Reason: Fixed the [code] tags.

    Leave a comment:


  • kujtim
    started a topic how to open new page with php using if statment
    in PHP

    how to open new page with php using if statment

    i have problem openinng new pagee in my server by using php what i like is
    if the if statemant is true then open this page

    example:

    [code=php]
    if (x==0)
    {
    open page1.php
    }else
    {
    open page2.php
    }
    [/code]
    please help
    See more | Go to post
    Last edited by Atli; Oct 5 '07, 03:21 AM. Reason: Fixed the [code] tags.

  • kujtim
    started a topic "Line 15 object required" when using ajaxlib.js

    "Line 15 object required" when using ajaxlib.js

    i have problem using ajaxlib.js i have includet as it should in the same directoryy the ajaxlib.js with my codee but i am reciving error "line 15 object required " .

    here is my codeee ......
    testest.html :
    /////////////////////////////////////////////////[code=html]
    <html>
    <head>
    <title>Testin g AJAXLib</title>

    <script type...
    See more | Go to post
    Last edited by pbmods; Sep 30 '07, 02:57 PM. Reason: Added CODE tags.
No activity results to display
Show More
Working...