User Profile

Collapse

Profile Sidebar

Collapse
Scott Evans
Scott Evans
Last Activity: May 22 '11, 06:50 AM
Joined: Nov 5 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Scott Evans
    started a topic How Do I Implement Java Swing and JLabel?
    in Java

    How Do I Implement Java Swing and JLabel?

    I have been writing a program that allows the user to select and then post items to a screen. It will also redraw the screen. It sets up fine the first time the classes are called. However, after redrawing the container, I cannot make a call to draw to the container from the object used to set it up. I have tried using JFrames, JPanels; a separate class. Is there a way to do this?

    The object called to create the GUI is below.
    ...
    See more | Go to post
    Last edited by Niheel; May 22 '11, 07:04 AM. Reason: fixed code tag

  • thanks i'll try that
    See more | Go to post

    Leave a comment:


  • I ended up finding a workaround. I cannot use some of the functions in my account or access my .ini file. I was able to use list(width,heig ht) and get_image_size to come up with a solution.
    See more | Go to post

    Leave a comment:


  • How do I Use operators in MYSQL or What did I do Wrong Using them?

    I have been creating a photo database and am now on the backend. I have written a back end that allows the user to grab photos from a certain time frame.

    When I get to the page that displays those photos, the if statements and loops work but the query does not. I have checked the mysql page for using greater and less than signs and AND and did so correctly.


    My error is Warning: mysql_num_rows( ): supplied argument...
    See more | Go to post
    Last edited by Scott Evans; Dec 30 '10, 01:09 AM. Reason: probably not enough information

  • Scott Evans
    started a topic How to use GD library in php to resize an image
    in PHP

    How to use GD library in php to resize an image

    I am creating a website that searches for photos. I found that functions in GD library are capable of resizing images through pre-created functions. I have created a test script to read and resize an image. It theoretically opens and reads an image to a variable then uses the read image to resize the image and display it before closing the file. The code I wrote is:

    **before going on: I used header and specified the type but was told...
    See more | Go to post
    Last edited by Scott Evans; Dec 3 '10, 06:37 AM. Reason: more information needed

  • How to create full text searchability in PHP webadmin?

    I am trying to create a full text search of my database but continue to get an error despite having indexed the TEXT columns (caption and location) under a single index (searches). How do I get the database to use full text searching?

    A. I have added a SINGLE full text index on the two columns which are both of the TEXT type.

    B. I have created a unique key using an image_id field(NOTE: none of the fields contain images;...
    See more | Go to post

  • thanks works.
    See more | Go to post

    Leave a comment:


  • too many connections. Are multiple connections allowed for what you are doing? It could be your hosting service or maybe the way you have permissions set up. make sure you close the connection (mysql_close('d atabase')) when done, make sure you can read, write and execute by checking with your host, and make sure that you are not on an awful shared host. This will help to clean up connections.$re sult = mysql_query("SH OW FULL PROCESSLIST");...
    See more | Go to post

    Leave a comment:


  • How to upload files via a php script on a plesk server?

    The error I have been getting is either (when I switch the $_FILES['uploadfile']['name'] (originally at top where tmp_name is)
    Warning:ftp_put (C:\Inetpub/vhosts/dumountaineer.c om/httpdocs/dbimage/log.gif) [function.ftp-put]: failed to open stream: No such file or directory in C:\Inetpub\vhos ts\dumountainee r.com\httpdocs\ todb.php on line 21

    or Access Denied when I switch back.

    Code:
    <?php
    $tmp=$_FILES['uploadfile']['tmp_name'];
    ...
    See more | Go to post
No activity results to display
Show More
Working...