Author Topic: Post link to a php file  (Read 2638 times)

Offline edutz

  • Member
  • *
  • Posts: 2
Post link to a php file
« on: 03-04-2023, 19:29:30 »
So i'm trying after each upload to send the link to a php that waits for it.
Manually the php works, it gets the link i add. Ex: https:// ... /ping.php?status=file_uploaded&link=https://..../v/asdsadas
When i test this link in events with test button, it works, however the problem is, since there are no examples whatsoever here, that idk how to send the finished video link in the uploader...
Idk if i'm clear enough ill leave a screenshot here. I'm registred btw.
https://prnt.sc/uPeVrnHt6DEY
https://prnt.sc/4U9l3EstU3nf
So idk how to actually add that %l at the end of the link. I tried different combinations, nothing seems to work.

Thanks in advance.
« Last Edit: 03-04-2023, 19:35:12 by edutz »

Offline z_o_o_m

  • Administrator
  • Hero Member
  • *****
  • Posts: 7 141
  • just ask me ;)
    • File & Image Uploader
Re: Post link to a php file
« Reply #1 on: 03-04-2023, 19:57:14 »
What site do you use?

Offline edutz

  • Member
  • *
  • Posts: 2
Re: Post link to a php file
« Reply #2 on: 03-04-2023, 20:05:03 »
What do you mean what site? I have my own domain that hosts the php if that you are asking for. The site i'm trying to parse the %l link is streamtape but that should be valid for all the video hosters that gives you the link after successful upload. The php works manually adding the link, but if i try using the %l variable idk how to actual use the %l. Is this example correct?
https://mywebsite.com/ping.php?status=file_add&file=%l
Because if this is correct, it's either doesn't actually replaces %l with the actual link OR it doesn't actually do anything this event, even if it's active and doesn't work whatsoever.

Offline z_o_o_m

  • Administrator
  • Hero Member
  • *****
  • Posts: 7 141
  • just ask me ;)
    • File & Image Uploader
Re: Post link to a php file
« Reply #3 on: 03-04-2023, 20:37:03 »
Variables have to be in the "parameters" section (as POST).

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Human verification ... What is the name of my program? File & Image ********?: