Search found 44 matches

by AMpos
Sun Jan 04, 2026 12:51 am
Forum: Coding Questions
Topic: how to know my url / local ?
Replies: 2
Views: 161

Re: how to know my url / local ?

Thanks, it now works.
by AMpos
Sat Jan 03, 2026 10:56 pm
Forum: Coding Questions
Topic: how to know my url / local ?
Replies: 2
Views: 161

how to know my url / local ?

Hi!

I'm sorry if this is somewhere, I am unable to find it.

I am updating my app, I do not touch it since a few years ago.

I was using this yo know the url or local, but know it is always an empty answer:

Code: Select all

Global myweb.s

! v_myweb = window.location.href;

Debug myweb
any hint?
by AMpos
Thu Apr 08, 2021 10:30 pm
Forum: Coding Questions
Topic: How do I limit an user?
Replies: 2
Views: 3544

Re: How do I limit an user?

Thx, I will take a look at it
by AMpos
Wed Apr 07, 2021 10:23 pm
Forum: Coding Questions
Topic: How do I limit an user?
Replies: 2
Views: 3544

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 ...
by AMpos
Tue Mar 23, 2021 8:58 pm
Forum: Coding Questions
Topic: Strange string variable...
Replies: 2
Views: 3215

Re: Strange string variable...

Thanks!
by AMpos
Mon Mar 22, 2021 11:10 pm
Forum: Coding Questions
Topic: Strange string variable...
Replies: 2
Views: 3215

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)
Why len() return a "undefined" error?

I want to cut "myweb" string, but I cant not
by AMpos
Mon Mar 22, 2021 9:34 am
Forum: Coding Questions
Topic: how to bind a .php to a button?
Replies: 2
Views: 3002

Re: how to bind a .php to a button?

Thank you, I'll take a look
by AMpos
Mon Mar 22, 2021 12:08 am
Forum: Coding Questions
Topic: how to bind a .php to a button?
Replies: 2
Views: 3002

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.
by AMpos
Mon Mar 15, 2021 6:48 pm
Forum: Coding Questions
Topic: how to save an image?
Replies: 1
Views: 2420

Re: how to save an image?

Just this:

Code: Select all

loadimage (1,"image.jpg")
resizeimage(1,128,128)
saveimage(1,"resized.jpg")
so, another part of the program can load/upload this "resized.jpg" image
by AMpos
Sun Mar 14, 2021 7:40 pm
Forum: Coding Questions
Topic: how to save an image?
Replies: 1
Views: 2420

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 ...