commit existing workshops

This commit is contained in:
boris
2024-10-17 00:35:53 +01:00
parent 4070dc5367
commit ed02b435fe
74 changed files with 1083 additions and 91 deletions

8
workshop3/.idea/.gitignore generated vendored
View File

@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/workshop3.iml" filepath="$PROJECT_DIR$/.idea/workshop3.iml" />
</modules>
</component>
</project>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

0
workshop3/emoji.php → workshop3/Emoji/index.php Normal file → Executable file
View File

View File

5
workshop3/strings.php → workshop3/Strings/index.php Normal file → Executable file
View File

@@ -1,4 +1,4 @@
<html>
<html lang="en">
<head>
<title>Train Listings</title>
</head>
@@ -9,7 +9,8 @@
<th>Price</th>
</tr>
<?php
$url = "http://www.classifiedsteam.co.uk/index.php?page=search&sCategory=10";
#error_reporting(0);
$url = "https://www.classifiedsteam.co.uk/index.php?page=search&sCategory=10";
$string = file_get_contents($url);
$dom = new DOMDocument();
$dom->loadHTML($string);