close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal email (validation show)

Thread began 10/02/2011 3:17 am by Kumel | Last modified 11/16/2011 12:14 pm by Jason Byrnes | 2912 views | 11 replies |

Kumel

Universal email (validation show)

In my website first a user needs to log in..
In my website user's upload there picts.. There is a file field when he uploads da file it gets saved in his userid folder den files in dat..
Hope u understood..

Now what help i need is, once when a user upload's a file i dont want the user to upload any other file for next 8-10hours... please help me..
--> Once when a user uploads the file dat user's must not be able to upload file for next 10hours... Once after he upload's a file he must get a msg in dat same file field area " CURRENTLY PROCESSING" ( or any custom msg)
PLEASE HELP ASAP

Sign in to reply to this post

Jason ByrnesWebAssist

this will take custom coding to accomplish, you will need to be comfortable with writing PHP code to make this work.

you will need to have an uploadDate column in the users table. When the user uploads the image, store the currant time stamp in an uploadDate column

using the date() and mktime() functions you can calculate a date 8 hours ahead, use that in an if statement to show your custom message.

Sign in to reply to this post

kumel619425561

Hmmm i understand dat. can i get Da sample pls? :-( i Donno to write codes. i Can.t understand pls help :-(

Sign in to reply to this post

Jason ByrnesWebAssist

This is not supported functionality. I will not be able to write the code for you, only point you in the right direction.

here is an example of using the date function to write the current date in Y-m-d H:m:s format which is the date format expected by the mySQL server

php:
<?php echo(date("Y-m-d H:m:s")); ?>



and here is an example of using the date() and mktime() functions to return a date 8 hours ahead:

php:
<?php echo(date("Y-m-d h:m:s"mktime(date("H")+8,date("m"), date("s"), date("m"), date("d"), date("Y"))));?>
Sign in to reply to this post

Kumel

Jason can you please help me on this.. :( i m really not able to do this.. :(

I dont know how exactly to do this.. i got to know how it works.. but how do we apply this?

Sign in to reply to this post

Jason ByrnesWebAssist

This is not supported functionality, if you need help creating this, you should sign up for a premiere ticket appointment where we could work with you in a one on one session to accomplish this.

Sign in to reply to this post

Kumel

ok...

i m was just creating contact page.. then i inserted a FORM.. & i wanted those details to be sent to my email.. i used UE4.. when i open the page i get error like this --
Fatal error: Cannot redeclare WA_StripTags() (previously declared in C:\xampp\htdocs\****\webassist\security_assist\mail_php.php:268) in C:\xampp\htdocs\****\webassist\email\mailformatting_php.php on line 345

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the contact page please.

Sign in to reply to this post

Kumel

there u go..

Attached Files
contactus.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change this line:
<?php require_once("webassist/email/mailformatting_php.php"); ?>

to:
<?php //require_once("webassist/email/mailformatting_php.php"); ?>

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...