scentauri's Profile
Reputation: 5
Worker
- Group:
- Active Members
- Active Posts:
- 61 (0.07 per day)
- Joined:
- 16-February 11
- Profile Views:
- 1,037
- Last Active:
Mar 13 2013 07:51 PM- Currently:
- Offline
Previous Fields
- Country:
- CA
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Mercedes
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Single Page Website with Database Interaction
Posted 13 Mar 2013
I 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. -
In Topic: Remove Phone Icon on Telephone links
Posted 22 Feb 2013
Could somebody please move this thread to Mobile Development? I did not see that category previously. -
In Topic: Responsive Web Design Problem
Posted 22 Feb 2013
From 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. -
In Topic: File is not created and updated immediately
Posted 6 Nov 2012
CTphpnwb, on 06 November 2012 - 08:38 AM, said:I 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.
This is a file upload program I am creating using PHP, Javascript and Ajax. It was working before where a call to file_put_contents created the file instantly, however that isn't the case anymore and I'm just trying to figure why that is the case. -
In Topic: File is not created and updated immediately
Posted 6 Nov 2012
creativecoding, on 26 October 2012 - 02:57 PM, said:I 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.
My Information
- Member Title:
- D.I.C Head
- Age:
- 28 years old
- Birthday:
- October 7, 1984
- Gender:
-
- Location:
- Canada
- Interests:
-
Reading newspaper, online articles, blogs
Computer programming/Web Developing
Tennis, Ping Pong, Baseball - Years Programming:
- 6
- Programming Languages:
- C#, SQL Server, PHP, MySQL, ASP, VB Script, X/HTML, CSS, XML, Javascript, AJAX, Access, Actionscript
Contact Information
- E-mail:
- Click here to e-mail me
- Twitter:
- scentauri
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
scentauri has no profile comments yet. Why not say hello?