Search found 42 matches
- Thu Apr 08, 2021 10:30 pm
- Forum: Coding Questions
- Topic: How do I limit an user?
- Replies: 2
- Views: 1330
Re: How do I limit an user?
Thx, I will take a look at it
- Wed Apr 07, 2021 10:23 pm
- Forum: Coding Questions
- Topic: How do I limit an user?
- Replies: 2
- Views: 1330
How do I limit an user?
I am making a program, where users can upload photos to my server: https://www.photocallevents.com/demo/index.htm And I want to limit the photos an user can upload (5 photos, per example) How can I do it? I dont care if the user delete his cache to upload more photos, it is not a big problem. But I ...
- Tue Mar 23, 2021 8:58 pm
- Forum: Coding Questions
- Topic: Strange string variable...
- Replies: 2
- Views: 1270
Re: Strange string variable...
Thanks!
- Mon Mar 22, 2021 11:10 pm
- Forum: Coding Questions
- Topic: Strange string variable...
- Replies: 2
- Views: 1270
Strange string variable...
Code: Select all
Global myweb.s
! v_myweb = window.location
Debug myweb.s
Debug Len(myweb.s)
debug left(myweb,len(myweb)-4)
I want to cut "myweb" string, but I cant not
- Mon Mar 22, 2021 9:34 am
- Forum: Coding Questions
- Topic: how to bind a .php to a button?
- Replies: 2
- Views: 1126
Re: how to bind a .php to a button?
Thank you, I'll take a look
- Mon Mar 22, 2021 12:08 am
- Forum: Coding Questions
- Topic: how to bind a .php to a button?
- Replies: 2
- Views: 1126
how to bind a .php to a button?
How do I bind a simple .php script to a button?
I dont have to pass parameters to it, or receive any responde, just execute when the button is pressed.
Thank you.
I dont have to pass parameters to it, or receive any responde, just execute when the button is pressed.
Thank you.
- Mon Mar 15, 2021 6:48 pm
- Forum: Coding Questions
- Topic: how to save an image?
- Replies: 1
- Views: 938
Re: how to save an image?
Just this:
so, another part of the program can load/upload this "resized.jpg" image
Code: Select all
loadimage (1,"image.jpg")
resizeimage(1,128,128)
saveimage(1,"resized.jpg")
- Sun Mar 14, 2021 7:40 pm
- Forum: Coding Questions
- Topic: how to save an image?
- Replies: 1
- Views: 938
how to save an image?
Hi! I have a program: the user selects an image from his device and it is uploaded to my server. Currently, my upload routine uploads files fine. But I want to reescale images before uploading them. Anyone knows how to do it? (I was planning loading-reescaling-saving-upload_saved_image but it dows n...
- Sun Mar 14, 2021 5:42 pm
- Forum: Coding Questions
- Topic: How to delete a file on the server?
- Replies: 3
- Views: 1421
Re: How to delete a file on the server?
You are right, I'm going to change to limit it a bit.
- Thu Mar 11, 2021 12:08 am
- Forum: Coding Questions
- Topic: How to delete a file on the server?
- Replies: 3
- Views: 1421
Re: How to delete a file on the server?
Solved! Procedure deleteFileCallback(Success, Filename.s, Result.s) If success=1 Debug "OK:"+filename Else Debug "Sucess:"+Success EndIf EndProcedure Procedure deleteFile(File.s) Define url.s="deletefile.php" Define callback=@deleteFileCallback() Protected filename.s=fi...