Reputation: 5 Worker
- Active Members
- Active Posts:
- 61 (0.07 per day)
- 16-February 11
- Profile Views:
- Last Active:
- Mar 13 2013 07:51 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 13 Mar 2013I have discovered that this is possible as I will be using JSP to interact with the database. At least it works in theory in my mind.
Posted 22 Feb 2013Could somebody please move this thread to Mobile Development? I did not see that category previously.
Posted 22 Feb 2013From what I understand, Responsive Web Design is about making your code flexible to the different medium and resolutions available (mainly pertaining to mobile phones). The trick with responsive web design is to replace fixed pixed with percentages. If you want two items side by side, rather than state each to be width: 450px each, make each width: 45% or so.
When dealing with responsive web design for mobile devices, keep in mind that you must have a User Agent detection to detect the different mobile phones that are out in the market.
Next thing to do is to set the viewport resolution and make this fixed so that your code becomes exclusive for mobile design.
If you require more information on this, I can provide more info soon; however, my time is fairly limited, but I will try my best to get back to you.
I haven't examined your code fully, but wanted to provide some info to you first because I noticed you are using fixed pixels.
Posted 6 Nov 2012I see no wait call in the code you've provided, nor do I see a reason to use one.
I'm not really sure what the problem is or why you're using file_put_contents(). You should probably be returning/echoing a value instead of storing it on a file on the server.
The wait call is hypothetical. It represents the code after file_put_contents(). I'm writing the value into a file on the server, so Ajax can access that file and update with a progress percent (read from the file) for the file upload.
Posted 6 Nov 2012I think what OP is trying to say is he has a script like this:
file_put_contents("file.txt", "a bunch of stuff"); wait(15);
And file.txt only shows up after 15 seconds.
Can we see your code, scentauri?
Yes! That's what's happening. Instead of creating the file after file_put_contents, it waits till after the wait(15); to display the files.
Just to be clear, I'm not checking my browser for this either, I'm accessing the FTP directory directly in FileZilla to check if the file is created in the appropriate folder.
- Member Title:
- D.I.C Head
- 28 years old
- October 7, 1984
Reading newspaper, online articles, blogs
Computer programming/Web Developing
Tennis, Ping Pong, Baseball
- Years Programming:
- Programming Languages:
- Click here to e-mail me